ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkVectorContainerToListSampleAdaptor.h>
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.
Classes | |
class | ConstIterator |
class | Iterator |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Statistics::ListSample< TVectorContainer::Element > | |
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 () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~ListSample () |
Protected Member Functions inherited from itk::Statistics::Sample< TVectorContainer::Element > | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Sample () | |
virtual | ~Sample () |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~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 |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef Superclass::AbsoluteFrequencyType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::AbsoluteFrequencyType |
Definition at line 77 of file itkVectorContainerToListSampleAdaptor.h.
typedef SmartPointer< const Self > itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::ConstPointer |
Definition at line 54 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::InstanceIdentifier itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::InstanceIdentifier |
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
Definition at line 75 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::MeasurementVectorSizeType |
Definition at line 79 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::MeasurementVectorType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::MeasurementVectorType |
Definition at line 76 of file itkVectorContainerToListSampleAdaptor.h.
typedef SmartPointer< Self > itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Pointer |
Definition at line 53 of file itkVectorContainerToListSampleAdaptor.h.
typedef VectorContainerToListSampleAdaptor itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Self |
Standard class typedefs
Definition at line 51 of file itkVectorContainerToListSampleAdaptor.h.
typedef ListSample<typename TVectorContainer::Element> itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Superclass |
Definition at line 52 of file itkVectorContainerToListSampleAdaptor.h.
typedef Superclass::TotalAbsoluteFrequencyType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::TotalAbsoluteFrequencyType |
Definition at line 78 of file itkVectorContainerToListSampleAdaptor.h.
typedef MeasurementVectorType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::ValueType |
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
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
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::Object.
|
inline |
returns an iterator that points to the end of the container
Definition at line 225 of file itkVectorContainerToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Definition at line 245 of file itkVectorContainerToListSampleAdaptor.h.
AbsoluteFrequencyType itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::GetFrequency | ( | InstanceIdentifier | ) | const |
returns 1 as other subclasses of ListSampleBase does
const MeasurementVectorType& itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::GetMeasurementVector | ( | InstanceIdentifier | ) | const |
returns the measurement vector that is specified by the instance identifier argument.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
virtual |
returns the size of this container
Implements itk::Statistics::Sample< TVectorContainer::Element >.
|
virtual |
Method to get the point set
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
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::DataObject.
|
virtual |
Method to set the point set
|
virtual |
returns the number of measurement vectors in this container
Implements itk::Statistics::Sample< 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.