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 SmartPointer< const
Self
ConstPointer
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 (const TSample *sample)
const TSample * GetSample () const
void InitializeWithAllInstances ()
void AddInstance (InstanceIdentifier id)
unsigned int Size () const
void Clear ()
const MeasurementVectorTypeGetMeasurementVector (const InstanceIdentifier &id) const
FrequencyType GetFrequency (const InstanceIdentifier &id) const
FrequencyType GetTotalFrequency () const
void Swap (int index1, int index2)
MeasurementVectorType GetMeasurementVectorByIndex (int index) const
FrequencyType GetFrequencyByIndex (int index) const
InstanceIdentifier GetInstanceIdentifier (int index) const
Iterator Begin ()
Iterator End ()
ConstIterator Begin () const
ConstIterator End () const

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 SmartPointer<const Self> itk::Statistics::Subsample< TSample >::ConstPointer
 

Definition at line 36 of file itkSubsample.h.

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

Definition at line 52 of file itkSubsample.h.

Referenced by itk::Statistics::Subsample< TSample >::ConstIterator::GetFrequency(), 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 51 of file itkSubsample.h.

Referenced by itk::Statistics::Subsample< TSample >::AddInstance(), itk::Statistics::Subsample< TSample >::GetFrequency(), itk::Statistics::Subsample< TSample >::ConstIterator::GetInstanceIdentifier(), 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 63 of file itkSubsample.h.

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

Definition at line 50 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 49 of file itkSubsample.h.

Referenced by itk::Statistics::Subsample< TSample >::ConstIterator::GetMeasurementVector(), 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 45 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 >::ConstIterator::ConstIterator(), and 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 53 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 284 of file itkSubsample.h.


Member Function Documentation

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

Definition at line 88 of file itkSubsample.h.

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

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

Definition at line 270 of file itkSubsample.h.

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

Definition at line 258 of file itkSubsample.h.

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

Definition at line 101 of file itkSubsample.h.

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

Definition at line 276 of file itkSubsample.h.

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

Definition at line 264 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 113 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  )  const
 

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

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

retunrs the measurement of the instance which is identified by the 'id' Definition at line 109 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  )  const
 

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

Definition at line 69 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 117 of file itkSubsample.h.

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

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

Definition at line 73 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 const TSample *  sample  )  [inline]
 

Plug in the actual sample data Definition at line 66 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 96 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 Sun Apr 1 03:24:47 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000