CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O > Class Template Reference

#include <GiExtentsSpaceTree.h>

Public Member Functions

 OdGiExtentsSpaceTree ()
 
 ~OdGiExtentsSpaceTree ()
 
void setCallback (OdGiExtentsSpaceTreeCallback< E, O > *pCallback)
 
void buildTree (E &extents, int nTypeOfObjects, OdInt depth=2)
 
void reset ()
 
void setAdaptive (bool bAdaptive)
 
void setMaxNodeObjects (OdUInt64 nObjects)
 
O * processObject (O *pObject, int iObjectType, bool bCheckTheSame=false, const OdGeTol &tol=OdGeContext::gTol)
 
OdList< OdGiExtentsSpaceNode< E, O > * > * retrieveLeaves ()
 
bool getRootExtents (E &exts)
 
OdList< OdGiExtentsSpaceNode< E, O > * > * getExtentsLeaves (E &ext)
 
OdList< OdGiExtentsSpaceNode< E, O > * > * getPointLeaves (const P &pt)
 

Detailed Description

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E, class P, class O>
class OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >

Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 214 of file GiExtentsSpaceTree.h.

Constructor & Destructor Documentation

◆ OdGiExtentsSpaceTree()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::OdGiExtentsSpaceTree ( )
inline

Definition at line 241 of file GiExtentsSpaceTree.h.

◆ ~OdGiExtentsSpaceTree()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::~OdGiExtentsSpaceTree ( )
inline

Definition at line 250 of file GiExtentsSpaceTree.h.

Member Function Documentation

◆ buildTree()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
void OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::buildTree ( E extents,
int  nTypeOfObjects,
OdInt  depth = 2 
)
inline

Definition at line 256 of file GiExtentsSpaceTree.h.

◆ getExtentsLeaves()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
OdList<OdGiExtentsSpaceNode<E,O>*>* OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::getExtentsLeaves ( E ext)
inline

Definition at line 334 of file GiExtentsSpaceTree.h.

◆ getPointLeaves()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
OdList<OdGiExtentsSpaceNode<E,O>*>* OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::getPointLeaves ( const P &  pt)
inline

Definition at line 349 of file GiExtentsSpaceTree.h.

◆ getRootExtents()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
bool OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::getRootExtents ( E exts)
inline

Definition at line 321 of file GiExtentsSpaceTree.h.

◆ processObject()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
O* OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::processObject ( O *  pObject,
int  iObjectType,
bool  bCheckTheSame = false,
const OdGeTol tol = OdGeContext::gTol 
)
inline

Definition at line 302 of file GiExtentsSpaceTree.h.

◆ reset()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
void OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::reset ( )
inline

Definition at line 275 of file GiExtentsSpaceTree.h.

◆ retrieveLeaves()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
OdList<OdGiExtentsSpaceNode<E,O>*>* OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::retrieveLeaves ( )
inline

Definition at line 318 of file GiExtentsSpaceTree.h.

◆ setAdaptive()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
void OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::setAdaptive ( bool  bAdaptive)
inline

Definition at line 296 of file GiExtentsSpaceTree.h.

◆ setCallback()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
void OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::setCallback ( OdGiExtentsSpaceTreeCallback< E, O > *  pCallback)
inline

Definition at line 253 of file GiExtentsSpaceTree.h.

◆ setMaxNodeObjects()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt64 MAX_NODE_OBJECT, class E , class P , class O >
void OdGiExtentsSpaceTree< NUM_AXIS, MAX_DEPTH, MAX_NODE_OBJECT, E, P, O >::setMaxNodeObjects ( OdUInt64  nObjects)
inline

Definition at line 299 of file GiExtentsSpaceTree.h.


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