#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 measurement 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 Member Functions | |
ConstIterator | Begin () const |
virtual::itk::LightObject::Pointer | CreateAnother () const |
Iterator | End () |
AbsoluteFrequencyType | GetFrequency (InstanceIdentifier) const override |
const MeasurementVectorType & | GetMeasurementVector (InstanceIdentifier) const override |
const char * | GetNameOfClass () const override |
TotalAbsoluteFrequencyType | GetTotalFrequency () const override |
InstanceIdentifier | Size () const override |
virtual void | SetVectorContainer (VectorContainerType *_arg) |
virtual const VectorContainerType * | GetVectorContainer () const |
Iterator | Begin () |
ConstIterator | End () const |
![]() | |
Iterator | Begin () |
ConstIterator | Begin () const |
void | Clear () |
Iterator | End () |
ConstIterator | End () const |
void | Graft (const DataObject *thatObject) override |
void | PushBack (const MeasurementVectorType &mv) |
void | Resize (InstanceIdentifier newsize) |
void | SetMeasurement (InstanceIdentifier instanceId, unsigned int dim, const MeasurementType &value) |
void | SetMeasurementVector (InstanceIdentifier instanceId, const MeasurementVectorType &mv) |
![]() | |
virtual MeasurementVectorSizeType | GetMeasurementVectorSize () const |
void | Graft (const DataObject *thatObject) override |
virtual void | SetMeasurementVectorSize (MeasurementVectorSizeType s) |
![]() | |
virtual void | CopyInformation (const DataObject *) |
virtual void | DataHasBeenGenerated () |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () const |
SmartPointer< ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual ModifiedTimeType | GetUpdateMTime () const |
virtual void | Initialize () |
virtual void | PrepareForNewData () |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
virtual void | SetRequestedRegion (const DataObject *) |
virtual void | SetRequestedRegionToLargestPossibleRegion () |
bool | ShouldIReleaseData () const |
virtual void | Update () |
virtual void | UpdateOutputData () |
virtual void | UpdateOutputInformation () |
void | UpdateSource () const |
virtual bool | VerifyRequestedRegion () |
void | SetPipelineMTime (ModifiedTimeType time) |
virtual const ModifiedTimeType & | GetPipelineMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () const |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static Pointer | New () |
static void | SetGlobalReleaseDataFlag (bool val) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
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 | |
![]() | |
ListSample ()=default | |
~ListSample () override=default | |
![]() | |
Sample () | |
~Sample () override=default | |
![]() | |
DataObject () | |
virtual void | PropagateResetPipeline () |
~DataObject () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
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 | |
VectorContainerConstPointer | m_VectorContainer {} |
Additional Inherited Members | |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
Frequency value type
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::ConstPointer = SmartPointer<const Self> |
Definition at line 55 of file itkVectorContainerToListSampleAdaptor.h.
InstanceIdentifier type alias. This identifier is a unique sequential id for each measurement vector in a Sample subclass.
Type of the length of each measurement vector
MeasurementVector type alias support
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Pointer = SmartPointer<Self> |
Definition at line 54 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Self = VectorContainerToListSampleAdaptor |
Standard class type aliases
Definition at line 52 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::Superclass = ListSample<typename TVectorContainer::Element> |
Definition at line 53 of file itkVectorContainerToListSampleAdaptor.h.
Total frequency type
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::ValueType = MeasurementVectorType |
Definition at line 82 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerConstIterator = typename TVectorContainer::ConstIterator |
Definition at line 71 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerConstPointer = typename TVectorContainer::ConstPointer |
Definition at line 69 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerIterator = typename TVectorContainer::Iterator |
Definition at line 70 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerPointer = typename TVectorContainer::Pointer |
Definition at line 68 of file itkVectorContainerToListSampleAdaptor.h.
using itk::Statistics::VectorContainerToListSampleAdaptor< TVectorContainer >::VectorContainerType = TVectorContainer |
VectorContainer type alias.
Definition at line 67 of file itkVectorContainerToListSampleAdaptor.h.
|
protected |
|
overrideprotecteddefault |
|
inline |
Returns an iterator that points to the beginning of the container.
Definition at line 216 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 240 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.
Definition at line 228 of file itkVectorContainerToListSampleAdaptor.h.
|
inline |
Returns an iterator that points to the end of the container.
Definition at line 249 of file itkVectorContainerToListSampleAdaptor.h.
|
overridevirtual |
Returns 1 as other subclasses of ListSampleBase does.
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
overridevirtual |
Returns the measurement vector that is specified by the instance identifier argument.
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
overridevirtual |
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
overridevirtual |
Returns the size of this container.
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
virtual |
Get/Set method for the point set container which will be actually used for storing measurement vectors.
|
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::Statistics::ListSample< TVectorContainer::Element >.
|
virtual |
Get/Set method for the point set container which will be actually used for storing measurement vectors.
|
overridevirtual |
Returns the number of measurement vectors in this container.
Reimplemented from itk::Statistics::ListSample< TVectorContainer::Element >.
|
private |
Definition at line 264 of file itkVectorContainerToListSampleAdaptor.h.
|
staticconstexpr |
The number of components in a measurement vector.
Definition at line 64 of file itkVectorContainerToListSampleAdaptor.h.