HDK
 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 
22 {
27 };
28 
30 {
31 public:
32  GU_WarpParms();
34 
35 
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
52  float normalDist;
53  float selfu, selfv; // must be unit coords ([0,1])
55 
57 };
58 
59 #endif
int warpV
Definition: GU_Warp.h:44
float selfv
Definition: GU_Warp.h:53
GU_WARP_OP
Definition: GU_Warp.h:21
UT_Matrix4 xform
Definition: GU_Warp.h:51
~GU_WarpParms()
Definition: GU_Warp.h:33
GU_WARP_OP op
Definition: GU_Warp.h:36
float biasU
Definition: GU_Warp.h:41
float sharpnessV
Definition: GU_Warp.h:48
#define GU_API
Definition: GU_API.h:12
float normalDist
Definition: GU_Warp.h:52
float u
Definition: GU_Warp.h:39
int warpU
Definition: GU_Warp.h:38
float v
Definition: GU_Warp.h:45
int useBiasV
Definition: GU_Warp.h:46
const GA_PrimitiveGroup * prims
Definition: GU_Warp.h:56
float biasV
Definition: GU_Warp.h:47
int useBiasU
Definition: GU_Warp.h:40
float sharpnessU
Definition: GU_Warp.h:42
UT_Vector4 pos
Definition: GU_Warp.h:54