#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 () |
void | GetParameters (unsigned int &, MeasurementType &) |
Superclass * | Left () |
Superclass * | Right () |
unsigned int | Size () |
void | GetWeightedCentroid (CentroidType &) |
void | GetCentroid (CentroidType &) |
InstanceIdentifier | GetInstanceIdentifier (vcl_size_t index) |
void | AddInstanceIdentifier (InstanceIdentifier id) |
Definition at line 253 of file itkKdTree.h.
|
Centroid type Reimplemented from itk::Statistics::KdTreeNode< TSample >. Definition at line 257 of file itkKdTree.h. Referenced by itk::Statistics::KdTreeTerminalNode< TSample >::GetCentroid(), and itk::Statistics::KdTreeTerminalNode< TSample >::GetWeightedCentroid(). |
|
Instance identifier type (index value type for the measurement vector in a sample Reimplemented from itk::Statistics::KdTreeNode< TSample >. Definition at line 258 of file itkKdTree.h. Referenced by itk::Statistics::KdTreeTerminalNode< TSample >::AddInstanceIdentifier(), and itk::Statistics::KdTreeTerminalNode< TSample >::GetInstanceIdentifier(). |
|
Measurement type, not the measurement vector type Reimplemented from itk::Statistics::KdTreeNode< TSample >. Definition at line 256 of file itkKdTree.h. Referenced by itk::Statistics::KdTreeTerminalNode< TSample >::GetParameters(). |
|
Definition at line 255 of file itkKdTree.h. Referenced by itk::Statistics::KdTreeTerminalNode< TSample >::Left(), and itk::Statistics::KdTreeTerminalNode< TSample >::Right(). |
|
Definition at line 260 of file itkKdTree.h. |
|
Definition at line 262 of file itkKdTree.h. |
|
Add an instance to this node Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 288 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::InstanceIdentifier. |
|
Returns the centroid. weighted centroid divided by the size Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 282 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::CentroidType. |
|
Retuns the instance identifier of the index-th measurement vector Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 285 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 267 of file itkKdTree.h. References itk::Statistics::KdTreeTerminalNode< TSample >::MeasurementType. |
|
Returns the vector sum of the all measurement vectors under this node Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 279 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 264 of file itkKdTree.h. |
|
Returns the pointer to the left child of this node Implements itk::Statistics::KdTreeNode< TSample >. Definition at line 270 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 273 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 276 of file itkKdTree.h. |