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

itk::Statistics::PointSetToListAdaptor< TPointSet > Class Template Reference

This class provides ListSampleBase interfaces to ITK PointSet. More...

#include <itkPointSetToListAdaptor.h>

Inheritance diagram for itk::Statistics::PointSetToListAdaptor:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::PointSetToListAdaptor< TPointSet >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef PointSetToListAdaptor Self
typedef ListSampleBase< typename
TPointSet::PointType > 
Superclass
typedef SmartPointer< SelfPointer
typedef TPointSet PointSetType
typedef TPointSet::Pointer PointSetPointer
typedef TPointSet::PointIdentifier InstanceIdentifier
typedef TPointSet::PointsContainerPointer PointsContainerPointer
typedef TPointSet::PointsContainerIterator PointsContainerIterator
typedef TPointSet::PointType PointType
typedef Superclass::MeasurementType MeasurementType
typedef Superclass::MeasurementVectorType MeasurementVectorType
typedef MeasurementVectorType ValueType
typedef Superclass::FrequencyType FrequencyType

Public Methods

virtual const char * GetClassName () const
 itkStaticConstMacro (MeasurementVectorSize, unsigned int, TPointSet::PointDimension)
void SetPointSet (PointSetPointer pointSet)
PointSetPointer GetPointSet ()
unsigned int Size () const
unsigned int Size (const unsigned int &dimension) const
unsigned int GetNumberOfInstances () const
MeasurementVectorTypeGetMeasurementVector (const InstanceIdentifier &id)
void SetMeasurement (const InstanceIdentifier &id, const unsigned int &dim, const MeasurementType &value)
FrequencyType GetFrequency (const InstanceIdentifier &id) const
FrequencyType GetTotalFrequency (const unsigned int &dimension) const
Iterator Begin ()
Iterator End ()

Static Public Methods

Pointer New ()

Protected Methods

 PointSetToListAdaptor ()
virtual ~PointSetToListAdaptor ()
void PrintSelf (std::ostream &os, Indent indent) const

Friends

class Iterator

Detailed Description

template<class TPointSet>
class itk::Statistics::PointSetToListAdaptor< TPointSet >

This class provides ListSampleBase interfaces to ITK PointSet.

After calling SetPointSet(PointSet::Pointer) method to plug-in the PointSet object, users can use Sample interfaces to access PointSet data. This adaptor assumes that the PointsContainer is actual storage for measurment vectors. In other words, PointSet's points are equal to measurement vectors. This class totally ignores PointsDataContainer.

See also:
Sample, ListSampleBase, DefaultStaticMeshTraits, PointSet

Definition at line 43 of file itkPointSetToListAdaptor.h.


Member Typedef Documentation

template<class TPointSet>
typedef Superclass::FrequencyType itk::Statistics::PointSetToListAdaptor< TPointSet >::FrequencyType
 

Reimplemented from itk::Statistics::ListSampleBase< TPointSet::PointType >.

Definition at line 76 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef TPointSet::PointIdentifier itk::Statistics::PointSetToListAdaptor< TPointSet >::InstanceIdentifier
 

Reimplemented from itk::Statistics::ListSampleBase< TPointSet::PointType >.

Definition at line 65 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef Superclass::MeasurementType itk::Statistics::PointSetToListAdaptor< TPointSet >::MeasurementType
 

Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value

Reimplemented from itk::Statistics::ListSampleBase< TPointSet::PointType >.

Definition at line 73 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef Superclass::MeasurementVectorType itk::Statistics::PointSetToListAdaptor< TPointSet >::MeasurementVectorType
 

Reimplemented from itk::Statistics::ListSampleBase< TPointSet::PointType >.

Definition at line 74 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef SmartPointer< Self > itk::Statistics::PointSetToListAdaptor< TPointSet >::Pointer
 

Reimplemented from itk::Statistics::Sample< TPointSet::PointType >.

Definition at line 50 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef TPointSet::PointsContainerIterator itk::Statistics::PointSetToListAdaptor< TPointSet >::PointsContainerIterator
 

Definition at line 67 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef TPointSet::PointsContainerPointer itk::Statistics::PointSetToListAdaptor< TPointSet >::PointsContainerPointer
 

Definition at line 66 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef TPointSet::Pointer itk::Statistics::PointSetToListAdaptor< TPointSet >::PointSetPointer
 

Definition at line 64 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef TPointSet itk::Statistics::PointSetToListAdaptor< TPointSet >::PointSetType
 

PointSet typedefs

Definition at line 63 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef TPointSet::PointType itk::Statistics::PointSetToListAdaptor< TPointSet >::PointType
 

Definition at line 68 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef PointSetToListAdaptor itk::Statistics::PointSetToListAdaptor< TPointSet >::Self
 

Standard class typedefs

Reimplemented from itk::Statistics::ListSampleBase< TPointSet::PointType >.

Definition at line 48 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef ListSampleBase< typename TPointSet::PointType > itk::Statistics::PointSetToListAdaptor< TPointSet >::Superclass
 

Reimplemented from itk::Statistics::ListSampleBase< TPointSet::PointType >.

Definition at line 49 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
typedef MeasurementVectorType itk::Statistics::PointSetToListAdaptor< TPointSet >::ValueType
 

Definition at line 75 of file itkPointSetToListAdaptor.h.


Constructor & Destructor Documentation

template<class TPointSet>
itk::Statistics::PointSetToListAdaptor< TPointSet >::PointSetToListAdaptor   [inline, protected]
 

Definition at line 177 of file itkPointSetToListAdaptor.h.

References HardConnectedComponentImageFilter::PrintSelf().

template<class TPointSet>
virtual itk::Statistics::PointSetToListAdaptor< TPointSet >::~PointSetToListAdaptor   [inline, protected, virtual]
 

Definition at line 178 of file itkPointSetToListAdaptor.h.


Member Function Documentation

template<class TPointSet>
Iterator itk::Statistics::PointSetToListAdaptor< TPointSet >::Begin void    [inline]
 

returns an iterator that points to the beginning of the container

Definition at line 117 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
Iterator itk::Statistics::PointSetToListAdaptor< TPointSet >::End void    [inline]
 

returns an iterator that points to the end of the container

Definition at line 125 of file itkPointSetToListAdaptor.h.

template<class TPointSet>
virtual const char* itk::Statistics::PointSetToListAdaptor< TPointSet >::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Statistics::ListSampleBase< TPointSet::PointType >.

template<class TPointSet>
FrequencyType itk::Statistics::PointSetToListAdaptor< TPointSet >::GetFrequency const InstanceIdentifier   id const [virtual]
 

returns 1 as other subclasses of ListSampleBase does

Implements itk::Statistics::Sample< TPointSet::PointType >.

template<class TPointSet>
MeasurementVectorType& itk::Statistics::PointSetToListAdaptor< TPointSet >::GetMeasurementVector const InstanceIdentifier   id [virtual]
 

returns the measurement vector that is specified by the instance identifier argument.

Implements itk::Statistics::Sample< TPointSet::PointType >.

template<class TPointSet>
unsigned int itk::Statistics::PointSetToListAdaptor< TPointSet >::GetNumberOfInstances   const [virtual]
 

returns the number of measurement vectors int this container

Implements itk::Statistics::Sample< TPointSet::PointType >.

template<class TPointSet>
PointSetPointer itk::Statistics::PointSetToListAdaptor< TPointSet >::GetPointSet  
 

Method to get the point set

template<class TPointSet>
FrequencyType itk::Statistics::PointSetToListAdaptor< TPointSet >::GetTotalFrequency const unsigned int &    dimension const [virtual]
 

returns the size of this container

Implements itk::Statistics::Sample< TPointSet::PointType >.

template<class TPointSet>
itk::Statistics::PointSetToListAdaptor< TPointSet >::itkStaticConstMacro MeasurementVectorSize   ,
unsigned    int,
TPointSet::PointDimension   
 

the number of components in a measurement vector

template<class TPointSet>
Pointer itk::Statistics::PointSetToListAdaptor< TPointSet >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TPointSet>
void itk::Statistics::PointSetToListAdaptor< TPointSet >::PrintSelf std::ostream &    os,
Indent    indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Statistics::Sample< TPointSet::PointType >.

template<class TPointSet>
void itk::Statistics::PointSetToListAdaptor< TPointSet >::SetMeasurement const InstanceIdentifier   id,
const unsigned int &    dim,
const MeasurementType   value
 

sets the "dim" dimensional component value of the measurement vector that is specified by "id".

template<class TPointSet>
void itk::Statistics::PointSetToListAdaptor< TPointSet >::SetPointSet PointSetPointer    pointSet
 

Method to set the point set

template<class TPointSet>
unsigned int itk::Statistics::PointSetToListAdaptor< TPointSet >::Size const unsigned int &    dimension const [virtual]
 

returns the number of measurement vectors int this container. The size of each dimension in any subclass of ListSampleBase doen't vary. However, the dimension's size of histogram can be different from other dimensions

Implements itk::Statistics::Sample< TPointSet::PointType >.

template<class TPointSet>
unsigned int itk::Statistics::PointSetToListAdaptor< TPointSet >::Size   const [virtual]
 

returns the number of measurement vectors in this container

Implements itk::Statistics::Sample< TPointSet::PointType >.


Friends And Related Function Documentation

template<class TPointSet>
friend class Iterator [friend]
 

Definition at line 114 of file itkPointSetToListAdaptor.h.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:53:51 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000