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 285 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 289 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 290 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 288 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 66 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 287 of file Numerics/Statistics/itkKdTree.h.


Constructor & Destructor Documentation

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

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

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

Definition at line 294 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 381 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 326 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 371 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 320 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 376 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 323 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 338 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 299 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 366 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 317 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 333 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 296 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 351 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 341 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 308 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 302 of file Numerics/Statistics/itkKdTree.h.

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

Returns the pointer to the right child of this node

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

Definition at line 356 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 346 of file Review/Statistics/itkKdTree.h.

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

Returns the pointer to the right child of this node

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

Definition at line 311 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 305 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 361 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 314 of file Numerics/Statistics/itkKdTree.h.


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

Generated at Tue Sep 15 15:38:51 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000