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

#include <UT_FaceGradedOctreeLabels.h>

Public Types

enum  OctreeCellLabels { INACTIVE_CELL, ACTIVE_CELL, UP_CELL, DOWN_CELL }
 
enum  OctreeFaceLabels { INACTIVE_FACE, ACTIVE_FACE, UNASSIGNED_FACE }
 

Public Member Functions

 UT_FaceGradedOctreeLabels ()
 
void initFromMask (const UT_VoxelArrayF &initializer_mask, const int desired_levels)
 
bool unitTest () const
 
SYS_FORCE_INLINE UT_Vector3I getParentCell (const UT_Vector3I &cell) const
 
SYS_FORCE_INLINE UT_Vector3I getParentFace (const UT_Vector3I &face) const
 
SYS_FORCE_INLINE UT_Vector3I getParentNode (const UT_Vector3I &node) const
 
SYS_FORCE_INLINE UT_Vector3I getChildCell (const UT_Vector3I &cell, const int child_index) const
 
SYS_FORCE_INLINE UT_Vector3I getChildFace (const UT_Vector3I &face, const int axis, const int child_index) const
 
SYS_FORCE_INLINE UT_Vector3I getChildEdge (const UT_Vector3I &edge, const int edge_axis, const int child_index) const
 
SYS_FORCE_INLINE UT_Vector3I getChildNode (const UT_Vector3I &node) const
 
SYS_FORCE_INLINE UT_Vector3I getChildEdgeInFace (const UT_Vector3I &face, const int face_axis, const int edge_axis, const int child_index) const
 
SYS_FORCE_INLINE const
UT_VoxelArray< int > & 
getGridLabels (const int level) const
 
SYS_FORCE_INLINE UT_Vector3I getVoxelRes (const int level) const
 
SYS_FORCE_INLINE int getOctreeLevels () const
 
SYS_FORCE_INLINE OctreeCellLabels getCellLabel (const UT_Vector3I &cell, const int level) const
 
SYS_FORCE_INLINE bool isCellActive (const UT_Vector3I &cell, const int level) const
 

Detailed Description

Definition at line 24 of file UT_FaceGradedOctreeLabels.h.

Member Enumeration Documentation

Enumerator
INACTIVE_CELL 
ACTIVE_CELL 
UP_CELL 
DOWN_CELL 

Definition at line 39 of file UT_FaceGradedOctreeLabels.h.

Enumerator
INACTIVE_FACE 
ACTIVE_FACE 
UNASSIGNED_FACE 

Definition at line 57 of file UT_FaceGradedOctreeLabels.h.

Constructor & Destructor Documentation

UT_FaceGradedOctreeLabels::UT_FaceGradedOctreeLabels ( )
inline

Definition at line 64 of file UT_FaceGradedOctreeLabels.h.

Member Function Documentation

SYS_FORCE_INLINE OctreeCellLabels UT_FaceGradedOctreeLabels::getCellLabel ( const UT_Vector3I cell,
const int  level 
) const
inline

Definition at line 209 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE UT_Vector3I UT_FaceGradedOctreeLabels::getChildCell ( const UT_Vector3I cell,
const int  child_index 
) const
inline

Definition at line 103 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE UT_Vector3I UT_FaceGradedOctreeLabels::getChildEdge ( const UT_Vector3I edge,
const int  edge_axis,
const int  child_index 
) const
inline

Definition at line 140 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE UT_Vector3I UT_FaceGradedOctreeLabels::getChildEdgeInFace ( const UT_Vector3I face,
const int  face_axis,
const int  edge_axis,
const int  child_index 
) const
inline

Definition at line 164 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE UT_Vector3I UT_FaceGradedOctreeLabels::getChildFace ( const UT_Vector3I face,
const int  axis,
const int  child_index 
) const
inline

Definition at line 123 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE UT_Vector3I UT_FaceGradedOctreeLabels::getChildNode ( const UT_Vector3I node) const
inline

Definition at line 154 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE const UT_VoxelArray<int>& UT_FaceGradedOctreeLabels::getGridLabels ( const int  level) const
inline

Definition at line 186 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE int UT_FaceGradedOctreeLabels::getOctreeLevels ( ) const
inline

Definition at line 205 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE UT_Vector3I UT_FaceGradedOctreeLabels::getParentCell ( const UT_Vector3I cell) const
inline

Definition at line 78 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE UT_Vector3I UT_FaceGradedOctreeLabels::getParentFace ( const UT_Vector3I face) const
inline

Definition at line 89 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE UT_Vector3I UT_FaceGradedOctreeLabels::getParentNode ( const UT_Vector3I node) const
inline

Definition at line 96 of file UT_FaceGradedOctreeLabels.h.

SYS_FORCE_INLINE UT_Vector3I UT_FaceGradedOctreeLabels::getVoxelRes ( const int  level) const
inline

Definition at line 194 of file UT_FaceGradedOctreeLabels.h.

void UT_FaceGradedOctreeLabels::initFromMask ( const UT_VoxelArrayF initializer_mask,
const int  desired_levels 
)
SYS_FORCE_INLINE bool UT_FaceGradedOctreeLabels::isCellActive ( const UT_Vector3I cell,
const int  level 
) const
inline

Definition at line 217 of file UT_FaceGradedOctreeLabels.h.

bool UT_FaceGradedOctreeLabels::unitTest ( ) const

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