ITK
5.0.0
Insight Segmentation and Registration 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 measurment vectors. In other words, PointSet's dimension equals to the measurement vectors size. This class totally ignores PointsDataContainer.
Definition at line 46 of file itkPointSetToListSampleAdaptor.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 | PointsContainer = typename TPointSet::PointsContainer |
using | PointsContainerConstIteratorType = typename TPointSet::PointsContainerConstIterator |
using | PointsContainerConstPointer = typename TPointSet::PointsContainerConstPointer |
using | PointsContainerIteratorType = typename TPointSet::PointsContainerIterator |
using | PointsContainerPointer = typename TPointSet::PointsContainerPointer |
using | PointSetConstPointer = typename TPointSet::ConstPointer |
using | PointSetPointer = typename TPointSet::Pointer |
using | PointSetType = TPointSet |
using | PointType = typename TPointSet::PointType |
using | Self = PointSetToListSampleAdaptor |
using | Superclass = ListSample< typename TPointSet::PointType > |
using | TotalAbsoluteFrequencyType = typename Superclass::TotalAbsoluteFrequencyType |
using | ValueType = MeasurementVectorType |
Public Types inherited from itk::Statistics::ListSample< TPointSet::PointType > | |
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< TPointSet::PointType > |
using | TotalAbsoluteFrequencyType = typename Superclass::TotalAbsoluteFrequencyType |
using | ValueType = MeasurementVectorType |
Public Types inherited from itk::Statistics::Sample< TPointSet::PointType > | |
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 = TPointSet::PointType |
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 |
Additional Inherited Members | |
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 &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 () |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::AbsoluteFrequencyType = typename Superclass::AbsoluteFrequencyType |
Definition at line 79 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::ConstPointer = SmartPointer< const Self > |
Definition at line 56 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::InstanceIdentifier = typename Superclass::InstanceIdentifier |
Definition at line 82 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::MeasurementType = typename Superclass::MeasurementType |
Superclass type alias for Measurement vector, measurement, Instance Identifier, frequency, size, size element value
Definition at line 77 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::MeasurementVectorSizeType = typename Superclass::MeasurementVectorSizeType |
Definition at line 81 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::MeasurementVectorType = typename Superclass::MeasurementVectorType |
Definition at line 78 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 >::TotalAbsoluteFrequencyType = typename Superclass::TotalAbsoluteFrequencyType |
Definition at line 80 of file itkPointSetToListSampleAdaptor.h.
using itk::Statistics::PointSetToListSampleAdaptor< TPointSet >::ValueType = MeasurementVectorType |
Definition at line 84 of file itkPointSetToListSampleAdaptor.h.
|
protected |
the PointSet data source pointer
|
overrideprotecteddefault |
the PointSet data source pointer
|
inline |
returns an iterator that points to the beginning of the container
Definition at line 219 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 241 of file itkPointSetToListSampleAdaptor.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 230 of file itkPointSetToListSampleAdaptor.h.
|
inline |
returns an iterator that points to the end of the container
Definition at line 249 of file itkPointSetToListSampleAdaptor.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< TPointSet::PointType >.
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 |
the PointSet data source pointer
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 268 of file itkPointSetToListSampleAdaptor.h.
|
private |
the PointSet data source pointer
Definition at line 264 of file itkPointSetToListSampleAdaptor.h.
|
mutableprivate |
temporary points for conversions
Definition at line 271 of file itkPointSetToListSampleAdaptor.h.