ITK
5.0.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 |
Public Types | |
using | AbsoluteFrequencyType = typename Superclass::AbsoluteFrequencyType |
using | ConstPointer = SmartPointer< const Self > |
using | InstanceIdentifier = typename Superclass::InstanceIdentifier |
using | MeasurementType = typename Superclass::MeasurementType |
using | MeasurementVectorSizeType = typename Superclass::MeasurementVectorSizeType |
using | MeasurementVectorType = typename Superclass::MeasurementVectorType |
using | Pointer = SmartPointer< Self > |
using | Self = VectorContainerToListSampleAdaptor |
using | Superclass = ListSample< typename TVectorContainer::Element > |
using | TotalAbsoluteFrequencyType = typename Superclass::TotalAbsoluteFrequencyType |
using | ValueType = MeasurementVectorType |
using | VectorContainerConstIterator = typename TVectorContainer::ConstIterator |
using | VectorContainerConstPointer = typename TVectorContainer::ConstPointer |
using | VectorContainerIterator = typename TVectorContainer::Iterator |
using | VectorContainerPointer = typename TVectorContainer::Pointer |
using | VectorContainerType = TVectorContainer |
Public Types inherited from itk::Statistics::ListSample< TVectorContainer::Element > | |
using | AbsoluteFrequencyType = typename Superclass::AbsoluteFrequencyType |
using | ConstPointer = SmartPointer< const Self > |
using | InstanceIdentifier = typename Superclass::InstanceIdentifier |
using | InternalDataContainerType = std::vector< MeasurementVectorType > |
using | MeasurementType = typename Superclass::MeasurementType |
using | MeasurementVectorSizeType = typename Superclass::MeasurementVectorSizeType |
using | MeasurementVectorType = typename Superclass::MeasurementVectorType |
using | Pointer = SmartPointer< Self > |
using | Self = ListSample |
using | Superclass = Sample< TVectorContainer::Element > |
using | TotalAbsoluteFrequencyType = typename Superclass::TotalAbsoluteFrequencyType |
using | ValueType = MeasurementVectorType |
Public Types inherited from itk::Statistics::Sample< TVectorContainer::Element > | |
using | AbsoluteFrequencyType = MeasurementVectorTraits::AbsoluteFrequencyType |
using | ConstPointer = SmartPointer< const Self > |
using | InstanceIdentifier = typename MeasurementVectorTraits::InstanceIdentifier |
using | MeasurementType = typename MeasurementVectorTraitsTypes< MeasurementVectorType >::ValueType |
using | MeasurementVectorSizeType = unsigned int |
using | MeasurementVectorType = TVectorContainer::Element |
using | Pointer = SmartPointer< Self > |
using | Self = Sample |
using | Superclass = DataObject |
using | TotalAbsoluteFrequencyType = NumericTraits< AbsoluteFrequencyType >::AccumulateType |
Public Types inherited from itk::DataObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = std::string |
using | DataObjectPointerArraySizeType = std::vector< Pointer >::size_type |
using | Pointer = SmartPointer< Self > |
using | Self = DataObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Statistics::ListSample< TVectorContainer::Element > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static void | SetGlobalReleaseDataFlag (bool val) |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | MeasurementVectorSize = TVectorContainer::Element::Dimension |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
VectorContainerToListSampleAdaptor () | |
~VectorContainerToListSampleAdaptor () override=default | |
Protected Member Functions inherited from itk::Statistics::ListSample< TVectorContainer::Element > | |
ListSample ()=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ListSample () override=default | |
Protected Member Functions inherited from itk::Statistics::Sample< TVectorContainer::Element > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Sample () | |
~Sample () override=default | |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
~Object () override | |
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 Attributes | |
VectorContainerType::Element | m_TempPoint |
VectorContainerConstPointer | m_VectorContainer |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::AbsoluteFrequencyType = typename Superclass::AbsoluteFrequencyType |
Definition at line 78 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::ConstPointer = SmartPointer< const Self > |
Definition at line 56 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::InstanceIdentifier = typename Superclass::InstanceIdentifier |
Definition at line 81 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::MeasurementType = typename Superclass::MeasurementType |
Superclass type alias for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Definition at line 76 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::MeasurementVectorSizeType = typename Superclass::MeasurementVectorSizeType |
Definition at line 80 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::MeasurementVectorType = typename Superclass::MeasurementVectorType |
Definition at line 77 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Pointer = SmartPointer< Self > |
Definition at line 55 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Self = VectorContainerToListSampleAdaptor |
Standard class type aliases
Definition at line 53 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Superclass = ListSample<typename TVectorContainer::Element> |
Definition at line 54 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::TotalAbsoluteFrequencyType = typename Superclass::TotalAbsoluteFrequencyType |
Definition at line 79 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::ValueType = MeasurementVectorType |
Definition at line 83 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerConstIterator = typename TVectorContainer::ConstIterator |
Definition at line 72 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerConstPointer = typename TVectorContainer::ConstPointer |
Definition at line 70 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerIterator = typename TVectorContainer::Iterator |
Definition at line 71 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerPointer = typename TVectorContainer::Pointer |
Definition at line 69 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerType = TVectorContainer |
VectorContainer type alias
Definition at line 68 of file itkVectorContainerToListSampleAdaptor.h.
|
protected |
|
overrideprotecteddefault |
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 212 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 235 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 223 of file itkVectorContainerToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Definition at line 243 of file itkVectorContainerToListSampleAdaptor.h.
|
override |
returns 1 as other subclasses of ListSampleBase does
|
override |
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 >.
|
overridevirtual |
returns the size of this container
Implements itk::Statistics::Sample< TVectorContainer::Element >.
|
virtual |
Get/Set Method for the point set
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
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 |
Get/Set Method for the point set
|
overridevirtual |
returns the number of measurement vectors in this container
Implements itk::Statistics::Sample< TVectorContainer::Element >.
|
mutableprivate |
temporary points for conversions
Definition at line 263 of file itkVectorContainerToListSampleAdaptor.h.
|
private |
the points container which will be actually used for storing measurement vectors
Definition at line 260 of file itkVectorContainerToListSampleAdaptor.h.
|
static |
the number of components in a measurement vector
Definition at line 65 of file itkVectorContainerToListSampleAdaptor.h.