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

itk::Statistics::ListSampleBase< TMeasurementVector > Class Template Reference

This class is the base class for containers that have a list of measurement vectors. More...

#include <itkListSampleBase.h>

Inheritance diagram for itk::Statistics::ListSampleBase< TMeasurementVector >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::ListSampleBase< TMeasurementVector >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ListSampleBase Self
typedef Sample< TMeasurementVector > Superclass
typedef Superclass::MeasurementVectorType MeasurementVectorType
typedef Superclass::MeasurementType MeasurementType
typedef Superclass::FrequencyType FrequencyType
typedef Superclass::InstanceIdentifier InstanceIdentifier
typedef std::vector< InstanceIdentifierSearchResultVectorType

Public Member Functions

virtual const char * GetClassName () const
 itkStaticConstMacro (MeasurementVectorSize, unsigned int, TMeasurementVector::Length)
void Search (MeasurementVectorType center, double radius, SearchResultVectorType &result) const

Protected Member Functions

 ListSampleBase ()
virtual ~ListSampleBase ()

Detailed Description

template<class TMeasurementVector>
class itk::Statistics::ListSampleBase< TMeasurementVector >

This class is the base class for containers that have a list of measurement vectors.

ListSampleBase allows duplicates of measurement vectors. It's not sorted. It doesn't allow users to set frequency. The GetFrequency(...) methods returns 1 if a measurement vector exists, else 0.

See also:
Sample, Histogram

Definition at line 39 of file itkListSampleBase.h.


Member Typedef Documentation

template<class TMeasurementVector>
typedef Superclass::FrequencyType itk::Statistics::ListSampleBase< TMeasurementVector >::FrequencyType
 

frequency value typedef

Reimplemented from itk::Statistics::Sample< TMeasurementVector >.

Reimplemented in itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, and itk::Statistics::ListSample< TMeasurementVector >.

Definition at line 55 of file itkListSampleBase.h.

template<class TMeasurementVector>
typedef Superclass::InstanceIdentifier itk::Statistics::ListSampleBase< TMeasurementVector >::InstanceIdentifier
 

Instance Identifier typedef support this identifier will be unique sequential id for each measurement vector in a Sample subclass.

Reimplemented from itk::Statistics::Sample< TMeasurementVector >.

Reimplemented in itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, and itk::Statistics::ListSample< TMeasurementVector >.

Definition at line 56 of file itkListSampleBase.h.

Referenced by itk::Statistics::ListSampleBase< TMeasurementVector >::Search().

template<class TMeasurementVector>
typedef Superclass::MeasurementType itk::Statistics::ListSampleBase< TMeasurementVector >::MeasurementType
 

typedef for each element in a measurement vector

Reimplemented from itk::Statistics::Sample< TMeasurementVector >.

Reimplemented in itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, and itk::Statistics::ListSample< TMeasurementVector >.

Definition at line 54 of file itkListSampleBase.h.

template<class TMeasurementVector>
typedef Superclass::MeasurementVectorType itk::Statistics::ListSampleBase< TMeasurementVector >::MeasurementVectorType
 

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

Reimplemented from itk::Statistics::Sample< TMeasurementVector >.

Reimplemented in itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, and itk::Statistics::ListSample< TMeasurementVector >.

Definition at line 53 of file itkListSampleBase.h.

Referenced by itk::Statistics::ListSampleBase< TMeasurementVector >::Search().

template<class TMeasurementVector>
typedef std::vector< InstanceIdentifier > itk::Statistics::ListSampleBase< TMeasurementVector >::SearchResultVectorType
 

Reimplemented in itk::Statistics::ListSample< TMeasurementVector >.

Definition at line 58 of file itkListSampleBase.h.

Referenced by itk::Statistics::ListSampleBase< TMeasurementVector >::Search().

template<class TMeasurementVector>
typedef ListSampleBase itk::Statistics::ListSampleBase< TMeasurementVector >::Self
 

Standard class typedef.

Reimplemented from itk::Statistics::Sample< TMeasurementVector >.

Reimplemented in itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, and itk::Statistics::ListSample< TMeasurementVector >.

Definition at line 43 of file itkListSampleBase.h.

template<class TMeasurementVector>
typedef Sample< TMeasurementVector > itk::Statistics::ListSampleBase< TMeasurementVector >::Superclass
 

Reimplemented from itk::Statistics::Sample< TMeasurementVector >.

Reimplemented in itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, and itk::Statistics::ListSample< TMeasurementVector >.

Definition at line 44 of file itkListSampleBase.h.


Constructor & Destructor Documentation

template<class TMeasurementVector>
itk::Statistics::ListSampleBase< TMeasurementVector >::ListSampleBase  )  [inline, protected]
 

Definition at line 109 of file itkListSampleBase.h.

template<class TMeasurementVector>
virtual itk::Statistics::ListSampleBase< TMeasurementVector >::~ListSampleBase  )  [inline, protected, virtual]
 

Definition at line 110 of file itkListSampleBase.h.


Member Function Documentation

template<class TMeasurementVector>
virtual const char* itk::Statistics::ListSampleBase< TMeasurementVector >::GetClassName  )  const [virtual]
 

Standard macros

Reimplemented from itk::Statistics::Sample< TMeasurementVector >.

Reimplemented in itk::Statistics::ImageToListAdaptor< TImage, TMeasurementVector >, and itk::Statistics::ListSample< TMeasurementVector >.

template<class TMeasurementVector>
itk::Statistics::ListSampleBase< TMeasurementVector >::itkStaticConstMacro MeasurementVectorSize  ,
unsigned  int,
TMeasurementVector::Length 
 

VMeasurementVectorSize template argument alias

Reimplemented from itk::Statistics::Sample< TMeasurementVector >.

template<class TMeasurementVector>
void itk::Statistics::ListSampleBase< TMeasurementVector >::Search MeasurementVectorType  center,
double  radius,
SearchResultVectorType result
const [inline]
 

Definition at line 64 of file itkListSampleBase.h.

References itk::Statistics::ListSampleBase< TMeasurementVector >::InstanceIdentifier, itkGenericExceptionMacro, itk::Statistics::ListSampleBase< TMeasurementVector >::MeasurementVectorType, and itk::Statistics::ListSampleBase< TMeasurementVector >::SearchResultVectorType.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:24:25 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000