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_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: Magnet deformer, uses metaball fields to deform.
9
*
10
*/
11
12
#include "
GU_API.h
"
13
#include <
UT/UT_XformOrder.h
>
14
class
GU_Detail
;
15
16
class
GA_Group
;
17
18
class
GU_API
GU_MagnetParms
19
{
20
public
:
21
const
GU_Detail
*
source
;
// the source geometry
22
const
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
};
GA_PrimitiveGroup
Definition:
GA_ElementGroup.h:74
GA_Group
Definition:
GA_Group.h:35
GU_MagnetParms::normals
int normals
Definition:
GU_Magnet.h:31
GU_MagnetParms::velocity
int velocity
Definition:
GU_Magnet.h:32
UT_XformOrder
Transformation order of scales, rotates, and translates.
Definition:
UT_XformOrder.h:23
UT_XformOrder.h
GU_MagnetParms::pz
float pz
Definition:
GU_Magnet.h:27
GU_MagnetParms::clampColor
bool clampColor
Definition:
GU_Magnet.h:30
GU_MagnetParms::rz
float rz
Definition:
GU_Magnet.h:25
GU_MagnetParms::magnetGroup
const GA_PrimitiveGroup * magnetGroup
Definition:
GU_Magnet.h:34
GU_MagnetParms::sz
float sz
Definition:
GU_Magnet.h:26
GU_MagnetParms::sourceGroup
const GA_Group * sourceGroup
Definition:
GU_Magnet.h:33
GU_API
#define GU_API
Definition:
GU_API.h:14
GU_MagnetParms::source
const GU_Detail * source
Definition:
GU_Magnet.h:21
py
IFDmantra py
Definition:
HDK_Image.dox:266
GU_MagnetParms::order
UT_XformOrder order
Definition:
GU_Magnet.h:23
GU_MagnetParms::magnet
const GU_Detail * magnet
Definition:
GU_Magnet.h:22
GU_Detail
Definition:
GU_Detail.h:154
GU_MagnetParms::tz
float tz
Definition:
GU_Magnet.h:24
GU_API.h
GU_MagnetParms
Definition:
GU_Magnet.h:18
GU_MagnetParms::color
int color
Definition:
GU_Magnet.h:29
GU_MagnetParms::position
int position
Definition:
GU_Magnet.h:28
GU
GU_Magnet.h
Generated on Sun Nov 17 2024 03:01:17 for HDK by
1.8.6