HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 &data_mesh,
29  bool u_wrapped, bool v_wrapped,
32  UT_Vector &u_param, UT_Vector &v_param);
33  static bool doMeshU(const GA_Detail &detail,
34  const GA_OffsetMatrix &data_mesh,
35  bool u_wrapped, GA_ParameterizationType u_type,
36  UT_Vector &u_param);
37  static bool doMeshV(const GA_Detail &detail,
38  const GA_OffsetMatrix &data_mesh,
39  bool v_wrapped, GA_ParameterizationType v_type,
40  UT_Vector &v_param);
41 };
42 
43 #endif
GA_ParameterizationType
Definition: GA_Types.h:197
#define GEO_API
Definition: GEO_API.h:14
Container class for all geometry.
Definition: GA_Detail.h:96
UT_VectorT< fpreal64 > UT_Vector