HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Hierarchy.h File Reference
#include "GU_API.h"
#include <GA/GA_Types.h>
#include <UT/UT_Array.h>
#include <UT/UT_Map.h>
#include <UT/UT_StringArray.h>
#include <UT/UT_StringHolder.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 (GU_Detail *gdp, const GA_Offset &node)
 
GU_API GA_OffsetArray GU_Hierarchy::getChildren (GU_Detail *gdp, const GA_Offset &node)
 
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=nullptr, bool constrain_all=false)