HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Hierarchy.h File Reference
#include "GU_API.h"
#include "GU_AgentClip.h"
#include <GA/GA_Types.h>
#include <UT/UT_Array.h>
#include <UT/UT_BitArray.h>
#include <UT/UT_Map.h>
#include <UT/UT_Set.h>
#include <UT/UT_StringArray.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_StringSet.h>
#include <UT/UT_ValArray.h>
#include <UT/UT_VectorTypes.h>
+ Include dependency graph for GU_Hierarchy.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GU_HierarchyCache
 

Namespaces

 GU_Hierarchy
 

Enumerations

enum  GU_Hierarchy::ComputeHierarchyResult {
  GU_Hierarchy::ComputeHierarchyResult::Success = 0, GU_Hierarchy::ComputeHierarchyResult::NoRoots, GU_Hierarchy::ComputeHierarchyResult::BadRoot, GU_Hierarchy::ComputeHierarchyResult::FoundCycle,
  GU_Hierarchy::ComputeHierarchyResult::IncompleteTraversal
}
 

Functions

GU_API GA_Offset GU_Hierarchy::getParent (const GU_Detail *gdp, const GA_Offset &node)
 
GU_API GA_Offset GU_Hierarchy::getParentVertex (const GU_Detail *gdp, const GA_Offset &node)
 
GU_API void GU_Hierarchy::getParents (const GU_Detail *gdp, const GA_Offset &node, GA_OffsetArray &children)
 
GU_API void GU_Hierarchy::getParents (const GU_Detail *gdp, const GA_Offset &node, UT_Set< GA_Offset > &children)
 
GU_API GA_OffsetArray GU_Hierarchy::getChildren (const GU_Detail *gdp, const GA_Offset &node, bool recurse=false)
 
GU_API void GU_Hierarchy::getChildren (const GU_Detail *gdp, const GA_Offset &node, GA_OffsetArray &children, bool recurse=false)
 
GU_API void GU_Hierarchy::getChildren (const GU_Detail *gdp, const GA_Offset &node, UT_Set< GA_Offset > &children, bool recurse=false)
 
GU_API const UT_StringHolderGU_Hierarchy::getComputeHierarchyMessage (ComputeHierarchyResult result)
 Returns a descriptive message for the ComputeHierarchyResult. More...
 
GU_API ComputeHierarchyResult GU_Hierarchy::traverse (const GU_Detail *gdp, GA_OffsetArray &roots, GA_OffsetArray &nodes, GA_OffsetArray &parents, UT_Map< GA_Offset, GA_OffsetArray > *children=nullptr)
 
GU_API bool GU_Hierarchy::findRoots (const GU_Detail *gdp, GA_OffsetArray &roots)
 
GU_API void GU_Hierarchy::computeLocalTransform (const GU_Detail *gdp, const GA_OffsetArray &nodes, const GA_OffsetArray &parents, const UT_Vector3DArray &P, const UT_Matrix3DArray &transform, UT_Matrix4DArray &local, UT_Matrix4DArray &effective_local, const UT_IntArray &model)
 
GU_API void GU_Hierarchy::computeWorldTransform (const GU_Detail *gdp, const GA_OffsetArray &nodes, const GA_OffsetArray &parents, UT_Vector3DArray &P, UT_Matrix3DArray &transform, const UT_Matrix4DArray &local, UT_Matrix4DArray &effective_local, const UT_IntArray &model, const GA_PointGroup *constrain_grp, const UT_Array< int > *flags, bool constrain_all)