#include <itkListSample.h>
Inheritance diagram for itk::Statistics::ListSample:
Public Types | |
typedef ListSample | Self |
typedef ListSampleBase< TMeasurementVector > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef Superclass::MeasurementType | MeasurementType |
typedef Superclass::FrequencyType | FrequencyType |
typedef Superclass::InstanceIdentifier | InstanceIdentifier |
typedef std::vector< MeasurementVectorType > | InternalDataContainerType |
Public Methods | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (MeasurementVectorSize, unsigned int, Superclass::MeasurementVectorSize) | |
void | Resize (unsigned int n) |
void | PushBack (MeasurementVectorType &mv) |
unsigned int | Size () const |
unsigned int | Size (const unsigned int &) const |
unsigned int | GetNumberOfInstances () const |
MeasurementVectorType & | GetMeasurementVector (const InstanceIdentifier &id) |
void | SetMeasurement (const InstanceIdentifier &id, const unsigned int &dim, const MeasurementType &value) |
void | SetMeasurementVector (const InstanceIdentifier &id, const MeasurementVectorType &mv) |
FrequencyType | GetFrequency (const InstanceIdentifier &id) const |
FrequencyType | GetTotalFrequency (const unsigned int &) const |
Iterator | Begin () |
Iterator | End () |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
ListSample () | |
virtual | ~ListSample () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Friends | |
class | Iterator |
ListSample 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.
Definition at line 42 of file itkListSample.h.
|
frequency value typedef Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 62 of file itkListSample.h. |
|
Instance Identifier typedef support this identifier will be unique sequential id for each measurement vector in a Sample subclass. Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 63 of file itkListSample.h. |
|
internal data container type Definition at line 70 of file itkListSample.h. |
|
typedef for each element in a measurement vector Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 61 of file itkListSample.h. |
|
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 60 of file itkListSample.h. |
|
Reimplemented from itk::Statistics::Sample< TMeasurementVector >. Definition at line 48 of file itkListSample.h. |
|
Standard class typedef. Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 46 of file itkListSample.h. |
|
Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. Definition at line 47 of file itkListSample.h. |
|
|
|
Definition at line 199 of file itkListSample.h. |
|
returns an iterator that points to the beginning of the container Definition at line 125 of file itkListSample.h. |
|
returns an iterator that points to the end of the container Definition at line 133 of file itkListSample.h. |
|
Standard macros Reimplemented from itk::Statistics::ListSampleBase< TMeasurementVector >. |
|
returns 1 as other subclasses of ListSampleBase does Implements itk::Statistics::Sample< TMeasurementVector >. |
|
returns the measurement vector that is specified by the instance identifier argument. Implements itk::Statistics::Sample< TMeasurementVector >. |
|
returns the number of measurement vectors int this container Implements itk::Statistics::Sample< TMeasurementVector >. Definition at line 95 of file itkListSample.h. |
|
returns the size of this container Implements itk::Statistics::Sample< TMeasurementVector >. Definition at line 117 of file itkListSample.h. |
|
VMeasurementVectorSize template argument alias |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
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< TMeasurementVector >. |
|
inserts a new element at the end Definition at line 80 of file itkListSample.h. |
|
resize the container, if this sample is connected to Subsample or MembershipSample, then this function won't change the size of this container, instead, it will throw exception. Before, use this sample with Subsample or MembershipSample, set the size Definition at line 76 of file itkListSample.h. |
|
sets the "dim" dimensional component value of the measurement vector that is specified by "id". |
|
set the measurement vector value that is specified by the instance identifier argument. |
|
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< TMeasurementVector >. Definition at line 91 of file itkListSample.h. |
|
returns the number of measurement vectors in this container Implements itk::Statistics::Sample< TMeasurementVector >. Definition at line 84 of file itkListSample.h. |
|
Definition at line 122 of file itkListSample.h. |