ITK
6.0.0
Insight Toolkit
|
#include <itkPointSetToListSampleAdaptor.h>
This class provides ListSample interface to ITK PointSet.
After calling SetPointSet(PointSet*) method to plug-in the PointSet object, users can use Sample interfaces to access PointSet data. This adaptor assumes that the PointsContainer is actual storage for measurement vectors. In other words, PointSet's dimension equals to the measurement vectors size. This class totally ignores PointsDataContainer.
Definition at line 47 of file itkPointSetToListSampleAdaptor.h.
Classes | |
class | ConstIterator |
class | Iterator |
Public Member Functions | |
ConstIterator | Begin () const |
Iterator | End () |
ConstIterator | End () const |
AbsoluteFrequencyType | GetFrequency (InstanceIdentifier id) const override |
const MeasurementVectorType & | GetMeasurementVector (InstanceIdentifier identifier) const override |
const char * | GetNameOfClass () const override |
const TPointSet * | GetPointSet () |
TotalAbsoluteFrequencyType | GetTotalFrequency () const override |
void | SetPointSet (const TPointSet *pointSet) |
InstanceIdentifier | Size () const override |
Iterator | Begin () |
Public Member Functions inherited from itk::Statistics::ListSample< TPointSet::PointType > | |
Iterator | Begin () |
ConstIterator | Begin () const |
void | Clear () |
Iterator | End () |
ConstIterator | End () const |
AbsoluteFrequencyType | GetFrequency (InstanceIdentifier instanceId) const override |
const MeasurementVectorType & | GetMeasurementVector (InstanceIdentifier instanceId) const override |
const char * | GetNameOfClass () const override |
TotalAbsoluteFrequencyType | GetTotalFrequency () const override |
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) |
InstanceIdentifier | Size () const override |
Public Member Functions inherited from itk::Statistics::Sample< TPointSet::PointType > | |
virtual MeasurementVectorSizeType | GetMeasurementVectorSize () const |
const char * | GetNameOfClass () const override |
void | Graft (const DataObject *thatObject) override |
virtual void | SetMeasurementVectorSize (MeasurementVectorSizeType s) |
Public Member Functions inherited from itk::DataObject | |
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 | 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 |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
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 |
Public Member Functions inherited from itk::LightObject | |
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 Public Member Functions inherited from itk::Statistics::ListSample< TPointSet::PointType > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
static Pointer | New () |
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 val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
PointSetToListSampleAdaptor () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~PointSetToListSampleAdaptor () override=default | |
Protected Member Functions inherited from itk::Statistics::ListSample< TPointSet::PointType > | |
ListSample ()=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ListSample () override=default | |
Protected Member Functions inherited from itk::Statistics::Sample< TPointSet::PointType > | |
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 &timeStamp) |
~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 | |
PointsContainerConstPointer | m_PointsContainer {} |
PointSetConstPointer | m_PointSet {} |
PointType | m_TempPoint {} |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::ConstPointer = SmartPointer<const Self> |
Definition at line 56 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::Pointer = SmartPointer<Self> |
Definition at line 55 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainer = typename TPointSet::PointsContainer |
Definition at line 68 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainerConstIteratorType = typename TPointSet::PointsContainerConstIterator |
Definition at line 72 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainerConstPointer = typename TPointSet::PointsContainerConstPointer |
Definition at line 70 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainerIteratorType = typename TPointSet::PointsContainerIterator |
Definition at line 71 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointsContainerPointer = typename TPointSet::PointsContainerPointer |
Definition at line 69 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointSetConstPointer = typename TPointSet::ConstPointer |
Definition at line 67 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointSetPointer = typename TPointSet::Pointer |
Definition at line 66 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointSetType = TPointSet |
PointSet type alias
Definition at line 65 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::PointType = typename TPointSet::PointType |
Definition at line 73 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::Self = PointSetToListSampleAdaptor |
Standard class type aliases
Definition at line 53 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::Superclass = ListSample<typename TPointSet::PointType> |
Definition at line 54 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::ValueType = MeasurementVectorType |
Definition at line 84 of file itkPointSetToListSampleAdaptor.h.
|
protected |
|
overrideprotecteddefault |
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 223 of file itkPointSetToListSampleAdaptor.h.
Referenced by itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::ConstIterator::ConstIterator().
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 245 of file itkPointSetToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Definition at line 234 of file itkPointSetToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Definition at line 254 of file itkPointSetToListSampleAdaptor.h.
|
overridevirtual |
returns 1 as other subclasses of ListSampleBase does
Implements itk::Statistics::Sample< TPointSet::PointType >.
|
overridevirtual |
returns the measurement vector that is specified by the instance identifier argument.
Implements itk::Statistics::Sample< TPointSet::PointType >.
|
overridevirtual |
Reimplemented from itk::DataObject.
const TPointSet* itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::GetPointSet | ( | ) |
Method to get the point set
|
overridevirtual |
returns the size of this container
Implements itk::Statistics::Sample< TPointSet::PointType >.
|
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.
void itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::SetPointSet | ( | const TPointSet * | pointSet | ) |
Method to set the point set
|
overridevirtual |
returns the number of measurement vectors in this container
Implements itk::Statistics::Sample< TPointSet::PointType >.
|
private |
the points container which will be actually used for storing measurement vectors
Definition at line 274 of file itkPointSetToListSampleAdaptor.h.
|
private |
the PointSet data source pointer
Definition at line 270 of file itkPointSetToListSampleAdaptor.h.
|
mutableprivate |
temporary points for conversions
Definition at line 277 of file itkPointSetToListSampleAdaptor.h.