18 #ifndef itkPointSetToListSampleAdaptor_h
19 #define itkPointSetToListSampleAdaptor_h
45 template<
typename TPo
intSet >
47 public ListSample< typename TPointSet::PointType >
85 void SetPointSet(
const TPointSet *pointSet);
88 const TPointSet * GetPointSet();
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;
173 ConstIterator() ITK_DELETED_FUNCTION;
195 this->ConstIterator::operator=(iter);
211 Iterator(const ConstIterator & it) ITK_DELETED_FUNCTION;
212 ConstIterator & operator=(const ConstIterator & it) ITK_DELETED_FUNCTION;
221 Iterator iter(nonConstPointsDataContainer->Begin(), 0);
233 Iterator iter( nonConstPointsDataContainer->End(), m_PointsContainer->Size() );
241 ConstIterator iter(m_PointsContainer->Begin(), 0);
249 ConstIterator iter( m_PointsContainer->End(), m_PointsContainer->Size() );
258 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
276 #ifndef ITK_MANUAL_INSTANTIATION
277 #include "itkPointSetToListSampleAdaptor.hxx"
ListSample< typename TPointSet::PointType > Superclass
bool operator!=(const ConstIterator &it)
TPointSet::PointsContainerConstIterator PointsContainerConstIteratorType
PointSetToListSampleAdaptor Self
ConstIterator & operator=(const ConstIterator &iter)
Represent the size (bounds) of a n-dimensional image.
ConstIterator End() const
Iterator(const Iterator &iter)
TPointSet::PointsContainerPointer PointsContainerPointer
TPointSet::PointsContainer PointsContainer
SmartPointer< Self > Pointer
PointsContainerConstPointer m_PointsContainer
Iterator(PointsContainerIteratorType iter, InstanceIdentifier iid)
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
ConstIterator Begin() const
MeasurementVectorType ValueType
PointsContainerConstIteratorType m_Iter
TPointSet::PointType PointType
AbsoluteFrequencyType GetFrequency() const
TPointSet::PointsContainerConstPointer PointsContainerConstPointer
TPointSet::PointsContainerIterator PointsContainerIteratorType
ImageBaseType::PointType PointType
ConstIterator(PointsContainerConstIteratorType iter, InstanceIdentifier iid)
TPointSet::Pointer PointSetPointer
This class provides ListSample interface to ITK PointSet.
TPointSet::ConstPointer PointSetConstPointer
const MeasurementVectorType & GetMeasurementVector() const
virtual ~PointSetToListSampleAdaptor() override
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.
Control indentation during Print() invocation.
Iterator & operator=(const Iterator &iter)
PointSetConstPointer m_PointSet
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)