Rasterfarm-SDK
Loading...
Searching...
No Matches
Tree::AACubeTree::Node Class Referenceabstract

#include <aacubetree.h>

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

Public Member Functions

 Node (Branch *pParent, const Primitive3D::AABoundingBox &Cube)
 
const BranchgetParent () const
 
virtual ~Node ()
 
virtual Leaffind (const Primitive3D::AABoundingBox &box)=0
 
virtual HeapArray< Leaf * > getLeaves ()=0
 
virtual HeapArray< Leaf * > intersect (const Primitive3D::AABoundingBox &Cube)=0
 
virtual HeapArray< Leaf * > inside (const Primitive3D::AABoundingBox &Cube, float precision=0.0f)=0
 
virtual HeapArray< Leaf * > inside (const Vertex3f &v, float precision=0.0f)=0
 
virtual HeapArray< Leaf * > within (const Primitive3D::AABoundingBox &Cube, float precision=0.0f)=0
 

Friends

class AACubeTree
 

Constructor & Destructor Documentation

◆ Node()

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

◆ ~Node()

virtual Tree::AACubeTree::Node::~Node ( )
virtual

Member Function Documentation

◆ find()

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

◆ getLeaves()

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

◆ getParent()

const Branch * Tree::AACubeTree::Node::getParent ( ) const
inline

◆ inside() [1/2]

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

Implemented in Tree::AACubeTree::Branch, and Tree::AACubeTree::Leaf.

◆ inside() [2/2]

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

Implemented in Tree::AACubeTree::Branch, and Tree::AACubeTree::Leaf.

◆ intersect()

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

Implemented in Tree::AACubeTree::Branch, and Tree::AACubeTree::Leaf.

◆ within()

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

Implemented in Tree::AACubeTree::Branch, and Tree::AACubeTree::Leaf.

Friends And Related Symbol Documentation

◆ AACubeTree

friend class AACubeTree
friend

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