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

#include <GU_Hierarchy.h>

Public Member Functions

 GU_HierarchyCache ()
 
bool rebuild (const GU_Detail *gdp, bool &topo_changed)
 
void clear ()
 
bool worldTransformDirty (const GU_Detail *gdp)
 
bool localTransformDirty (const GU_Detail *gdp)
 
void initTransformData (const GU_Detail *gdp)
 
void updateLocalTransformCache (const GU_Detail *gdp)
 
void updateTransformCache (const GU_Detail *gdp, bool update_names=true)
 
void updateTransformDataIds (const GU_Detail *gdp)
 
int lookUpPointIndex (GA_Index ptidx)
 
void computeLocalTransform (const GU_Detail *gdp)
 
void computeWorldTransform (const GU_Detail *gdp)
 
void computeWorldTransform (const GU_Detail *gdp, const GA_PointGroup *constrain_grp, const UT_Array< int > *flags, bool constrain)
 
void clearSubHier ()
 
void updateSubHier ()
 
void appendSubHierLeaf (const GU_Detail *gdp, GA_Offset leaf_ptoff)
 
void computeSubHierLocalTransform (const GU_Detail *gdp)
 
void computeSubHierWorldTransform (const GU_Detail *gdp)
 
void computeSubHierWorldTransform (const GU_Detail *gdp, const GA_PointGroup *contrain_grp, const UT_Array< int > *flags, bool constrain)
 
void transform (const UT_Matrix4D &m)
 
void transformLocalRoots (const UT_Matrix4D &m)
 
void blendLocalTransforms (const GU_HierarchyCache &hc, fpreal w, const GA_PointGroup *grp=nullptr)
 
void blendWorldTransforms (const GU_HierarchyCache &hc, fpreal w, const GA_PointGroup *grp=nullptr)
 
void blendRestTransforms (const GU_HierarchyCache &hc, fpreal w, const GU_HierarchyCache &rest, const GA_PointGroup *grp=nullptr)
 
void copyTransforms (GU_Detail *gdp, bool copy_P=true, bool copy_transform=true, bool copy_localtransform=true)
 
void update (const GU_HierarchyCache &hc)
 

Public Attributes

GA_DataId myTopologyDataId
 
GA_DataId myPDataId
 
GA_DataId myTransformDataId
 
GA_DataId myLocalDataId
 
GA_DataId myNameDataId
 
GA_OffsetArray myRoots
 
GA_OffsetArray myNodes
 
GA_OffsetArray myParents
 
UT_Matrix4DArray myLocal
 
UT_Matrix3DArray myTransform
 
UT_Vector3DArray myP
 
UT_IntArray myModel
 
UT_Matrix4DArray myEffectiveLocal
 
UT_Array< GU_AgentXformDmyAgentXformsLocals
 
UT_StringHolder myNamesFormat
 
UT_StringArray myNames
 
UT_StringArray myIndexNames
 
UT_StringArray myNameNames
 
UT_StringSet myNamesSet
 
UT_BitArray myNamesValid
 
UT_Array< UT_StringArraymyNamesArray
 
GU_Hierarchy::ComputeHierarchyResult myTraverseResult
 

Detailed Description

Definition at line 91 of file GU_Hierarchy.h.

Constructor & Destructor Documentation

GU_HierarchyCache::GU_HierarchyCache ( )

Member Function Documentation

void GU_HierarchyCache::appendSubHierLeaf ( const GU_Detail gdp,
GA_Offset  leaf_ptoff 
)
void GU_HierarchyCache::blendLocalTransforms ( const GU_HierarchyCache hc,
fpreal  w,
const GA_PointGroup grp = nullptr 
)
void GU_HierarchyCache::blendRestTransforms ( const GU_HierarchyCache hc,
fpreal  w,
const GU_HierarchyCache rest,
const GA_PointGroup grp = nullptr 
)
void GU_HierarchyCache::blendWorldTransforms ( const GU_HierarchyCache hc,
fpreal  w,
const GA_PointGroup grp = nullptr 
)
void GU_HierarchyCache::clear ( )
void GU_HierarchyCache::clearSubHier ( )
void GU_HierarchyCache::computeLocalTransform ( const GU_Detail gdp)
void GU_HierarchyCache::computeSubHierLocalTransform ( const GU_Detail gdp)
void GU_HierarchyCache::computeSubHierWorldTransform ( const GU_Detail gdp)
void GU_HierarchyCache::computeSubHierWorldTransform ( const GU_Detail gdp,
const GA_PointGroup contrain_grp,
const UT_Array< int > *  flags,
bool  constrain 
)
void GU_HierarchyCache::computeWorldTransform ( const GU_Detail gdp)
void GU_HierarchyCache::computeWorldTransform ( const GU_Detail gdp,
const GA_PointGroup constrain_grp,
const UT_Array< int > *  flags,
bool  constrain 
)
void GU_HierarchyCache::copyTransforms ( GU_Detail gdp,
bool  copy_P = true,
bool  copy_transform = true,
bool  copy_localtransform = true 
)
void GU_HierarchyCache::initTransformData ( const GU_Detail gdp)
bool GU_HierarchyCache::localTransformDirty ( const GU_Detail gdp)
int GU_HierarchyCache::lookUpPointIndex ( GA_Index  ptidx)
bool GU_HierarchyCache::rebuild ( const GU_Detail gdp,
bool &  topo_changed 
)
void GU_HierarchyCache::transform ( const UT_Matrix4D m)
void GU_HierarchyCache::transformLocalRoots ( const UT_Matrix4D m)
void GU_HierarchyCache::update ( const GU_HierarchyCache hc)
void GU_HierarchyCache::updateLocalTransformCache ( const GU_Detail gdp)
void GU_HierarchyCache::updateSubHier ( )
void GU_HierarchyCache::updateTransformCache ( const GU_Detail gdp,
bool  update_names = true 
)
void GU_HierarchyCache::updateTransformDataIds ( const GU_Detail gdp)
bool GU_HierarchyCache::worldTransformDirty ( const GU_Detail gdp)

Member Data Documentation

UT_Array<GU_AgentXformD> GU_HierarchyCache::myAgentXformsLocals

Definition at line 167 of file GU_Hierarchy.h.

UT_Matrix4DArray GU_HierarchyCache::myEffectiveLocal

Definition at line 165 of file GU_Hierarchy.h.

UT_StringArray GU_HierarchyCache::myIndexNames

Definition at line 171 of file GU_Hierarchy.h.

UT_Matrix4DArray GU_HierarchyCache::myLocal

Definition at line 161 of file GU_Hierarchy.h.

GA_DataId GU_HierarchyCache::myLocalDataId

Definition at line 155 of file GU_Hierarchy.h.

UT_IntArray GU_HierarchyCache::myModel

Definition at line 164 of file GU_Hierarchy.h.

GA_DataId GU_HierarchyCache::myNameDataId

Definition at line 156 of file GU_Hierarchy.h.

UT_StringArray GU_HierarchyCache::myNameNames

Definition at line 172 of file GU_Hierarchy.h.

UT_StringArray GU_HierarchyCache::myNames

Definition at line 170 of file GU_Hierarchy.h.

UT_Array<UT_StringArray> GU_HierarchyCache::myNamesArray

Definition at line 175 of file GU_Hierarchy.h.

UT_StringHolder GU_HierarchyCache::myNamesFormat

Definition at line 169 of file GU_Hierarchy.h.

UT_StringSet GU_HierarchyCache::myNamesSet

Definition at line 173 of file GU_Hierarchy.h.

UT_BitArray GU_HierarchyCache::myNamesValid

Definition at line 174 of file GU_Hierarchy.h.

GA_OffsetArray GU_HierarchyCache::myNodes

Definition at line 158 of file GU_Hierarchy.h.

UT_Vector3DArray GU_HierarchyCache::myP

Definition at line 163 of file GU_Hierarchy.h.

GA_OffsetArray GU_HierarchyCache::myParents

Definition at line 159 of file GU_Hierarchy.h.

GA_DataId GU_HierarchyCache::myPDataId

Definition at line 153 of file GU_Hierarchy.h.

GA_OffsetArray GU_HierarchyCache::myRoots

Definition at line 157 of file GU_Hierarchy.h.

GA_DataId GU_HierarchyCache::myTopologyDataId

Definition at line 152 of file GU_Hierarchy.h.

UT_Matrix3DArray GU_HierarchyCache::myTransform

Definition at line 162 of file GU_Hierarchy.h.

GA_DataId GU_HierarchyCache::myTransformDataId

Definition at line 154 of file GU_Hierarchy.h.

GU_Hierarchy::ComputeHierarchyResult GU_HierarchyCache::myTraverseResult

Definition at line 178 of file GU_Hierarchy.h.


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