HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
;
21
typedef
UT_VectorT<fpreal64>
UT_Vector
;
22
23
class
GA_API
GA_Parameterization
24
{
25
public
:
26
static
bool
equalSpace(
const
UT_MatrixF
&data_points,
27
bool
wrapped,
28
UT_Vector
&
param
,
29
int
end_dimension=-1);
30
static
bool
chordLength(
const
UT_MatrixF
&data_points,
31
bool
wrapped,
32
UT_Vector
¶m,
33
int
end_dimension=-1);
34
static
bool
centripetal(
const
UT_MatrixF
&data_points,
35
bool
wrapped,
36
UT_Vector
¶m,
37
int
end_dimension=-1);
38
static
bool
approxArcLength(
const
UT_MatrixF
&data_points,
39
bool
wrapped,
40
UT_Vector
¶m,
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
UT_Matrix.h
GA_API
#define GA_API
Definition:
GA_API.h:14
SYS_Types.h
UT_VectorT
Definition:
GA_NUBBasis.h:29
GA_API.h
UT_MatrixT< fpreal32 >
UT_Vector
UT_VectorT< fpreal64 > UT_Vector
Definition:
GA_Parameterization.h:20
GA_Parameterization
Definition:
GA_Parameterization.h:23
param
GLenum GLfloat param
Definition:
glcorearb.h:104
fpreal
fpreal64 fpreal
Definition:
SYS_Types.h:277
index
GLuint index
Definition:
glcorearb.h:786
val
GLuint GLfloat * val
Definition:
glcorearb.h:1608
GA
GA_Parameterization.h
Generated on Thu Nov 21 2024 02:43:31 for HDK by
1.8.6