HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Magnet.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: Geometry Utility Library (C++)
7  *
8  * COMMENTS: GU_Magnet.h
9  *
10  */
11 
12 #include "GU_API.h"
13 #include <UT/UT_XformOrder.h>
14 class GU_Detail;
15 
16 class GA_Group;
17 
19 {
20 public:
21  const GU_Detail *source; // the source geometry
22  GU_Detail *magnet; // the magnet geometry
23  UT_XformOrder order; // deformation transform order
24  float tx, ty, tz; // translate value
25  float rx, ry, rz; // rotate value
26  float sx, sy, sz; // scale value
27  float px, py, pz; // pivot point
28  int position; // affect position
29  int color; // affect color
30  bool clampColor; // clamp affected color 0..1
31  int normals; // affect normals
32  int velocity; // affect velocity
33  const GA_Group *sourceGroup; // source geometry to deform
34  const GA_PrimitiveGroup *magnetGroup; // source magnets
35 };
bool clampColor
Definition: GU_Magnet.h:30
const GA_PrimitiveGroup * magnetGroup
Definition: GU_Magnet.h:34
const GA_Group * sourceGroup
Definition: GU_Magnet.h:33
#define GU_API
Definition: GU_API.h:12
const GU_Detail * source
Definition: GU_Magnet.h:21
IFDmantra py
Definition: HDK_Image.dox:266
UT_XformOrder order
Definition: GU_Magnet.h:23
GU_Detail * magnet
Definition: GU_Magnet.h:22