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
KIN_AngleConstraint.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: KIN_AngleConstraint.h ( Kinematics Library, C++)
7
*
8
* COMMENTS:
9
* Constraint to restrict angle for a given bone.
10
*/
11
12
#ifndef __KIN_AngleConstraint__
13
#define __KIN_AngleConstraint__
14
15
#include "
KIN_API.h
"
16
#include <
SYS/SYS_Types.h
>
17
18
class
KIN_API
KIN_AngleConstraint
19
{
20
public
:
21
KIN_AngleConstraint
();
22
virtual
~
KIN_AngleConstraint
();
23
24
void
setConstraint(
fpreal
rest
[3],
fpreal
xrange[2],
25
fpreal
yrange[2],
fpreal
zrange[2],
26
fpreal
damp[3],
fpreal
roll[3] );
27
fpreal
constrain(
int
axis,
fpreal
angle
,
28
fpreal
step )
const
;
29
30
private
:
31
fpreal
myRestAngles[3];
32
fpreal
myMinAngles[3], myMaxAngles[3];
33
fpreal
myMinDamp[3], myMaxDamp[3];
34
fpreal
myRolloff[3];
35
};
36
37
#endif
SIM_ConstraintNetwork::Names::angle
SIM_API const UT_StringHolder angle
KIN_AngleConstraint
Definition:
KIN_AngleConstraint.h:18
SYS_Types.h
KIN_API.h
fpreal
fpreal64 fpreal
Definition:
SYS_Types.h:277
KIN_API
#define KIN_API
Definition:
KIN_API.h:11
GA_Names::rest
GA_API const UT_StringHolder rest
KIN
KIN_AngleConstraint.h
Generated on Tue Dec 17 2024 03:39:54 for HDK by
1.8.6