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
GU_Warp.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: GU_Warp.C (C++)
7
*
8
* COMMENTS:
9
* This is the filter used to warp faces or surfaces.
10
*/
11
12
#ifndef __GU_Warp_h__
13
#define __GU_Warp_h__
14
15
#include "
GU_API.h
"
16
#include <
UT/UT_Matrix4.h
>
17
#include <
GEO/GEO_Primitive.h
>
18
19
class
GA_PrimitiveGroup
;
20
21
enum
GU_WARP_OP
22
{
23
GU_MATRIX_WARP
= 0,
24
GU_NORMAL_WARP
= 1,
25
GU_POSITION_WARP
= 2,
26
GU_SELFUV_WARP
= 3
27
};
28
29
class
GU_API
GU_WarpParms
30
{
31
public
:
32
GU_WarpParms
();
33
~GU_WarpParms
() {}
34
35
36
GU_WARP_OP
op
;
37
38
int
warpU
;
39
float
u
;
// [0,1]
40
int
useBiasU
;
41
float
biasU
;
42
float
sharpnessU
;
43
44
int
warpV
;
45
float
v
;
// [0,1]
46
int
useBiasV
;
47
float
biasV
;
48
float
sharpnessV
;
49
50
// xform, normalDist, pos, and selfu/v are exclusive
51
UT_Matrix4
xform
;
52
float
normalDist
;
53
float
selfu,
selfv
;
// must be unit coords ([0,1])
54
UT_Vector4
pos
;
55
56
const
GA_PrimitiveGroup
*
prims
;
57
};
58
59
#endif
GU_MATRIX_WARP
Definition:
GU_Warp.h:23
GU_WarpParms::warpV
int warpV
Definition:
GU_Warp.h:44
UT_Matrix4T< float >
GA_PrimitiveGroup
Definition:
GA_ElementGroup.h:74
GU_WarpParms::selfv
float selfv
Definition:
GU_Warp.h:53
GU_WARP_OP
GU_WARP_OP
Definition:
GU_Warp.h:21
GU_WarpParms
Definition:
GU_Warp.h:29
GU_NORMAL_WARP
Definition:
GU_Warp.h:24
UT_Vector4T< float >
GU_POSITION_WARP
Definition:
GU_Warp.h:25
GU_WarpParms::xform
UT_Matrix4 xform
Definition:
GU_Warp.h:51
GU_WarpParms::~GU_WarpParms
~GU_WarpParms()
Definition:
GU_Warp.h:33
GU_WarpParms::op
GU_WARP_OP op
Definition:
GU_Warp.h:36
GU_WarpParms::biasU
float biasU
Definition:
GU_Warp.h:41
GU_WarpParms::sharpnessV
float sharpnessV
Definition:
GU_Warp.h:48
GU_API
#define GU_API
Definition:
GU_API.h:14
GU_WarpParms::normalDist
float normalDist
Definition:
GU_Warp.h:52
GU_SELFUV_WARP
Definition:
GU_Warp.h:26
GU_WarpParms::u
float u
Definition:
GU_Warp.h:39
GU_WarpParms::warpU
int warpU
Definition:
GU_Warp.h:38
GU_WarpParms::v
float v
Definition:
GU_Warp.h:45
GU_WarpParms::useBiasV
int useBiasV
Definition:
GU_Warp.h:46
GU_WarpParms::prims
const GA_PrimitiveGroup * prims
Definition:
GU_Warp.h:56
GU_WarpParms::biasV
float biasV
Definition:
GU_Warp.h:47
GU_WarpParms::useBiasU
int useBiasU
Definition:
GU_Warp.h:40
GU_WarpParms::sharpnessU
float sharpnessU
Definition:
GU_Warp.h:42
GEO_Primitive.h
GU_API.h
UT_Matrix4.h
GU_WarpParms::pos
UT_Vector4 pos
Definition:
GU_Warp.h:54
GU
GU_Warp.h
Generated on Sun Nov 17 2024 03:01:20 for HDK by
1.8.6