ITK
5.2.0
Insight Toolkit
|
#include <itkKdTree.h>
Public Types | |
using | CentroidType = typename Superclass::CentroidType |
using | InstanceIdentifier = typename Superclass::InstanceIdentifier |
using | MeasurementType = typename Superclass::MeasurementType |
using | Superclass = KdTreeNode< TSample > |
Public Types inherited from itk::Statistics::KdTreeNode< TSample > | |
using | CentroidType = Array< double > |
using | InstanceIdentifier = typename TSample::InstanceIdentifier |
using | MeasurementType = typename TSample::MeasurementType |
using | Self = KdTreeNode< TSample > |
Public Member Functions | |
void | AddInstanceIdentifier (InstanceIdentifier id) override |
void | GetCentroid (CentroidType &) override |
InstanceIdentifier | GetInstanceIdentifier (InstanceIdentifier index) const override |
void | GetParameters (unsigned int &, MeasurementType &) const override |
void | GetWeightedCentroid (CentroidType &) override |
bool | IsTerminal () const override |
KdTreeTerminalNode ()=default | |
const Superclass * | Left () const override |
Superclass * | Left () override |
const Superclass * | Right () const override |
Superclass * | Right () override |
unsigned int | Size () const override |
~KdTreeTerminalNode () override | |
Public Member Functions inherited from itk::Statistics::KdTreeNode< TSample > | |
virtual | ~KdTreeNode ()=default |
Private Attributes | |
std::vector< InstanceIdentifier > | m_InstanceIdentifiers |
This class is the node that doesn't have any child node. The IsTerminal method returns true for this class. This class stores the instance identifiers belonging to this node, while the nonterminal nodes do not store them. The AddInstanceIdentifier and GetInstanceIdentifier are storing and retrieving the instance identifiers belonging to this node.
Definition at line 394 of file itkKdTree.h.
using itk::Statistics::KdTreeTerminalNode< TSample >::CentroidType = typename Superclass::CentroidType |
Definition at line 398 of file itkKdTree.h.
using itk::Statistics::KdTreeTerminalNode< TSample >::InstanceIdentifier = typename Superclass::InstanceIdentifier |
Definition at line 399 of file itkKdTree.h.
using itk::Statistics::KdTreeTerminalNode< TSample >::MeasurementType = typename Superclass::MeasurementType |
Definition at line 397 of file itkKdTree.h.
using itk::Statistics::KdTreeTerminalNode< TSample >::Superclass = KdTreeNode<TSample> |
Definition at line 396 of file itkKdTree.h.
|
default |
|
inlineoverride |
Definition at line 403 of file itkKdTree.h.
|
inlineoverridevirtual |
Set the identifier of the node.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 483 of file itkKdTree.h.
|
inlineoverridevirtual |
Returns the centroid. weighted centroid divided by the size. Do nothing for this case.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 465 of file itkKdTree.h.
|
inlineoverridevirtual |
Returns the identifier of the only MeasurementVector associated with this node in the tree. This MeasurementVector will be used later during the distance computation when querying the tree.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 474 of file itkKdTree.h.
|
inlineoverridevirtual |
Return the parameters of the node.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 414 of file itkKdTree.h.
|
inlineoverridevirtual |
Returns the vector sum of the all measurement vectors under this node. Do nothing for this case.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 457 of file itkKdTree.h.
|
inlineoverridevirtual |
A terminal node.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 407 of file itkKdTree.h.
|
inlineoverridevirtual |
Return the left tree const pointer. Null for terminal nodes.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 433 of file itkKdTree.h.
|
inlineoverridevirtual |
Return the left tree pointer. Null for terminal nodes.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 419 of file itkKdTree.h.
|
inlineoverridevirtual |
Return the right tree const pointer. Null for terminal nodes.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 440 of file itkKdTree.h.
|
inlineoverridevirtual |
Return the right tree pointer. Null for terminal nodes.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 426 of file itkKdTree.h.
|
inlineoverridevirtual |
Return the size of the node.
Implements itk::Statistics::KdTreeNode< TSample >.
Definition at line 447 of file itkKdTree.h.
|
private |
Definition at line 489 of file itkKdTree.h.