18 #ifndef itkPointSetToListSampleAdaptor_h
19 #define itkPointSetToListSampleAdaptor_h
45 template<
typename TPo
intSet >
47 public ListSample< typename TPointSet::PointType >
114 *
this = adaptor->
Begin();
142 return m_InstanceIdentifier;
148 ++m_InstanceIdentifier;
154 return ( m_Iter != it.
m_Iter );
159 return ( m_Iter == it.
m_Iter );
169 m_InstanceIdentifier = iid;
172 ConstIterator() ITK_DELETE_FUNCTION;
206 Iterator(const ConstIterator & it) ITK_DELETE_FUNCTION;
207 ConstIterator & operator=(const ConstIterator & it) ITK_DELETE_FUNCTION;
222 Iterator iter(nonConstPointsDataContainer->Begin(), 0);
263 void operator=(const
Self &) ITK_DELETE_FUNCTION;
278 #ifndef ITK_MANUAL_INSTANTIATION
279 #include "itkPointSetToListSampleAdaptor.hxx"
ListSample< typename TPointSet::PointType > Superclass
bool operator!=(const ConstIterator &it)
TPointSet::PointsContainerConstIterator PointsContainerConstIteratorType
Superclass::MeasurementType MeasurementType
AbsoluteFrequencyType GetFrequency(InstanceIdentifier id) const override
PointSetToListSampleAdaptor Self
ConstIterator & operator=(const ConstIterator &iter)
ConstIterator End() const
Superclass::MeasurementVectorType MeasurementVectorType
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
Iterator(const Iterator &iter)
TPointSet::PointsContainerPointer PointsContainerPointer
TPointSet::PointsContainer PointsContainer
SmartPointer< Self > Pointer
PointsContainerConstPointer m_PointsContainer
PointSetToListSampleAdaptor()
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
ConstIterator Begin() const
MeasurementVectorType ValueType
PointsContainerConstIteratorType m_Iter
TPointSet::PointType PointType
Superclass::AbsoluteFrequencyType AbsoluteFrequencyType
virtual ~PointSetToListSampleAdaptor()
AbsoluteFrequencyType GetFrequency() const
void PrintSelf(std::ostream &os, Indent indent) const override
TPointSet::PointsContainerConstPointer PointsContainerConstPointer
Superclass::InstanceIdentifier InstanceIdentifier
TPointSet::PointsContainerIterator PointsContainerIteratorType
const MeasurementVectorType & GetMeasurementVector(InstanceIdentifier id) const override
ConstIterator(PointsContainerConstIteratorType iter, InstanceIdentifier iid)
void SetPointSet(const TPointSet *pointSet)
TPointSet::Pointer PointSetPointer
This class provides ListSample interface to ITK PointSet.
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
TPointSet::ConstPointer PointSetConstPointer
const MeasurementVectorType & GetMeasurementVector() const
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
ConstIterator(const PointSetToListSampleAdaptor *adaptor)
InstanceIdentifier GetInstanceIdentifier() const
InstanceIdentifier m_InstanceIdentifier
SmartPointer< const Self > ConstPointer
This class is the native implementation of the a Sample with an STL container.
InstanceIdentifier Size() const override
Control indentation during Print() invocation.
Iterator & operator=(const Iterator &iter)
PointSetConstPointer m_PointSet
const TPointSet * GetPointSet()
TotalAbsoluteFrequencyType GetTotalFrequency() const override
Superclass::MeasurementVectorType MeasurementVectorType
Superclass::MeasurementType MeasurementType
Superclass::AbsoluteFrequencyType AbsoluteFrequencyType
bool operator==(const ConstIterator &it)
Superclass::InstanceIdentifier InstanceIdentifier
Base class for all data objects in ITK.
ConstIterator & operator++()
ConstIterator(const ConstIterator &iter)