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

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

#include <itkSubsample.h>

Collaboration diagram for itk::Statistics::Subsample< TSample >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Subsample Self
typedef Sample< typename TSample::MeasurementVectorType > Superclass
typedef SmartPointer< SelfPointer
typedef TSample::Pointer SamplePointer
typedef TSample::MeasurementVectorType MeasurementVectorType
typedef TSample::MeasurementType MeasurementType
typedef TSample::InstanceIdentifier InstanceIdentifier
typedef TSample::FrequencyType FrequencyType
typedef MeasurementVectorType ValueType
typedef std::vector< InstanceIdentifierInstanceIdentifierHolder

Public Member Functions

virtual const char * GetClassName () const
 itkStaticConstMacro (MeasurementVectorSize, unsigned int, TSample::MeasurementVectorSize)
void SetSample (TSample *sample)
TSample * GetSample ()
void InitializeWithAllInstances ()
void AddInstance (InstanceIdentifier id)
unsigned int Size () const
void Clear ()
MeasurementVectorType GetMeasurementVector (const InstanceIdentifier &id)
FrequencyType GetFrequency (const InstanceIdentifier &id) const
FrequencyType GetTotalFrequency () const
void Swap (int index1, int index2)
MeasurementVectorType GetMeasurementVectorByIndex (int index)
FrequencyType GetFrequencyByIndex (int index)
InstanceIdentifier GetInstanceIdentifier (int index)
Iterator Begin ()
Iterator End ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

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


Member Typedef Documentation

template<class TSample>
typedef TSample::FrequencyType itk::Statistics::Subsample< TSample >::FrequencyType
 

Definition at line 51 of file itkSubsample.h.

Referenced by itk::Statistics::Subsample< TSample >::Iterator::GetFrequency(), itk::Statistics::Subsample< TSample >::GetFrequency(), and itk::Statistics::Subsample< TSample >::GetTotalFrequency().

template<class TSample>
typedef TSample::InstanceIdentifier itk::Statistics::Subsample< TSample >::InstanceIdentifier
 

Definition at line 50 of file itkSubsample.h.

Referenced by itk::Statistics::Subsample< TSample >::AddInstance(), itk::Statistics::Subsample< TSample >::GetFrequency(), itk::Statistics::Subsample< TSample >::Iterator::GetInstanceIdentifier(), and itk::Statistics::Subsample< TSample >::GetMeasurementVector().

template<class TSample>
typedef std::vector< InstanceIdentifier > itk::Statistics::Subsample< TSample >::InstanceIdentifierHolder
 

Type of the storage for instances that belong to the class represented by a Subsample object. A Subsample object stores only the InstanceIdentifiers. The actual data is still in the Sample object Definition at line 62 of file itkSubsample.h.

template<class TSample>
typedef TSample::MeasurementType itk::Statistics::Subsample< TSample >::MeasurementType
 

Definition at line 49 of file itkSubsample.h.

template<class TSample>
typedef TSample::MeasurementVectorType itk::Statistics::Subsample< TSample >::MeasurementVectorType
 

Typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value from the template argument TSample Definition at line 48 of file itkSubsample.h.

Referenced by itk::Statistics::Subsample< TSample >::Iterator::GetMeasurementVector(), and itk::Statistics::Subsample< TSample >::GetMeasurementVector().

template<class TSample>
typedef SmartPointer< Self > itk::Statistics::Subsample< TSample >::Pointer
 

Definition at line 35 of file itkSubsample.h.

template<class TSample>
typedef TSample::Pointer itk::Statistics::Subsample< TSample >::SamplePointer
 

Smart pointer to the actual sample data holder Definition at line 44 of file itkSubsample.h.

template<class TSample>
typedef Subsample itk::Statistics::Subsample< TSample >::Self
 

Standard class typedefs Definition at line 33 of file itkSubsample.h.

Referenced by itk::Statistics::Subsample< TSample >::Iterator::Iterator().

template<class TSample>
typedef Sample< typename TSample::MeasurementVectorType > itk::Statistics::Subsample< TSample >::Superclass
 

Definition at line 34 of file itkSubsample.h.

template<class TSample>
typedef MeasurementVectorType itk::Statistics::Subsample< TSample >::ValueType
 

Definition at line 52 of file itkSubsample.h.


Constructor & Destructor Documentation

template<class TSample>
itk::Statistics::Subsample< TSample >::Subsample  )  [protected]
 

template<class TSample>
virtual itk::Statistics::Subsample< TSample >::~Subsample  )  [inline, protected, virtual]
 

Definition at line 205 of file itkSubsample.h.


Member Function Documentation

template<class TSample>
void itk::Statistics::Subsample< TSample >::AddInstance InstanceIdentifier  id  )  [inline]
 

Definition at line 86 of file itkSubsample.h.

References itk::Statistics::Subsample< TSample >::InstanceIdentifier.

template<class TSample>
Iterator itk::Statistics::Subsample< TSample >::Begin void   )  [inline]
 

Definition at line 129 of file itkSubsample.h.

template<class TSample>
void itk::Statistics::Subsample< TSample >::Clear void   )  [inline]
 

Definition at line 99 of file itkSubsample.h.

template<class TSample>
Iterator itk::Statistics::Subsample< TSample >::End void   )  [inline]
 

Definition at line 135 of file itkSubsample.h.

template<class TSample>
virtual const char* itk::Statistics::Subsample< TSample >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

template<class TSample>
FrequencyType itk::Statistics::Subsample< TSample >::GetFrequency const InstanceIdentifier id  )  const [inline]
 

returns the frequency of the instance which is identified by the 'id' Definition at line 111 of file itkSubsample.h.

References itk::Statistics::Subsample< TSample >::FrequencyType, and itk::Statistics::Subsample< TSample >::InstanceIdentifier.

template<class TSample>
FrequencyType itk::Statistics::Subsample< TSample >::GetFrequencyByIndex int  index  ) 
 

template<class TSample>
InstanceIdentifier itk::Statistics::Subsample< TSample >::GetInstanceIdentifier int  index  ) 
 

template<class TSample>
MeasurementVectorType itk::Statistics::Subsample< TSample >::GetMeasurementVector const InstanceIdentifier id  )  [inline]
 

retunrs the measurement of the instance which is identified by the 'id' Definition at line 107 of file itkSubsample.h.

References itk::Statistics::Subsample< TSample >::InstanceIdentifier, and itk::Statistics::Subsample< TSample >::MeasurementVectorType.

template<class TSample>
MeasurementVectorType itk::Statistics::Subsample< TSample >::GetMeasurementVectorByIndex int  index  ) 
 

template<class TSample>
TSample* itk::Statistics::Subsample< TSample >::GetSample  )  [inline]
 

Definition at line 68 of file itkSubsample.h.

template<class TSample>
FrequencyType itk::Statistics::Subsample< TSample >::GetTotalFrequency  )  const [inline]
 

returns the total frequency for the 'd' dimension Definition at line 115 of file itkSubsample.h.

References itk::Statistics::Subsample< TSample >::FrequencyType.

template<class TSample>
void itk::Statistics::Subsample< TSample >::InitializeWithAllInstances  )  [inline]
 

Definition at line 71 of file itkSubsample.h.

template<class TSample>
itk::Statistics::Subsample< TSample >::itkStaticConstMacro MeasurementVectorSize  ,
unsigned  int,
TSample::MeasurementVectorSize 
 

MeasurementVectorSize constant from super class

template<class TSample>
Pointer itk::Statistics::Subsample< TSample >::New  )  [static]
 

standard New() method support

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

template<class TSample>
void itk::Statistics::Subsample< TSample >::SetSample TSample *  sample  )  [inline]
 

Plug in the actual sample data Definition at line 65 of file itkSubsample.h.

template<class TSample>
unsigned int itk::Statistics::Subsample< TSample >::Size void   )  const [inline]
 

returns SizeType object whose each element is the number of elements in each dimension Definition at line 94 of file itkSubsample.h.

template<class TSample>
void itk::Statistics::Subsample< TSample >::Swap int  index1,
int  index2
 


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