CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
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 (OdUInt32 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)
 
OdList< OdGiExtentsSpaceNode< E, O > * > * getPointLeaves (const P &pt, double proximityRadius)
 

Detailed Description

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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 210 of file GiExtentsSpaceTree.h.

Constructor & Destructor Documentation

◆ OdGiExtentsSpaceTree()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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 240 of file GiExtentsSpaceTree.h.

◆ ~OdGiExtentsSpaceTree()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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 249 of file GiExtentsSpaceTree.h.

Member Function Documentation

◆ buildTree()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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 255 of file GiExtentsSpaceTree.h.

◆ getExtentsLeaves()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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 354 of file GiExtentsSpaceTree.h.

◆ getPointLeaves() [1/2]

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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 369 of file GiExtentsSpaceTree.h.

◆ getPointLeaves() [2/2]

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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,
double proximityRadius )
inline

Definition at line 381 of file GiExtentsSpaceTree.h.

◆ getRootExtents()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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 341 of file GiExtentsSpaceTree.h.

◆ processObject()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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, OdUInt32 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 274 of file GiExtentsSpaceTree.h.

◆ retrieveLeaves()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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 338 of file GiExtentsSpaceTree.h.

◆ setAdaptive()

template<OdUInt32 NUM_AXIS, OdUInt32 MAX_DEPTH, OdUInt32 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, OdUInt32 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 252 of file GiExtentsSpaceTree.h.

◆ setMaxNodeObjects()

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

Definition at line 299 of file GiExtentsSpaceTree.h.


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