#include <itkKdTree.h>
Inheritance diagram for itk::Statistics::KdTreeTerminalNode< TSample >:
Public Types | |
typedef KdTreeNode< TSample > | Superclass |
typedef Superclass::MeasurementType | MeasurementType |
typedef Superclass::CentroidType | CentroidType |
typedef Superclass::InstanceIdentifier | InstanceIdentifier |
Public Member Functions | |
KdTreeTerminalNode () | |
virtual | ~KdTreeTerminalNode () |
bool | IsTerminal () const |
void | GetParameters (unsigned int &, MeasurementType &) const |
Superclass * | Left () |
Superclass * | Right () |
const Superclass * | Left () const |
const Superclass * | Right () const |
unsigned int | Size () const |
void | GetWeightedCentroid (CentroidType &) |
void | GetCentroid (CentroidType &) |
InstanceIdentifier | GetInstanceIdentifier (vcl_size_t index) const |
void | AddInstanceIdentifier (InstanceIdentifier id) |
Definition at line 270 of file itkKdTree.h.
|
Centroid type Reimplemented from itk::Statistics::KdTreeNode< TSample >. Definition at line 274 of file itkKdTree.h. Referenced by itk::Statistics::KdTreeTerminalNode< TSample >::GetWeightedCentroid(), and itk::Statistics::KdTreeTerminalNode< TSample >::Size(). |
|
Instance identifier type (index value type for the measurement vector in a sample Reimplemented from itk::Statistics::KdTreeNode< TSample >. Definition at line 275 of file itkKdTree.h. Referenced by itk::Statistics::KdTreeTerminalNode< TSample >::GetCentroid(), and itk::Statistics::KdTreeTerminalNode< TSample >::GetInstanceIdentifier(). |
|
Measurement type, not the measurement vector type Reimplemented from itk::Statistics::KdTreeNode< TSample >. Definition at line 273 of file itkKdTree.h. Referenced by itk::Statistics::KdTreeTerminalNode< TSample >::IsTerminal(). |
|
Definition at line 272 of file itkKdTree.h. Referenced by itk::Statistics::KdTreeTerminalNode< TSample >::GetParameters(), itk::Statistics::KdTreeTerminalNode< TSample >::Left(), and itk::Statistics::KdTreeTerminalNode< TSample >::Right(). |
|
Definition at line 277 of file itkKdTree.h. |
|
Definition at line 279 of file itkKdTree.h. |
|
Add an instance to this node Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 312 of file itkKdTree.h. |
|
Returns the centroid. weighted centroid divided by the size Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 306 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::InstanceIdentifier. |
|
Retuns the instance identifier of the index-th measurement vector Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 309 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::InstanceIdentifier. |
|
Fills the partitionDimension (the dimension that was chosen to split the measurement vectors belong to this node to the left and the right child among k dimensions) and the partitionValue (the measurement value on the partitionDimension divides the left and the right child Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 284 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::Superclass. |
|
Returns the vector sum of the all measurement vectors under this node Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 303 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::CentroidType. |
|
Returns true if the node is a terminal node, that is a node that doesn't have any child. Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 281 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::MeasurementType. |
|
Returns the pointer to the left child of this node Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 294 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::Superclass. |
|
Returns the pointer to the left child of this node Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 287 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::Superclass. |
|
Returns the pointer to the right child of this node Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 297 of file itkKdTree.h. |
|
Returns the pointer to the right child of this node Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 290 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::Superclass. |
|
Returs the number of measurement vectors under this node including its children Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 300 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::CentroidType. |