HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Align.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: align parameters (C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GU_AlignParms_h__
12 #define __GU_AlignParms_h__
13 
14 #include "GU_API.h"
15 #include <UT/UT_Matrix4.h>
16 
17 class GA_PrimitiveGroup;
18 class GA_PointGroup;
19 class GEO_Primitive;
20 
22 {
23 public:
24 
25  GU_AlignParms();
27 
28  float bias; // which prim to alter
29 
30  float lu, lv; // which point/segment to align
31  float ru, rv;
32  float ruend, rvend;
33 
34  int individual; // align each separately else
35  // follow the first prim
36 
37  int dotrans; // align position
38  int dorotate; // align orientation
39 
40  UT_Matrix4 postxform; // Transform prims after alignment
41 
42  const GEO_Primitive *auxprim; // what to align to (optional)
43  // note this may belong to another
44  // detail object altogether but
45  // only positions and derivatives
46  // are calculated from it. ie.
47  // no attributes
48 
50 
51  // Cache of the points in the right and left prims.
52  GA_PointGroup *myRPoints, *myLPoints;
53 };
54 
55 #endif
~GU_AlignParms()
Definition: GU_Align.h:26
GA_PointGroup * myRPoints
Definition: GU_Align.h:52
int individual
Definition: GU_Align.h:34
const GA_PrimitiveGroup * primGroup
Definition: GU_Align.h:49
float bias
Definition: GU_Align.h:28
#define GU_API
Definition: GU_API.h:12
UT_Matrix4 postxform
Definition: GU_Align.h:40
const GEO_Primitive * auxprim
Definition: GU_Align.h:42
int dorotate
Definition: GU_Align.h:38
float rv
Definition: GU_Align.h:31
float lv
Definition: GU_Align.h:30
float rvend
Definition: GU_Align.h:32