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>

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 Member Functions

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

Static Public Member Functions

Pointer New ()

Protected Member Functions

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


Detailed Description

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

This class provides ListSampleBase interfaces to ITK PointSet.

After calling SetPointSet(PointSet*) 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
 

Definition at line 76 of file itkPointSetToListAdaptor.h.

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

Definition at line 65 of file itkPointSetToListAdaptor.h.

Referenced by itk::Statistics::PointSetToListAdaptor< TPointSet >::Iterator::GetMeasurementVector().

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

Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value Definition at line 73 of file itkPointSetToListAdaptor.h.

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

Definition at line 74 of file itkPointSetToListAdaptor.h.

Referenced by itk::Statistics::PointSetToListAdaptor< TPointSet >::Iterator::GetFrequency().

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

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.

Referenced by itk::Statistics::PointSetToListAdaptor< TPointSet >::Iterator::Iterator().

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

Definition at line 66 of file itkPointSetToListAdaptor.h.

Referenced by itk::Statistics::PointSetToListAdaptor< TPointSet >::~PointSetToListAdaptor().

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

Definition at line 64 of file itkPointSetToListAdaptor.h.

Referenced by itk::Statistics::PointSetToListAdaptor< TPointSet >::~PointSetToListAdaptor().

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.

Referenced by itk::Statistics::PointSetToListAdaptor< TPointSet >::~PointSetToListAdaptor().

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

Standard class typedefs Definition at line 48 of file itkPointSetToListAdaptor.h.

Referenced by itk::Statistics::PointSetToListAdaptor< TPointSet >::~PointSetToListAdaptor().

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

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  )  [protected]
 

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

Definition at line 169 of file itkPointSetToListAdaptor.h.

References itk::Statistics::PointSetToListAdaptor< TPointSet >::PointsContainerPointer, itk::Statistics::PointSetToListAdaptor< TPointSet >::PointSetPointer, itk::Statistics::PointSetToListAdaptor< TPointSet >::PointType, and itk::Statistics::PointSetToListAdaptor< TPointSet >::Self.


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 108 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 116 of file itkPointSetToListAdaptor.h.

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

Run-time type information (and related methods).

template<class TPointSet>
FrequencyType itk::Statistics::PointSetToListAdaptor< TPointSet >::GetFrequency const InstanceIdentifier id  )  const
 

returns 1 as other subclasses of ListSampleBase does

template<class TPointSet>
MeasurementVectorType itk::Statistics::PointSetToListAdaptor< TPointSet >::GetMeasurementVector const InstanceIdentifier id  ) 
 

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

template<class TPointSet>
TPointSet* itk::Statistics::PointSetToListAdaptor< TPointSet >::GetPointSet  ) 
 

Method to get the point set

template<class TPointSet>
FrequencyType itk::Statistics::PointSetToListAdaptor< TPointSet >::GetTotalFrequency  )  const
 

returns the size of this container

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.

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

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 TPointSet *  pointSet  ) 
 

Method to set the point set

template<class TPointSet>
unsigned int itk::Statistics::PointSetToListAdaptor< TPointSet >::Size  )  const
 

returns the number of measurement vectors in this container


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 03:13:49 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000