HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
KIN_Bone Class Reference

#include <KIN_Bone.h>

Public Member Functions

 KIN_Bone ()
 
 ~KIN_Bone ()
 
fpreal getRotate (int axis) const
 
void getRotates (fpreal *r) const
 
fpreal getRadians (int axis) const
 
void getRadians (fpreal *r) const
 
const UT_Matrix4RgetExtraXform () const
 
fpreal getLength () const
 
fpreal getDampening () const
 
const voidgetData () const
 
fpreal constrain (int axis, fpreal angle, fpreal step) const
 
void setRotate (int axis, fpreal r)
 
void setRotates (const fpreal *r)
 
void setRotates (const fpreal *deg, const fpreal *rad)
 
void setExtraXform (const UT_Matrix4R &xform)
 
void setLength (fpreal l)
 
void setDampening (fpreal d)
 
void setData (const void *d)
 
void setConstraint (fpreal rest[3], fpreal xrange[2], fpreal yrange[2], fpreal zrange[2], fpreal damp[3], fpreal roll[3])
 
const UT_Matrix3RgetRotateMatrix () const
 
void setRotateMatrix (const UT_Matrix3R &m)
 
int64 getMemoryUsage (bool inclusive) const
 

Detailed Description

Definition at line 21 of file KIN_Bone.h.

Constructor & Destructor Documentation

KIN_Bone::KIN_Bone ( )
inline

Definition at line 24 of file KIN_Bone.h.

KIN_Bone::~KIN_Bone ( )
inline

Definition at line 35 of file KIN_Bone.h.

Member Function Documentation

fpreal KIN_Bone::constrain ( int  axis,
fpreal  angle,
fpreal  step 
) const
inline

Definition at line 73 of file KIN_Bone.h.

fpreal KIN_Bone::getDampening ( ) const
inline

Definition at line 71 of file KIN_Bone.h.

const void* KIN_Bone::getData ( ) const
inline

Definition at line 72 of file KIN_Bone.h.

const UT_Matrix4R& KIN_Bone::getExtraXform ( ) const
inline

Definition at line 68 of file KIN_Bone.h.

fpreal KIN_Bone::getLength ( ) const
inline
Examples:
SOP/SOP_IKSample.C.

Definition at line 70 of file KIN_Bone.h.

int64 KIN_Bone::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 113 of file KIN_Bone.h.

fpreal KIN_Bone::getRadians ( int  axis) const
inline

Definition at line 44 of file KIN_Bone.h.

void KIN_Bone::getRadians ( fpreal r) const
inline

Definition at line 56 of file KIN_Bone.h.

fpreal KIN_Bone::getRotate ( int  axis) const
inline

Definition at line 39 of file KIN_Bone.h.

const UT_Matrix3R& KIN_Bone::getRotateMatrix ( ) const
inline

Definition at line 106 of file KIN_Bone.h.

void KIN_Bone::getRotates ( fpreal r) const
inline

Definition at line 40 of file KIN_Bone.h.

void KIN_Bone::setConstraint ( fpreal  rest[3],
fpreal  xrange[2],
fpreal  yrange[2],
fpreal  zrange[2],
fpreal  damp[3],
fpreal  roll[3] 
)
inline

Definition at line 96 of file KIN_Bone.h.

void KIN_Bone::setDampening ( fpreal  d)
inline

Definition at line 94 of file KIN_Bone.h.

void KIN_Bone::setData ( const void d)
inline

Definition at line 95 of file KIN_Bone.h.

void KIN_Bone::setExtraXform ( const UT_Matrix4R xform)
inline

Definition at line 90 of file KIN_Bone.h.

void KIN_Bone::setLength ( fpreal  l)
inline

Definition at line 93 of file KIN_Bone.h.

void KIN_Bone::setRotate ( int  axis,
fpreal  r 
)
inline

Definition at line 76 of file KIN_Bone.h.

void KIN_Bone::setRotateMatrix ( const UT_Matrix3R m)
inline

Definition at line 108 of file KIN_Bone.h.

void KIN_Bone::setRotates ( const fpreal r)
inline

Definition at line 78 of file KIN_Bone.h.

void KIN_Bone::setRotates ( const fpreal deg,
const fpreal rad 
)
inline

Definition at line 83 of file KIN_Bone.h.


The documentation for this class was generated from the following file: