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;
223 Iterator iter(nonConstPointsDataContainer->Begin(), 0);
279 #ifndef ITK_MANUAL_INSTANTIATION
280 #include "itkPointSetToListSampleAdaptor.hxx"
ListSample< typename TPointSet::PointType > Superclass
void operator=(const Self &)
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()
Iterator(PointsContainerIteratorType iter, InstanceIdentifier iid)
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)