HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_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: GA_Parameterization.h ( GA Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GA_Parameterization__
12 #define __GA_Parameterization__
13 
14 #include "GA_API.h"
15 
16 #include <UT/UT_Matrix.h>
17 #include <SYS/SYS_Types.h>
18 
19 
20 template<typename T> class UT_VectorT;
22 
24 {
25 public:
26  static bool equalSpace(const UT_MatrixF &data_points,
27  bool wrapped,
29  int end_dimension=-1);
30  static bool chordLength(const UT_MatrixF &data_points,
31  bool wrapped,
32  UT_Vector &param,
33  int end_dimension=-1);
34  static bool centripetal(const UT_MatrixF &data_points,
35  bool wrapped,
36  UT_Vector &param,
37  int end_dimension=-1);
38  static bool approxArcLength(const UT_MatrixF &data_points,
39  bool wrapped,
40  UT_Vector &param,
41  int end_dimension=-1);
42 
43  static int findClosest(const UT_Vector &parm,
44  fpreal val,
45  int &index,
46  int start_index,
47  int end_index);
48 };
49 
50 #endif
51 
#define GA_API
Definition: GA_API.h:14
UT_VectorT< fpreal64 > UT_Vector
GLenum GLfloat param
Definition: glcorearb.h:104
fpreal64 fpreal
Definition: SYS_Types.h:277
GLuint index
Definition: glcorearb.h:786
GLuint GLfloat * val
Definition: glcorearb.h:1608