#include <interpik.h>
Public Member Functions |
|
CoreExport | JointParams (DWORD type=JNT_POS, int dofs=3, float s=1.0f) |
CoreExport | JointParams (const JointParams &j) |
CoreExport | ~JointParams () |
DWORD | ID () |
CoreExport JointParams & | operator= (JointParams &j) |
CoreExport BOOL | IsDefault () |
CoreExport IOResult | Save (ISave *isave) |
CoreExport IOResult | Load (ILoad *iload) |
CoreExport float | ConstrainInc (int index, float v, float delta) |
BOOL | Active (int i) |
BOOL | Limited (int i) |
BOOL | Ease (int i) |
BOOL | Spring (int i) |
DWORD | Type () |
BOOL | RollupOpen () |
void | SetActive (int i, BOOL s) |
void | SetLimited (int i, BOOL s) |
void | SetEase (int i, BOOL s) |
void | SetSpring (int i, BOOL s) |
void | SetType (DWORD type) |
void | SetRollOpen (BOOL open) |
virtual CoreExport void | SpinnerChange (InterpCtrlUI *ui, WORD id, ISpinnerControl *spin, BOOL interactive) |
CoreExport void | InitDialog (InterpCtrlUI *ui) |
CoreExport void | EndDialog (InterpCtrlUI *ui, BOOL dontDel=FALSE) |
CoreExport void | SpinnerDown (InterpCtrlUI *ui, WORD id, ISpinnerControl *spin) |
CoreExport void | SpinnerUp (InterpCtrlUI *ui, WORD id, ISpinnerControl *spin, BOOL accept) |
CoreExport void | Command (InterpCtrlUI *ui, WORD notify, WORD id, HWND hCtrl) |
CoreExport void | EnableDisable (InterpCtrlUI *ui) |
CoreExport void | MirrorConstraints (int axis) |
JointParams2 * | GetJointParams2Interface () |
Public Attributes |
|
float * | min |
float * | max |
float * | damping |
float * | spring |
float * | stens |
float | scale |
DWORD | flags |
int | dofs |
CoreExport JointParams | ( | DWORD | type = JNT_POS , |
int | dofs = 3 , |
||
float | s = 1.0f |
||
) |
CoreExport JointParams | ( | const JointParams & | j | ) |
CoreExport ~JointParams | ( | ) |
DWORD ID | ( | ) | [inline, virtual] |
Implements AnimProperty.
{return PROPID_JOINTPARAMS;}
CoreExport JointParams& operator= | ( | JointParams & | j | ) |
CoreExport BOOL IsDefault | ( | ) |
CoreExport float ConstrainInc | ( | int | index, |
float | v, | ||
float | delta | ||
) |
BOOL Active | ( | int | i | ) | [inline] |
{return (flags&(JNT_XACTIVE<<i))?TRUE:FALSE;}
BOOL Limited | ( | int | i | ) | [inline] |
{return (flags&(JNT_XLIMITED<<i))?TRUE:FALSE;}
BOOL Ease | ( | int | i | ) | [inline] |
{return (flags&(JNT_XEASE<<i))?TRUE:FALSE;}
BOOL Spring | ( | int | i | ) | [inline] |
{return (flags&(JNT_XSPRING<<i))?TRUE:FALSE;}
DWORD Type | ( | ) | [inline] |
{return flags & (JNT_POS|JNT_ROT);}
BOOL RollupOpen | ( | ) | [inline] |
{return (flags&JNT_ROLLOPEN)?TRUE:FALSE;}
void SetActive | ( | int | i, |
BOOL | s | ||
) | [inline] |
void SetLimited | ( | int | i, |
BOOL | s | ||
) | [inline] |
void SetEase | ( | int | i, |
BOOL | s | ||
) | [inline] |
void SetSpring | ( | int | i, |
BOOL | s | ||
) | [inline] |
void SetType | ( | DWORD | type | ) | [inline] |
void SetRollOpen | ( | BOOL | open | ) | [inline] |
virtual CoreExport void SpinnerChange | ( | InterpCtrlUI * | ui, |
WORD | id, | ||
ISpinnerControl * | spin, | ||
BOOL | interactive | ||
) | [virtual] |
CoreExport void InitDialog | ( | InterpCtrlUI * | ui | ) |
CoreExport void EndDialog | ( | InterpCtrlUI * | ui, |
BOOL | dontDel =
FALSE |
||
) |
CoreExport void SpinnerDown | ( | InterpCtrlUI * | ui, |
WORD | id, | ||
ISpinnerControl * | spin | ||
) |
CoreExport void SpinnerUp | ( | InterpCtrlUI * | ui, |
WORD | id, | ||
ISpinnerControl * | spin, | ||
BOOL | accept | ||
) |
CoreExport void Command | ( | InterpCtrlUI * | ui, |
WORD | notify, | ||
WORD | id, | ||
HWND | hCtrl | ||
) |
CoreExport void EnableDisable | ( | InterpCtrlUI * | ui | ) |
CoreExport void MirrorConstraints | ( | int | axis | ) |
JointParams2* GetJointParams2Interface | ( | ) | [inline] |
{if (flags & JNT_PARAMS2) return (JointParams2*)this; else return NULL;}
float* min |
float * max |
float* spring |
float* stens |