|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkPointSetToListSampleAdaptor_h
19 #define itkPointSetToListSampleAdaptor_h
46 template <
typename TPo
intSet>
88 SetPointSet(
const TPointSet * pointSet);
96 Size()
const override;
109 GetTotalFrequency()
const override;
151 return m_InstanceIdentifier;
158 ++m_InstanceIdentifier;
165 return (m_Iter != it.
m_Iter);
171 return (m_Iter == it.
m_Iter);
179 m_InstanceIdentifier = iid;
208 this->ConstIterator::operator=(iter);
229 PointsContainerPointer nonConstPointsDataContainer = const_cast<PointsContainer *>(m_PointsContainer.GetPointer());
230 Iterator iter(nonConstPointsDataContainer->Begin(), 0);
240 PointsContainerPointer nonConstPointsDataContainer = const_cast<PointsContainer *>(m_PointsContainer.GetPointer());
242 Iterator iter(nonConstPointsDataContainer->End(), m_PointsContainer->Size());
260 ConstIterator iter(m_PointsContainer->End(), m_PointsContainer->Size());
270 PrintSelf(std::ostream & os,
Indent indent)
const override;
286 #ifndef ITK_MANUAL_INSTANTIATION
287 # include "itkPointSetToListSampleAdaptor.hxx"
typename TPointSet::PointType PointType
This class provides ListSample interface to ITK PointSet.
Represent a n-dimensional size (bounds) of a n-dimensional image.
bool operator!=(const ConstIterator &it) const
AbsoluteFrequencyType GetFrequency() const
typename TPointSet::ConstPointer PointSetConstPointer
PointsContainerConstIteratorType m_Iter
ImageBaseType::PointType PointType
typename TPointSet::Pointer PointSetPointer
This class is the native implementation of the a Sample with an STL container.
Control indentation during Print() invocation.
const MeasurementVectorType & GetMeasurementVector() const
Iterator(const Iterator &iter)
typename Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
PointSetConstPointer m_PointSet
Iterator(PointsContainerIteratorType iter, InstanceIdentifier iid)
typename Superclass::MeasurementVectorType MeasurementVectorType
typename Superclass::AbsoluteFrequencyType AbsoluteFrequencyType
PointsContainerConstPointer m_PointsContainer
InstanceIdentifier m_InstanceIdentifier
typename TPointSet::PointsContainerIterator PointsContainerIteratorType
bool operator==(const ConstIterator &it) const
ConstIterator(const ConstIterator &iter)
ConstIterator & operator++()
InstanceIdentifier GetInstanceIdentifier() const
typename Superclass::MeasurementType MeasurementType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename TPointSet::PointsContainerPointer PointsContainerPointer
typename TPointSet::PointsContainer PointsContainer
typename TPointSet::PointsContainerConstIterator PointsContainerConstIteratorType
ConstIterator End() const
MeasurementVectorType ValueType
Base class for most ITK classes.
ConstIterator(const PointSetToListSampleAdaptor *adaptor)
typename Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
ConstIterator Begin() const
Iterator & operator=(const Iterator &iter)
ConstIterator & operator=(const ConstIterator &iter)
typename Superclass::InstanceIdentifier InstanceIdentifier
ConstIterator(PointsContainerConstIteratorType iter, InstanceIdentifier iid)
typename TPointSet::PointsContainerConstPointer PointsContainerConstPointer
Base class for all data objects in ITK.