HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GEO_Parameterization.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: Parameterization class for fitting (C++)
7  *
8  * COMMENTS:
9  *
10  */
11 
12 #ifndef __GEO_Parameterization_H__
13 #define __GEO_Parameterization_H__
14 
15 #include "GEO_API.h"
16 #include <GA/GA_Parameterization.h>
17 
18 class GA_Detail;
21 
23 {
24 public:
25  // Parameterize a mesh of geo data points [0..m][0..n]
26  // according to the type of parameterization specified for u and v.
27  static bool doMesh(const GA_Detail &detail,
28  const GA_OffsetMatrix &dataMesh,
29  bool uWrapped, bool vWrapped,
32  UT_Vector &uParam, UT_Vector &vParam);
33  static bool doMeshU(const GA_Detail &detail,
34  const GA_OffsetMatrix &dataMesh,
35  bool uWrapped, GA_ParameterizationType uType,
36  UT_Vector &uParam);
37  static bool doMeshV(const GA_Detail &detail,
38  const GA_OffsetMatrix &dataMesh,
39  bool vWrapped, GA_ParameterizationType vType,
40  UT_Vector &vParam);
41 };
42 
43 #endif
GA_ParameterizationType
Definition: GA_Types.h:173
#define GEO_API
Definition: GEO_API.h:10
Container class for all geometry.
Definition: GA_Detail.h:96
UT_VectorT< fpreal64 > UT_Vector