Rasterfarm-SDK
Loading...
Searching...
No Matches
Tree::AACubeTree::Leaf Class Reference

#include <aacubetree.h>

Inheritance diagram for Tree::AACubeTree::Leaf:
Tree::AACubeTree::Node

Public Member Functions

 Leaf (Branch *pParent, const Primitive3D::AABoundingBox &Cube)
 
virtual ~Leaf ()
 
virtual Leafinsert (const Primitive3D::AABoundingBox &Cube)
 
virtual Leaffind (const Primitive3D::AABoundingBox &box)
 
virtual HeapArray< Leaf * > getLeaves ()
 
virtual HeapArray< Leaf * > intersect (const Primitive3D::AABoundingBox &Cube)
 
virtual HeapArray< Leaf * > inside (const Primitive3D::AABoundingBox &Cube, float precision=0.0f)
 
virtual HeapArray< Leaf * > inside (const Vertex3f &v, float precision=0.0f)
 
virtual HeapArray< Leaf * > within (const Primitive3D::AABoundingBox &Cube, float precision=0.0f)
 
NodegetInnerNode ()
 
HeapArray< Leaf * > intersect ()
 
Handle getBaseIndex () const
 
bool hasDuplicates () const
 
const List< Handle > & getDuplicateVertexIndex ()
 
- Public Member Functions inherited from Tree::AACubeTree::Node
 Node (Branch *pParent, const Primitive3D::AABoundingBox &Cube)
 
const BranchgetParent () const
 
virtual ~Node ()
 

Friends

class AACubeTree
 

Constructor & Destructor Documentation

◆ Leaf()

Tree::AACubeTree::Leaf::Leaf ( Branch * pParent,
const Primitive3D::AABoundingBox & Cube )

◆ ~Leaf()

virtual Tree::AACubeTree::Leaf::~Leaf ( )
virtual

Member Function Documentation

◆ find()

virtual Leaf * Tree::AACubeTree::Leaf::find ( const Primitive3D::AABoundingBox & box)
virtual

◆ getBaseIndex()

Handle Tree::AACubeTree::Leaf::getBaseIndex ( ) const
inline
Returns
The index in the super-class AACubeTree:pNode.

◆ getDuplicateVertexIndex()

const List< Handle > & Tree::AACubeTree::Leaf::getDuplicateVertexIndex ( )
inline

◆ getInnerNode()

Node * Tree::AACubeTree::Leaf::getInnerNode ( )
inline

◆ getLeaves()

virtual HeapArray< Leaf * > Tree::AACubeTree::Leaf::getLeaves ( )
virtual

◆ hasDuplicates()

bool Tree::AACubeTree::Leaf::hasDuplicates ( ) const
inline

◆ insert()

virtual Leaf * Tree::AACubeTree::Leaf::insert ( const Primitive3D::AABoundingBox & Cube)
virtual

◆ inside() [1/2]

virtual HeapArray< Leaf * > Tree::AACubeTree::Leaf::inside ( const Primitive3D::AABoundingBox & Cube,
float precision = 0.0f )
virtual
Returns
An array of leaves that are inside the given Cube.

Implements Tree::AACubeTree::Node.

◆ inside() [2/2]

virtual HeapArray< Leaf * > Tree::AACubeTree::Leaf::inside ( const Vertex3f & v,
float precision = 0.0f )
virtual
Returns
An array of leaves that are inside the given Cube.

Implements Tree::AACubeTree::Node.

◆ intersect() [1/2]

HeapArray< Leaf * > Tree::AACubeTree::Leaf::intersect ( )
Returns
An array of all the neighboring-leaves that intersect this Leaf.

◆ intersect() [2/2]

virtual HeapArray< Leaf * > Tree::AACubeTree::Leaf::intersect ( const Primitive3D::AABoundingBox & Cube)
virtual
Returns
An array of leaves that intersect with the given Cube.

Implements Tree::AACubeTree::Node.

◆ within()

virtual HeapArray< Leaf * > Tree::AACubeTree::Leaf::within ( const Primitive3D::AABoundingBox & Cube,
float precision = 0.0f )
virtual
Returns
An array of leaves that given Cube lies within.

Implements Tree::AACubeTree::Node.

Friends And Related Symbol Documentation

◆ AACubeTree

friend class AACubeTree
friend

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