PoseMorphData Class Reference

#include <c4d_posemorphtagdata.h>

Public Member Functions

 PoseMorphData ()
 
virtual ~PoseMorphData ()
 
Bool Init (PoseMorphIndexing *indexing=nullptr)
 
void Free (PoseMorphIndexing *indexing=nullptr)
 
Bool IsEmpty ()
 
Bool StorePose (GeTreeNode< PoseMorphBaseData > *parent, BaseList2D *bl, POSEMORPH_SET_FLAGS flags, BaseTag *posetag)
 
void RelativePose (GeTreeNode< PoseMorphBaseData > *basenode, GeTreeNode< PoseMorphBaseData > *node, Bool downonly, POSEMORPH_SET_FLAGS flags, Int32 mode, BaseDocument *doc, BaseList2D *dst=nullptr)
 
GeTreeNode< PoseMorphBaseData > * GetHead () const
 
Bool Write (HyperFile *hf)
 
Bool Read (HyperFile *hf)
 
Bool CopyTo (PoseMorphData *dst, AliasTrans *trn, POSEMORPH_COPY_FLAGS poseMorphFlags) const
 
Bool WriteNodes (HyperFile *hf, GeTreeNode< PoseMorphBaseData > *node, Bool first=true)
 
Bool ReadNodes (HyperFile *hf, GeTreeNode< PoseMorphBaseData > *pnode, Bool first=true)
 
Bool CopyNodes (GeTreeNode< PoseMorphBaseData > *src, GeTree< PoseMorphBaseData > &dsttree, GeTreeNode< PoseMorphBaseData > *pnode, AliasTrans *trans, POSEMORPH_COPY_FLAGS flags) const
 
BaseList2DGetTarget (BaseDocument *doc, Bool allowcache)
 
BaseLinkGetTargetLink ()
 

Static Public Member Functions

static Int32 FindNodeIndex (GeTreeNode< PoseMorphBaseData > *fnode, Int32 &nindex, GeTreeNode< PoseMorphBaseData > *node, Bool downonly)
 
static GeTreeNode< PoseMorphBaseData > * FindNode (Int32 findex, Int32 &nindex, GeTreeNode< PoseMorphBaseData > *node, Bool downonly)
 

Public Attributes

GeTree< PoseMorphBaseDatam_Pose
 
POSEMORPH_FLAG m_Flags
 
Int32 m_Count
 
UInt64 m_Dirty
 
UInt64 m_HDirty
 
Int32 m_Index
 
UInt64 m_GUID
 
String m_Name
 
Float m_Weight
 
Int32 m_Mode
 
Vector m_RotAxis
 
Matrix m_RotMatrix
 
Filename m_ExtTarget
 
Int32 m_cLevel
 

Protected Member Functions

Bool StorePoseNodes (GeTreeNode< PoseMorphBaseData > *parent, BaseObject *op, BaseObject *parentop, Bool downonly, POSEMORPH_SET_FLAGS flags, BaseTag *posetag)
 
void RelativeToAbs (GeTreeNode< PoseMorphBaseData > *basenode, GeTreeNode< PoseMorphBaseData > *node, POSEMORPH_SET_FLAGS flags, BaseList2D *dst=nullptr)
 

Private Attributes

BaseLinkm_pTargetLink
 

Detailed Description

Private.

Constructor & Destructor Documentation

◆ PoseMorphData()

◆ ~PoseMorphData()

virtual ~PoseMorphData ( )
virtual

Member Function Documentation

◆ Init()

Bool Init ( PoseMorphIndexing indexing = nullptr)

◆ Free()

void Free ( PoseMorphIndexing indexing = nullptr)

◆ IsEmpty()

Bool IsEmpty ( )

◆ StorePose()

Bool StorePose ( GeTreeNode< PoseMorphBaseData > *  parent,
BaseList2D bl,
POSEMORPH_SET_FLAGS  flags,
BaseTag posetag 
)

◆ RelativePose()

void RelativePose ( GeTreeNode< PoseMorphBaseData > *  basenode,
GeTreeNode< PoseMorphBaseData > *  node,
Bool  downonly,
POSEMORPH_SET_FLAGS  flags,
Int32  mode,
BaseDocument doc,
BaseList2D dst = nullptr 
)

◆ GetHead()

GeTreeNode<PoseMorphBaseData>* GetHead ( ) const

◆ Write()

Bool Write ( HyperFile hf)

◆ Read()

Bool Read ( HyperFile hf)

◆ CopyTo()

Bool CopyTo ( PoseMorphData dst,
AliasTrans trn,
POSEMORPH_COPY_FLAGS  poseMorphFlags 
) const

◆ WriteNodes()

Bool WriteNodes ( HyperFile hf,
GeTreeNode< PoseMorphBaseData > *  node,
Bool  first = true 
)

◆ ReadNodes()

Bool ReadNodes ( HyperFile hf,
GeTreeNode< PoseMorphBaseData > *  pnode,
Bool  first = true 
)

◆ CopyNodes()

Bool CopyNodes ( GeTreeNode< PoseMorphBaseData > *  src,
GeTree< PoseMorphBaseData > &  dsttree,
GeTreeNode< PoseMorphBaseData > *  pnode,
AliasTrans trans,
POSEMORPH_COPY_FLAGS  flags 
) const

◆ GetTarget()

BaseList2D* GetTarget ( BaseDocument doc,
Bool  allowcache 
)

◆ GetTargetLink()

BaseLink* GetTargetLink ( )

◆ FindNodeIndex()

static Int32 FindNodeIndex ( GeTreeNode< PoseMorphBaseData > *  fnode,
Int32 nindex,
GeTreeNode< PoseMorphBaseData > *  node,
Bool  downonly 
)
static

◆ FindNode()

static GeTreeNode<PoseMorphBaseData>* FindNode ( Int32  findex,
Int32 nindex,
GeTreeNode< PoseMorphBaseData > *  node,
Bool  downonly 
)
static

◆ StorePoseNodes()

Bool StorePoseNodes ( GeTreeNode< PoseMorphBaseData > *  parent,
BaseObject op,
BaseObject parentop,
Bool  downonly,
POSEMORPH_SET_FLAGS  flags,
BaseTag posetag 
)
protected

◆ RelativeToAbs()

void RelativeToAbs ( GeTreeNode< PoseMorphBaseData > *  basenode,
GeTreeNode< PoseMorphBaseData > *  node,
POSEMORPH_SET_FLAGS  flags,
BaseList2D dst = nullptr 
)
protected

Member Data Documentation

◆ m_Pose

◆ m_Flags

POSEMORPH_FLAG m_Flags

◆ m_Count

Int32 m_Count

◆ m_Dirty

UInt64 m_Dirty

◆ m_HDirty

UInt64 m_HDirty

◆ m_Index

Int32 m_Index

◆ m_GUID

UInt64 m_GUID

◆ m_Name

String m_Name

◆ m_Weight

Float m_Weight

◆ m_Mode

Int32 m_Mode

◆ m_RotAxis

Vector m_RotAxis

◆ m_RotMatrix

Matrix m_RotMatrix

◆ m_ExtTarget

Filename m_ExtTarget

◆ m_cLevel

Int32 m_cLevel

◆ m_pTargetLink

BaseLink* m_pTargetLink
private