3ds Max C++ API Reference
interpik.h File Reference
#include "maxheap.h"
#include "hold.h"
#include "control.h"

Classes

class  InterpCtrlUI
 
class  InterpKeyInfo
 
class  JointParams
 
class  JointParams2
 
class  JPLimitsRestore
 
class  JointDlgData
 
class  StdIKClipObject
 

Macros

#define PROPID_INTERPUI   (PROPID_USER+1)
 
#define PROPID_JOINTPARAMS   (PROPID_USER+2)
 
#define PROPID_KEYINFO   (PROPID_USER+3)
 
#define JNT_XACTIVE   (1<<0)
 
#define JNT_YACTIVE   (1<<1)
 
#define JNT_ZACTIVE   (1<<2)
 
#define JNT_XLIMITED   (1<<3)
 
#define JNT_YLIMITED   (1<<4)
 
#define JNT_ZLIMITED   (1<<5)
 
#define JNT_XEASE   (1<<6)
 
#define JNT_YEASE   (1<<7)
 
#define JNT_ZEASE   (1<<8)
 
#define JNT_XSPRING   (1<<9)
 
#define JNT_YSPRING   (1<<10)
 
#define JNT_ZSPRING   (1<<11)
 
#define JNT_PARAMS2   (1<<12)
 
#define JNT_PARAMS_EULER   (1<<13)
 
#define JP_HELD   (1<<27)
 
#define JNT_LIMITEXACT   (1<<28)
 
#define JNT_ROLLOPEN   (1<<29)
 
#define JNT_ROT   (1<<30)
 
#define JNT_POS   (1<<31)
 
#define SPRINGTENS_UI   (50.0f)
 
#define DEF_SPRINGTENS   (0.02f)
 

Functions

CoreExport INT_PTR CALLBACK JointParamDlgProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 
void QuatEnumIKParams (Control *cont, IKEnumCallback &callback)
 
BOOL QuatCompDeriv (Control *cont, TimeValue t, Matrix3 &ptm, IKDeriv &derivs, DWORD flags)
 
float QuatIncIKParam (Control *cont, TimeValue t, int index, float delta)
 
CoreExport void QuatBeginIKParams (Control *cont, IObjParam *ip, ULONG flags, Animatable *prev)
 
void Point3EnumIKParams (Control *cont, IKEnumCallback &callback)
 
BOOL Point3CompDeriv (Control *cont, TimeValue t, Matrix3 &ptm, IKDeriv &derivs, DWORD flags)
 
float Point3IncIKParam (Control *cont, TimeValue t, int index, float delta)
 
CoreExport void Point3BeginIKParams (Control *cont, IObjParam *ip, ULONG flags, Animatable *prev)
 
CoreExport BOOL CanCopyIKParams (Control *cont, int which)
 
CoreExport IKClipObjectCopyIKParams (Control *cont, int which)
 
CoreExport BOOL CanPasteIKParams (Control *cont, IKClipObject *co, int which)
 
CoreExport void PasteIKParams (Control *cont, IKClipObject *co, int which)
 
CoreExport void InitIKJointsPos (Control *cont, InitJointData *posData)
 
CoreExport void InitIKJointsRot (Control *cont, InitJointData *rotData)
 
CoreExport BOOL GetIKJointsPos (Control *cont, InitJointData *posData)
 
CoreExport BOOL GetIKJointsRot (Control *cont, InitJointData *rotData)
 
CoreExport void InitIKJointsPos (Control *cont, InitJointData2 *posData)
 
CoreExport void InitIKJointsRot (Control *cont, InitJointData2 *rotData)
 
CoreExport BOOL GetIKJointsPos (Control *cont, InitJointData2 *posData)
 
CoreExport BOOL GetIKJointsRot (Control *cont, InitJointData2 *rotData)
 
CoreExport void QuatMirrorIKConstraints (Control *cont, int axis, int which)
 

Macro Definition Documentation

◆ PROPID_INTERPUI

#define PROPID_INTERPUI   (PROPID_USER+1)

◆ PROPID_JOINTPARAMS

#define PROPID_JOINTPARAMS   (PROPID_USER+2)

◆ PROPID_KEYINFO

#define PROPID_KEYINFO   (PROPID_USER+3)

◆ JNT_XACTIVE

#define JNT_XACTIVE   (1<<0)

◆ JNT_YACTIVE

#define JNT_YACTIVE   (1<<1)

◆ JNT_ZACTIVE

#define JNT_ZACTIVE   (1<<2)

◆ JNT_XLIMITED

#define JNT_XLIMITED   (1<<3)

◆ JNT_YLIMITED

#define JNT_YLIMITED   (1<<4)

◆ JNT_ZLIMITED

#define JNT_ZLIMITED   (1<<5)

◆ JNT_XEASE

#define JNT_XEASE   (1<<6)

◆ JNT_YEASE

#define JNT_YEASE   (1<<7)

◆ JNT_ZEASE

#define JNT_ZEASE   (1<<8)

◆ JNT_XSPRING

#define JNT_XSPRING   (1<<9)

◆ JNT_YSPRING

#define JNT_YSPRING   (1<<10)

◆ JNT_ZSPRING

#define JNT_ZSPRING   (1<<11)

◆ JNT_PARAMS2

#define JNT_PARAMS2   (1<<12)

◆ JNT_PARAMS_EULER

#define JNT_PARAMS_EULER   (1<<13)

◆ JP_HELD

#define JP_HELD   (1<<27)

◆ JNT_LIMITEXACT

#define JNT_LIMITEXACT   (1<<28)

◆ JNT_ROLLOPEN

#define JNT_ROLLOPEN   (1<<29)

◆ JNT_ROT

#define JNT_ROT   (1<<30)

◆ JNT_POS

#define JNT_POS   (1<<31)

◆ SPRINGTENS_UI

#define SPRINGTENS_UI   (50.0f)

◆ DEF_SPRINGTENS

#define DEF_SPRINGTENS   (0.02f)

Function Documentation

◆ JointParamDlgProc()

CoreExport INT_PTR CALLBACK JointParamDlgProc ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

◆ QuatEnumIKParams()

void QuatEnumIKParams ( Control cont,
IKEnumCallback callback 
)

◆ QuatCompDeriv()

BOOL QuatCompDeriv ( Control cont,
TimeValue  t,
Matrix3 ptm,
IKDeriv derivs,
DWORD  flags 
)

◆ QuatIncIKParam()

float QuatIncIKParam ( Control cont,
TimeValue  t,
int  index,
float  delta 
)

◆ QuatBeginIKParams()

CoreExport void QuatBeginIKParams ( Control cont,
IObjParam ip,
ULONG  flags,
Animatable prev 
)

◆ Point3EnumIKParams()

void Point3EnumIKParams ( Control cont,
IKEnumCallback callback 
)

◆ Point3CompDeriv()

BOOL Point3CompDeriv ( Control cont,
TimeValue  t,
Matrix3 ptm,
IKDeriv derivs,
DWORD  flags 
)

◆ Point3IncIKParam()

float Point3IncIKParam ( Control cont,
TimeValue  t,
int  index,
float  delta 
)

◆ Point3BeginIKParams()

CoreExport void Point3BeginIKParams ( Control cont,
IObjParam ip,
ULONG  flags,
Animatable prev 
)

◆ CanCopyIKParams()

CoreExport BOOL CanCopyIKParams ( Control cont,
int  which 
)

◆ CopyIKParams()

CoreExport IKClipObject* CopyIKParams ( Control cont,
int  which 
)

◆ CanPasteIKParams()

CoreExport BOOL CanPasteIKParams ( Control cont,
IKClipObject co,
int  which 
)

◆ PasteIKParams()

CoreExport void PasteIKParams ( Control cont,
IKClipObject co,
int  which 
)

◆ InitIKJointsPos() [1/2]

CoreExport void InitIKJointsPos ( Control cont,
InitJointData posData 
)

◆ InitIKJointsRot() [1/2]

CoreExport void InitIKJointsRot ( Control cont,
InitJointData rotData 
)

◆ GetIKJointsPos() [1/2]

CoreExport BOOL GetIKJointsPos ( Control cont,
InitJointData posData 
)

◆ GetIKJointsRot() [1/2]

CoreExport BOOL GetIKJointsRot ( Control cont,
InitJointData rotData 
)

◆ InitIKJointsPos() [2/2]

CoreExport void InitIKJointsPos ( Control cont,
InitJointData2 posData 
)

◆ InitIKJointsRot() [2/2]

CoreExport void InitIKJointsRot ( Control cont,
InitJointData2 rotData 
)

◆ GetIKJointsPos() [2/2]

CoreExport BOOL GetIKJointsPos ( Control cont,
InitJointData2 posData 
)

◆ GetIKJointsRot() [2/2]

CoreExport BOOL GetIKJointsRot ( Control cont,
InitJointData2 rotData 
)

◆ QuatMirrorIKConstraints()

CoreExport void QuatMirrorIKConstraints ( Control cont,
int  axis,
int  which 
)