cisst-saw
Loading...
Searching...
No Matches
msh3DirPDTreeNode Class Reference

#include <msh3DirPDTreeNode.h>

Public Member Functions

 msh3DirPDTreeNode (int *pDataIndexArray, int numIndexes, msh3DirPDTreeBase *pTree, msh3DirPDTreeNode *pParent)
 msh3DirPDTreeNode (double)
 ~msh3DirPDTreeNode ()
msh3DirPDTreeNodeGetChildSplitNode (const vct3 &datumPos)
int FindClosestDatum (const vct3 &v, const vct3 &n, vct3 &closestPoint, vct3 &closestPointNorm, double &ErrorBound, unsigned int &numNodesVisited, unsigned int &numNodesSearched)
int NumData () const
int IsTerminalNode () const
int SortNodeForSplit ()
vctFrm3 ComputeCovFrame (int i0, int i1)
int ConstructSubtree (int CountThresh, double DiagThresh)
void AccumulateCentroid (int datum, vct3 &sum) const
void AccumulateVariances (int datum, const vct3 &mean, vctDouble3x3 &C) const
int Datum (int i) const
int & Datum (int i)
int FindTerminalNode (int datum, msh3DirPDTreeNode **termNode)
void PrintTerminalNodes (std::ofstream &fs)
bool NodeContainsDatum (int datum)

Public Attributes

msh3DirPDTreeBasepMyTree
msh3DirPDTreeNodepParent
msh3DirPDTreeNodepLEq
msh3DirPDTreeNodepMore
int * pDataIndices
int NData
int myDepth
vctFrm3 F
msh3BoundingBox Bounds
vct3 Navg
double dThetaMax

Protected Member Functions

vct3 ComputeOrientationParams ()

Constructor & Destructor Documentation

◆ msh3DirPDTreeNode() [1/2]

msh3DirPDTreeNode::msh3DirPDTreeNode ( int * pDataIndexArray,
int numIndexes,
msh3DirPDTreeBase * pTree,
msh3DirPDTreeNode * pParent )

◆ msh3DirPDTreeNode() [2/2]

msh3DirPDTreeNode::msh3DirPDTreeNode ( double )
inline

◆ ~msh3DirPDTreeNode()

msh3DirPDTreeNode::~msh3DirPDTreeNode ( )

Member Function Documentation

◆ AccumulateCentroid()

void msh3DirPDTreeNode::AccumulateCentroid ( int datum,
vct3 & sum ) const

◆ AccumulateVariances()

void msh3DirPDTreeNode::AccumulateVariances ( int datum,
const vct3 & mean,
vctDouble3x3 & C ) const

◆ ComputeCovFrame()

vctFrm3 msh3DirPDTreeNode::ComputeCovFrame ( int i0,
int i1 )

◆ ComputeOrientationParams()

vct3 msh3DirPDTreeNode::ComputeOrientationParams ( )
protected

◆ ConstructSubtree()

int msh3DirPDTreeNode::ConstructSubtree ( int CountThresh,
double DiagThresh )

◆ Datum() [1/2]

int & msh3DirPDTreeNode::Datum ( int i)
inline

◆ Datum() [2/2]

int msh3DirPDTreeNode::Datum ( int i) const
inline

◆ FindClosestDatum()

int msh3DirPDTreeNode::FindClosestDatum ( const vct3 & v,
const vct3 & n,
vct3 & closestPoint,
vct3 & closestPointNorm,
double & ErrorBound,
unsigned int & numNodesVisited,
unsigned int & numNodesSearched )

◆ FindTerminalNode()

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

◆ GetChildSplitNode()

msh3DirPDTreeNode * msh3DirPDTreeNode::GetChildSplitNode ( const vct3 & datumPos)

◆ IsTerminalNode()

int msh3DirPDTreeNode::IsTerminalNode ( ) const
inline

◆ NodeContainsDatum()

bool msh3DirPDTreeNode::NodeContainsDatum ( int datum)
inline

◆ NumData()

int msh3DirPDTreeNode::NumData ( ) const
inline

◆ PrintTerminalNodes()

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

◆ SortNodeForSplit()

int msh3DirPDTreeNode::SortNodeForSplit ( )

Member Data Documentation

◆ Bounds

msh3BoundingBox msh3DirPDTreeNode::Bounds

◆ dThetaMax

double msh3DirPDTreeNode::dThetaMax

◆ F

vctFrm3 msh3DirPDTreeNode::F

◆ myDepth

int msh3DirPDTreeNode::myDepth

◆ Navg

vct3 msh3DirPDTreeNode::Navg

◆ NData

int msh3DirPDTreeNode::NData

◆ pDataIndices

int* msh3DirPDTreeNode::pDataIndices

◆ pLEq

msh3DirPDTreeNode* msh3DirPDTreeNode::pLEq

◆ pMore

msh3DirPDTreeNode * msh3DirPDTreeNode::pMore

◆ pMyTree

msh3DirPDTreeBase* msh3DirPDTreeNode::pMyTree

◆ pParent

msh3DirPDTreeNode* msh3DirPDTreeNode::pParent

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