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

#include <cubetree.h>

Inheritance diagram for Tree::CubeTree::Leaf:
Tree::CubeTree::Node Vector3f Vector

Public Member Functions

 Leaf (Branch *pParent, const Vertex3f &vertex)
 
virtual ~Leaf ()
 
virtual Leafinsert (const Vertex3f &vertex)
 
virtual Leaffind (const Vertex3f &vertex, float precision=0.0f)
 
virtual Leafnearest (const Vertex3f &vertex)
 
virtual Vector3fArray getVertices () const
 
virtual HeapArray< Handle > getIndices () const
 
virtual HeapArray< Leaf * > getLeaves ()
 
virtual Primitive3D::AABoundingBox getAABoundingBox ()
 
Handle getBaseIndex () const
 
bool hasDuplicates () const
 
const List< Handle > & getDuplicateVertexIndex ()
 
- Public Member Functions inherited from Tree::CubeTree::Node
 Node (Branch *pParent=nullptr)
 
const BranchgetParent () const
 
virtual ~Node ()
 

Friends

class CubeTree
 

Constructor & Destructor Documentation

◆ Leaf()

Tree::CubeTree::Leaf::Leaf ( Branch * pParent,
const Vertex3f & vertex )
Parameters
Pointerto the parent branch.
Thecopy vertex object.

◆ ~Leaf()

virtual Tree::CubeTree::Leaf::~Leaf ( )
virtual

Member Function Documentation

◆ find()

virtual Leaf * Tree::CubeTree::Leaf::find ( const Vertex3f & vertex,
float precision = 0.0f )
virtual

Implements Tree::CubeTree::Node.

◆ getAABoundingBox()

virtual Primitive3D::AABoundingBox Tree::CubeTree::Leaf::getAABoundingBox ( )
virtual

Implements Tree::CubeTree::Node.

◆ getBaseIndex()

Handle Tree::CubeTree::Leaf::getBaseIndex ( ) const
inline

◆ getDuplicateVertexIndex()

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

◆ getIndices()

virtual HeapArray< Handle > Tree::CubeTree::Leaf::getIndices ( ) const
virtual

Implements Tree::CubeTree::Node.

◆ getLeaves()

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

Implements Tree::CubeTree::Node.

◆ getVertices()

virtual Vector3fArray Tree::CubeTree::Leaf::getVertices ( ) const
virtual

Implements Tree::CubeTree::Node.

◆ hasDuplicates()

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

◆ insert()

virtual Leaf * Tree::CubeTree::Leaf::insert ( const Vertex3f & vertex)
virtual

Implements Tree::CubeTree::Node.

◆ nearest()

virtual Leaf * Tree::CubeTree::Leaf::nearest ( const Vertex3f & vertex)
virtual

Implements Tree::CubeTree::Node.

Friends And Related Symbol Documentation

◆ CubeTree

friend class CubeTree
friend

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