ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkVectorContainerToListSampleAdaptor.h>
Classes | |
class | ConstIterator |
class | Iterator |
Public Types | |
typedef Superclass::AbsoluteFrequencyType | AbsoluteFrequencyType |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InstanceIdentifier | InstanceIdentifier |
typedef Superclass::MeasurementType | MeasurementType |
typedef Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef SmartPointer< Self > | Pointer |
typedef VectorContainerToListSampleAdaptor | Self |
typedef ListSample< typename TVectorContainer::Element > | Superclass |
typedef Superclass::TotalAbsoluteFrequencyType | TotalAbsoluteFrequencyType |
typedef MeasurementVectorType | ValueType |
typedef TVectorContainer::ConstIterator | VectorContainerConstIterator |
typedef TVectorContainer::ConstPointer | VectorContainerConstPointer |
typedef TVectorContainer::Iterator | VectorContainerIterator |
typedef TVectorContainer::Pointer | VectorContainerPointer |
typedef TVectorContainer | VectorContainerType |
Public Types inherited from itk::Statistics::ListSample< TVectorContainer::Element > | |
typedef std::vector < MeasurementVectorType > | InternalDataContainerType |
Public Types inherited from itk::Statistics::Sample< TVectorContainer::Element > | |
Public Types inherited from itk::DataObject | |
typedef std::string | DataObjectIdentifierType |
typedef std::vector< Pointer > ::size_type | DataObjectPointerArraySizeType |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | MeasurementVectorSize = TVectorContainer::Element::Dimension |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
VectorContainerToListSampleAdaptor () | |
virtual | ~VectorContainerToListSampleAdaptor () |
Protected Member Functions inherited from itk::Statistics::ListSample< TVectorContainer::Element > | |
ListSample () | |
virtual | ~ListSample () |
Protected Member Functions inherited from itk::Statistics::Sample< TVectorContainer::Element > | |
Sample () | |
virtual | ~Sample () |
Protected Member Functions inherited from itk::DataObject | |
virtual void | PropagateResetPipeline () |
DataObject () | |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
void | operator= (const Self &) |
VectorContainerToListSampleAdaptor (const Self &) |
Private Attributes | |
VectorContainerType::Element | m_TempPoint |
VectorContainerConstPointer | m_VectorContainer |
This class provides ListSample interface to ITK VectorContainer.
After calling SetVectorContainer(VectorContainer*) method to plug-in the VectorContainer object, users can use Sample interfaces to access VectorContainer data. This adaptor assumes that the VectorContainer is actual storage for measurment vectors. In other words, VectorContainer's element dimension equals to the measurement vectors size.
Definition at line 46 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::AbsoluteFrequencyType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::AbsoluteFrequencyType |
Frequency value type
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 77 of file itkVectorContainerToListSampleAdaptor.h.
typedef SmartPointer< const Self > itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::ConstPointer |
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 54 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::InstanceIdentifier itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::InstanceIdentifier |
InstanceIdentifier typedef. This identifier is a unique sequential id for each measurement vector in a Sample subclass.
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 80 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::MeasurementType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::MeasurementType |
Superclass typedefs for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 75 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::MeasurementVectorSizeType |
Typedef for the length of each measurement vector
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 79 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::MeasurementVectorType |
Typedefs inherited from the superclass
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 76 of file itkVectorContainerToListSampleAdaptor.h.
typedef SmartPointer< Self > itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Pointer |
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 53 of file itkVectorContainerToListSampleAdaptor.h.
typedef VectorContainerToListSampleAdaptor itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Self |
Standard class typedefs
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 51 of file itkVectorContainerToListSampleAdaptor.h.
typedef ListSample<typename TVectorContainer::Element> itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Superclass |
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 52 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::TotalAbsoluteFrequencyType |
Total frequency type
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 78 of file itkVectorContainerToListSampleAdaptor.h.
typedef MeasurementVectorType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::ValueType |
Value type of a measurement (component of the measurement vector)
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 82 of file itkVectorContainerToListSampleAdaptor.h.
typedef TVectorContainer::ConstIterator itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerConstIterator |
Definition at line 71 of file itkVectorContainerToListSampleAdaptor.h.
typedef TVectorContainer::ConstPointer itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerConstPointer |
Definition at line 69 of file itkVectorContainerToListSampleAdaptor.h.
typedef TVectorContainer::Iterator itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerIterator |
Definition at line 70 of file itkVectorContainerToListSampleAdaptor.h.
typedef TVectorContainer::Pointer itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerPointer |
Definition at line 68 of file itkVectorContainerToListSampleAdaptor.h.
typedef TVectorContainer itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerType |
VectorContainer typedefs
Definition at line 67 of file itkVectorContainerToListSampleAdaptor.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 256 of file itkVectorContainerToListSampleAdaptor.h.
|
private |
|
inline |
returns an iterator that points to the beginning of the container
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 214 of file itkVectorContainerToListSampleAdaptor.h.
Referenced by itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::ConstIterator::ConstIterator().
|
inline |
returns an iterator that points to the beginning of the container
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 237 of file itkVectorContainerToListSampleAdaptor.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
inline |
returns an iterator that points to the end of the container
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 225 of file itkVectorContainerToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
Definition at line 245 of file itkVectorContainerToListSampleAdaptor.h.
AbsoluteFrequencyType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::GetFrequency | ( | InstanceIdentifier | ) | const |
returns 1 as other subclasses of ListSampleBase does
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
const MeasurementVectorType& itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::GetMeasurementVector | ( | InstanceIdentifier | ) | const |
returns the measurement vector that is specified by the instance identifier argument.
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
virtual |
returns the size of this container
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
virtual |
Method to get the point set
|
static |
Method for creation through the object factory.
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
private |
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
protectedvirtual |
Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
virtual |
Method to set the point set
|
virtual |
returns the number of measurement vectors in this container
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
mutableprivate |
temporary points for conversions
Definition at line 268 of file itkVectorContainerToListSampleAdaptor.h.
|
private |
the points container which will be actually used for storing measurement vectors
Definition at line 265 of file itkVectorContainerToListSampleAdaptor.h.
|
static |
the number of components in a measurement vector
Definition at line 64 of file itkVectorContainerToListSampleAdaptor.h.