cisst-saw
Loading...
Searching...
No Matches
msh3DirPDTreeBase Class Referenceabstract

#include <msh3DirPDTreeBase.h>

Inheritance diagram for msh3DirPDTreeBase:
msh3DirPDTreeMesh msh3DirPDTreePointCloud

Public Member Functions

 msh3DirPDTreeBase ()
virtual ~msh3DirPDTreeBase ()
int FastInitializeProximalDatum (const vct3 &v, const vct3 &n, vct3 &proxPoint, vct3 &proxNorm)
void SetSearchAlgorithm (msh3AlgDirPDTree *pAlg)
int FindClosestDatum (const vct3 &v, const vct3 &n, vct3 &closestPoint, vct3 &closestPointNorm, int prevDatum, double &matchError, unsigned int &numNodesSearched, double currentMatchError=std::numeric_limits< double >::max())
double ComputeDatumMatchError (const vct3 &v, const vct3 &n, int datum)
int NumData () const
int NumNodes () const
int TreeDepth () const
int ValidateClosestDatum (const vct3 &v, const vct3 &n, vct3 &closestPoint, vct3 &closestPointNorm)
int FindTerminalNode (int datum, msh3DirPDTreeNode **termNode)
void PrintTerminalNodes (std::ofstream &fs)
virtual vct3 DatumSortPoint (int datum)=0
virtual vct3 DatumNorm (int datum)=0
virtual void EnlargeBounds (const vctFrm3 &F, int datum, msh3BoundingBox &BB) const =0

Public Attributes

msh3AlgDirPDTreepAlgorithm

Protected Attributes

int NData
int NNodes
int treeDepth
int * DataIndices
msh3DirPDTreeNodeTop

Friends

class msh3DirPDTreeNode

Constructor & Destructor Documentation

◆ msh3DirPDTreeBase()

msh3DirPDTreeBase::msh3DirPDTreeBase ( )
inline

◆ ~msh3DirPDTreeBase()

virtual msh3DirPDTreeBase::~msh3DirPDTreeBase ( )
inlinevirtual

Member Function Documentation

◆ ComputeDatumMatchError()

double msh3DirPDTreeBase::ComputeDatumMatchError ( const vct3 & v,
const vct3 & n,
int datum )

◆ DatumNorm()

virtual vct3 msh3DirPDTreeBase::DatumNorm ( int datum)
pure virtual

◆ DatumSortPoint()

virtual vct3 msh3DirPDTreeBase::DatumSortPoint ( int datum)
pure virtual

◆ EnlargeBounds()

virtual void msh3DirPDTreeBase::EnlargeBounds ( const vctFrm3 & F,
int datum,
msh3BoundingBox & BB ) const
pure virtual

◆ FastInitializeProximalDatum()

int msh3DirPDTreeBase::FastInitializeProximalDatum ( const vct3 & v,
const vct3 & n,
vct3 & proxPoint,
vct3 & proxNorm )

◆ FindClosestDatum()

int msh3DirPDTreeBase::FindClosestDatum ( const vct3 & v,
const vct3 & n,
vct3 & closestPoint,
vct3 & closestPointNorm,
int prevDatum,
double & matchError,
unsigned int & numNodesSearched,
double currentMatchError = std::numeric_limits< double >::max() )

◆ FindTerminalNode()

int msh3DirPDTreeBase::FindTerminalNode ( int datum,
msh3DirPDTreeNode ** termNode )

◆ NumData()

int msh3DirPDTreeBase::NumData ( ) const
inline

◆ NumNodes()

int msh3DirPDTreeBase::NumNodes ( ) const
inline

◆ PrintTerminalNodes()

void msh3DirPDTreeBase::PrintTerminalNodes ( std::ofstream & fs)

◆ SetSearchAlgorithm()

void msh3DirPDTreeBase::SetSearchAlgorithm ( msh3AlgDirPDTree * pAlg)
inline

◆ TreeDepth()

int msh3DirPDTreeBase::TreeDepth ( ) const
inline

◆ ValidateClosestDatum()

int msh3DirPDTreeBase::ValidateClosestDatum ( const vct3 & v,
const vct3 & n,
vct3 & closestPoint,
vct3 & closestPointNorm )

◆ msh3DirPDTreeNode

friend class msh3DirPDTreeNode
friend

Member Data Documentation

◆ DataIndices

int* msh3DirPDTreeBase::DataIndices
protected

◆ NData

int msh3DirPDTreeBase::NData
protected

◆ NNodes

int msh3DirPDTreeBase::NNodes
protected

◆ pAlgorithm

msh3AlgDirPDTree* msh3DirPDTreeBase::pAlgorithm

◆ Top

msh3DirPDTreeNode* msh3DirPDTreeBase::Top
protected

◆ treeDepth

int msh3DirPDTreeBase::treeDepth
protected

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