#include <iSkinPose.h>
Public Types |
|
enum | FuncID
{ kSkinPosGet, kSkinPosSet, kSkinRotGet, kSkinRotSet, kSkinScaleGet, kSkinScaleSet, kSkinScaleOrientGet, kSkinScaleOrientSet, kSkinPosEnabledGet, kSkinPosEnabledSet, kSkinRotEnabledGet, kSkinRotEnabledSet, kSkinScaleEnabledGet, kSkinScaleEnabledSet, kSkinPoseModeGet, kSkinPoseModeSet, kSetSkinPose, kAssumeSkinPose } |
Public Member Functions |
|
virtual Point3 | SkinPos () const =0 |
virtual RotationValue | SkinRot () const =0 |
virtual ScaleValue | SkinScale () const =0 |
virtual void | SetSkinPos (const Point3 &)=0 |
virtual void | SetSkinRot (const RotationValue &)=0 |
virtual void | SetSkinRot (const Point3 &)=0 |
virtual void | SetSkinScaleFactors (const Point3 &)=0 |
virtual void | SetSkinScaleOrient (const Quat &)=0 |
virtual bool | IsSkinPosEnabled () const =0 |
virtual bool | IsSkinRotEnabled () const =0 |
virtual bool | IsSkinScaleEnabled () const =0 |
virtual bool | SkinPoseMode () const =0 |
virtual void | EnableSkinPos (bool)=0 |
virtual void | EnableSkinRot (bool)=0 |
virtual void | EnableSkinScale (bool)=0 |
virtual void | SetSkinPoseMode (bool)=0 |
virtual void | SetSkinPose (TimeValue)=0 |
virtual void | AssumeSkinPose (TimeValue)=0 |
virtual void | TMSetValue (TimeValue, SetXFormPacket &)=0 |
Point3 | SkinRotAngles () const |
Point3 | SkinScaleFactors () const |
Quat | SkinScaleOrient () const |
void | SetSkinScale (const ScaleValue &sv) |
void | SetSkinRotAngles (const Point3 &) |
bool | ShowSkinPos () const |
bool | ShowSkinRot () const |
bool | ShowSkinScale () const |
bool | IsACompEnabled () const |
virtual bool | NeedToSave () const =0 |
virtual IOResult | Save (ISave *) const =0 |
virtual IOResult | Load (ILoad *)=0 |
virtual void | Copy (const ISkinPose &)=0 |
virtual const void * | ObjectOf (void *) const =0 |
virtual void * | ObjectOf (void *)=0 |
FPInterfaceDesc * | GetDesc () |
Static Public Member Functions |
|
static ISkinPose * | GetISkinPose (INode &n) |
enum FuncID |
{ kSkinPosGet, kSkinPosSet, kSkinRotGet, kSkinRotSet, kSkinScaleGet, kSkinScaleSet, kSkinScaleOrientGet, kSkinScaleOrientSet, // When SkinPosEnabled is false, SkinPoseMode, SetSkinPose, and // AssumeSkinPose will disregard the position component. // Similar to SkinRotEnabled and SkinScaleEnabled. kSkinPosEnabledGet, kSkinPosEnabledSet, kSkinRotEnabledGet, kSkinRotEnabledSet, kSkinScaleEnabledGet, kSkinScaleEnabledSet, kSkinPoseModeGet, kSkinPoseModeSet, kSetSkinPose, kAssumeSkinPose };
{ return static_cast<ISkinPose*>(n.GetInterface(SKINPOSE_INTERFACE)); }
virtual Point3 SkinPos | ( | ) | const [pure virtual] |
virtual RotationValue SkinRot | ( | ) | const [pure virtual] |
virtual ScaleValue SkinScale | ( | ) | const [pure virtual] |
virtual void SetSkinPos | ( | const Point3 & | ) | [pure virtual] |
virtual void SetSkinRot | ( | const RotationValue & | ) | [pure virtual] |
virtual void SetSkinRot | ( | const Point3 & | ) | [pure virtual] |
virtual void SetSkinScaleFactors | ( | const Point3 & | ) | [pure virtual] |
virtual void SetSkinScaleOrient | ( | const Quat & | ) | [pure virtual] |
virtual bool IsSkinPosEnabled | ( | ) | const [pure virtual] |
virtual bool IsSkinRotEnabled | ( | ) | const [pure virtual] |
virtual bool IsSkinScaleEnabled | ( | ) | const [pure virtual] |
virtual bool SkinPoseMode | ( | ) | const [pure virtual] |
virtual void EnableSkinPos | ( | bool | ) | [pure virtual] |
virtual void EnableSkinRot | ( | bool | ) | [pure virtual] |
virtual void EnableSkinScale | ( | bool | ) | [pure virtual] |
virtual void SetSkinPoseMode | ( | bool | ) | [pure virtual] |
virtual void SetSkinPose | ( | TimeValue | ) | [pure virtual] |
virtual void AssumeSkinPose | ( | TimeValue | ) | [pure virtual] |
virtual void TMSetValue | ( | TimeValue | , |
SetXFormPacket & | |||
) | [pure virtual] |
Point3 SkinRotAngles | ( | ) | const [inline] |
Point3 SkinScaleFactors | ( | ) | const [inline] |
Quat SkinScaleOrient | ( | ) | const [inline] |
void SetSkinScale | ( | const ScaleValue & | sv | ) | [inline] |
{ SetSkinScaleFactors(sv.s); SetSkinScaleOrient(sv.q); }
void SetSkinRotAngles | ( | const Point3 & | p | ) | [inline] |
{ SetSkinRot(p * DEG_TO_RAD); }
bool ShowSkinPos | ( | ) | const [inline] |
{ return SkinPoseMode() && IsSkinPosEnabled(); }
bool ShowSkinRot | ( | ) | const [inline] |
{ return SkinPoseMode() && IsSkinRotEnabled(); }
bool ShowSkinScale | ( | ) | const [inline] |
{ return SkinPoseMode() && IsSkinScaleEnabled(); }
bool IsACompEnabled | ( | ) | const [inline] |
{ return (IsSkinPosEnabled() || IsSkinRotEnabled() || IsSkinScaleEnabled()); }
virtual bool NeedToSave | ( | ) | const [pure virtual] |
virtual void Copy | ( | const ISkinPose & | ) | [pure virtual] |
virtual const void* ObjectOf | ( | void * | ) | const [pure virtual] |
virtual void* ObjectOf | ( | void * | ) | [pure virtual] |
FPInterfaceDesc* GetDesc | ( | ) | [inline, virtual] |
Implements FPInterface.
{ return GetDescByID(SKINPOSE_INTERFACE); }