Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::KdTreeTerminalNode< TSample > Class Template Reference

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. More...

#include <itkKdTree.h>

Inheritance diagram for itk::Statistics::KdTreeTerminalNode< TSample >:
Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::KdTreeTerminalNode< TSample >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Superclass::CentroidType CentroidType
typedef Superclass::CentroidType CentroidType
typedef
Superclass::InstanceIdentifier 
InstanceIdentifier
typedef
Superclass::InstanceIdentifier 
InstanceIdentifier
typedef Superclass::MeasurementType MeasurementType
typedef Superclass::MeasurementType MeasurementType
typedef KdTreeNode< TSample > Self
typedef KdTreeNode< TSample > Self
typedef KdTreeNode< TSample > Superclass
typedef KdTreeNode< TSample > Superclass

Public Member Functions

void AddInstanceIdentifier (InstanceIdentifier id)
void AddInstanceIdentifier (InstanceIdentifier id)
void GetCentroid (CentroidType &)
void GetCentroid (CentroidType &)
InstanceIdentifier GetInstanceIdentifier (vcl_size_t index) const
InstanceIdentifier GetInstanceIdentifier (vcl_size_t index) const
void GetParameters (unsigned int &, MeasurementType &) const
void GetParameters (unsigned int &, MeasurementType &) const
void GetWeightedCentroid (CentroidType &)
void GetWeightedCentroid (CentroidType &)
bool IsTerminal () const
bool IsTerminal () const
 KdTreeTerminalNode ()
 KdTreeTerminalNode ()
const SuperclassLeft () const
SuperclassLeft ()
const SuperclassLeft () const
SuperclassLeft ()
const SuperclassRight () const
SuperclassRight ()
const SuperclassRight () const
SuperclassRight ()
unsigned int Size () const
unsigned int Size () const
virtual ~KdTreeTerminalNode ()
virtual ~KdTreeTerminalNode ()

Detailed Description

template<class TSample>
class itk::Statistics::KdTreeTerminalNode< TSample >

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.

See also:
KdTreeNode, KdTreeNonterminalNode, KdTreeWeightedCentroidNonterminalNode

Definition at line 291 of file Numerics/Statistics/itkKdTree.h.


Member Typedef Documentation

template<class TSample >
typedef Superclass::CentroidType itk::Statistics::KdTreeTerminalNode< TSample >::CentroidType

Centroid type

Reimplemented from itk::Statistics::KdTreeNode< TSample >.

Definition at line 326 of file Review/Statistics/itkKdTree.h.

template<class TSample >
typedef Superclass::CentroidType itk::Statistics::KdTreeTerminalNode< TSample >::CentroidType

Centroid type

Reimplemented from itk::Statistics::KdTreeNode< TSample >.

Definition at line 295 of file Numerics/Statistics/itkKdTree.h.

Instance identifier type (index value type for the measurement vector in a sample

Reimplemented from itk::Statistics::KdTreeNode< TSample >.

Definition at line 327 of file Review/Statistics/itkKdTree.h.

Instance identifier type (index value type for the measurement vector in a sample

Reimplemented from itk::Statistics::KdTreeNode< TSample >.

Definition at line 296 of file Numerics/Statistics/itkKdTree.h.

Measurement type, not the measurement vector type

Reimplemented from itk::Statistics::KdTreeNode< TSample >.

Definition at line 325 of file Review/Statistics/itkKdTree.h.

Measurement type, not the measurement vector type

Reimplemented from itk::Statistics::KdTreeNode< TSample >.

Definition at line 294 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
typedef KdTreeNode< TSample> itk::Statistics::KdTreeNode< TSample >::Self [inherited]

type alias for itself

Definition at line 66 of file Review/Statistics/itkKdTree.h.

template<class TSample >
typedef KdTreeNode< TSample> itk::Statistics::KdTreeNode< TSample >::Self [inherited]

type alias for itself

Definition at line 69 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
typedef KdTreeNode< TSample > itk::Statistics::KdTreeTerminalNode< TSample >::Superclass

Definition at line 324 of file Review/Statistics/itkKdTree.h.

template<class TSample >
typedef KdTreeNode< TSample > itk::Statistics::KdTreeTerminalNode< TSample >::Superclass

Definition at line 293 of file Numerics/Statistics/itkKdTree.h.


Constructor & Destructor Documentation

template<class TSample >
itk::Statistics::KdTreeTerminalNode< TSample >::KdTreeTerminalNode (  )  [inline]

Definition at line 298 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
virtual itk::Statistics::KdTreeTerminalNode< TSample >::~KdTreeTerminalNode (  )  [inline, virtual]

Definition at line 300 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
itk::Statistics::KdTreeTerminalNode< TSample >::KdTreeTerminalNode (  )  [inline]

Definition at line 329 of file Review/Statistics/itkKdTree.h.

template<class TSample >
virtual itk::Statistics::KdTreeTerminalNode< TSample >::~KdTreeTerminalNode (  )  [inline, virtual]

Definition at line 331 of file Review/Statistics/itkKdTree.h.


Member Function Documentation

template<class TSample >
void itk::Statistics::KdTreeTerminalNode< TSample >::AddInstanceIdentifier ( InstanceIdentifier  id  )  [inline, virtual]

Add an instance to this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 384 of file Review/Statistics/itkKdTree.h.

template<class TSample >
void itk::Statistics::KdTreeTerminalNode< TSample >::AddInstanceIdentifier ( InstanceIdentifier  id  )  [inline, virtual]

Add an instance to this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 335 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
void itk::Statistics::KdTreeTerminalNode< TSample >::GetCentroid ( CentroidType centroid  )  [inline, virtual]

Returns the centroid. weighted centroid divided by the size

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 374 of file Review/Statistics/itkKdTree.h.

template<class TSample >
void itk::Statistics::KdTreeTerminalNode< TSample >::GetCentroid ( CentroidType centroid  )  [inline, virtual]

Returns the centroid. weighted centroid divided by the size

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 329 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
InstanceIdentifier itk::Statistics::KdTreeTerminalNode< TSample >::GetInstanceIdentifier ( vcl_size_t  index  )  const [inline, virtual]

Retuns the instance identifier of the index-th measurement vector

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 379 of file Review/Statistics/itkKdTree.h.

template<class TSample >
InstanceIdentifier itk::Statistics::KdTreeTerminalNode< TSample >::GetInstanceIdentifier ( vcl_size_t  index  )  const [inline, virtual]

Retuns the instance identifier of the index-th measurement vector

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 332 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
void itk::Statistics::KdTreeTerminalNode< TSample >::GetParameters ( unsigned int &  partitionDimension,
MeasurementType partitionValue 
) const [inline, virtual]

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 341 of file Review/Statistics/itkKdTree.h.

template<class TSample >
void itk::Statistics::KdTreeTerminalNode< TSample >::GetParameters ( unsigned int &  partitionDimension,
MeasurementType partitionValue 
) const [inline, virtual]

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 308 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
void itk::Statistics::KdTreeTerminalNode< TSample >::GetWeightedCentroid ( CentroidType centroid  )  [inline, virtual]

Returns the vector sum of the all measurement vectors under this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 369 of file Review/Statistics/itkKdTree.h.

template<class TSample >
void itk::Statistics::KdTreeTerminalNode< TSample >::GetWeightedCentroid ( CentroidType centroid  )  [inline, virtual]

Returns the vector sum of the all measurement vectors under this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 326 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
bool itk::Statistics::KdTreeTerminalNode< TSample >::IsTerminal (  )  const [inline, virtual]

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 336 of file Review/Statistics/itkKdTree.h.

template<class TSample >
bool itk::Statistics::KdTreeTerminalNode< TSample >::IsTerminal (  )  const [inline, virtual]

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 305 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
const Superclass* itk::Statistics::KdTreeTerminalNode< TSample >::Left (  )  const [inline, virtual]

Returns the pointer to the left child of this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 354 of file Review/Statistics/itkKdTree.h.

template<class TSample >
Superclass* itk::Statistics::KdTreeTerminalNode< TSample >::Left (  )  [inline, virtual]

Returns the pointer to the left child of this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 344 of file Review/Statistics/itkKdTree.h.

template<class TSample >
const Superclass* itk::Statistics::KdTreeTerminalNode< TSample >::Left (  )  const [inline, virtual]

Returns the pointer to the left child of this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 317 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
Superclass* itk::Statistics::KdTreeTerminalNode< TSample >::Left (  )  [inline, virtual]

Returns the pointer to the left child of this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 311 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
const Superclass* itk::Statistics::KdTreeTerminalNode< TSample >::Right (  )  const [inline, virtual]

Returns the pointer to the left child of this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 359 of file Review/Statistics/itkKdTree.h.

template<class TSample >
Superclass* itk::Statistics::KdTreeTerminalNode< TSample >::Right (  )  [inline, virtual]

Returns the pointer to the right child of this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 349 of file Review/Statistics/itkKdTree.h.

template<class TSample >
const Superclass* itk::Statistics::KdTreeTerminalNode< TSample >::Right (  )  const [inline, virtual]

Returns the pointer to the left child of this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 320 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
Superclass* itk::Statistics::KdTreeTerminalNode< TSample >::Right (  )  [inline, virtual]

Returns the pointer to the right child of this node

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 314 of file Numerics/Statistics/itkKdTree.h.

template<class TSample >
unsigned int itk::Statistics::KdTreeTerminalNode< TSample >::Size (  )  const [inline, virtual]

Returs the number of measurement vectors under this node including its children

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 364 of file Review/Statistics/itkKdTree.h.

template<class TSample >
unsigned int itk::Statistics::KdTreeTerminalNode< TSample >::Size (  )  const [inline, virtual]

Returs the number of measurement vectors under this node including its children

Implements itk::Statistics::KdTreeNode< TSample >.

Definition at line 323 of file Numerics/Statistics/itkKdTree.h.


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

Generated at Sat Apr 17 02:04:15 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000