18 #ifndef __itkVectorContainerToListSampleAdaptor_h
19 #define __itkVectorContainerToListSampleAdaptor_h
45 template<
typename TVectorContainer >
47 public ListSample< typename TVectorContainer::Element >
64 TVectorContainer::Element::Dimension );
112 *
this = adaptor->
Begin();
217 Iterator iter( nonConstVectorDataContainer->Begin(), 0 );
229 Iterator iter( nonConstVectorDataContainer->End(),
272 #ifndef ITK_MANUAL_INSTANTIATION
273 #include "itkVectorContainerToListSampleAdaptor.hxx"
TVectorContainer VectorContainerType
TVectorContainer::Iterator VectorContainerIterator
AbsoluteFrequencyType GetFrequency() const
AbsoluteFrequencyType GetFrequency(InstanceIdentifier) const
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
ConstIterator(const VectorContainerToListSampleAdaptor *adaptor)
InstanceIdentifier m_InstanceIdentifier
MeasurementVectorType ValueType
Superclass::MeasurementType MeasurementType
This class provides ListSample interface to ITK VectorContainer.
Superclass::AbsoluteFrequencyType AbsoluteFrequencyType
Superclass::MeasurementVectorType MeasurementVectorType
void operator=(const Self &)
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
InstanceIdentifier GetInstanceIdentifier() const
VectorContainerConstPointer m_VectorContainer
ListSample< typename TVectorContainer::Element > Superclass
TVectorContainer::Pointer VectorContainerPointer
SmartPointer< Self > Pointer
static const unsigned int MeasurementVectorSize
InstanceIdentifier Size() const
ConstIterator & operator++()
TotalAbsoluteFrequencyType GetTotalFrequency() const
Superclass::AbsoluteFrequencyType AbsoluteFrequencyType
VectorContainerToListSampleAdaptor Self
Superclass::InstanceIdentifier InstanceIdentifier
ConstIterator(const ConstIterator &iter)
ConstIterator & operator=(const ConstIterator &iter)
VectorContainerType::Element m_TempPoint
const MeasurementVectorType & GetMeasurementVector() const
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
Iterator(VectorContainerIterator iter, InstanceIdentifier iid)
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
const MeasurementVectorType & GetMeasurementVector(InstanceIdentifier) const
Iterator & operator=(const Iterator &iter)
bool operator==(const ConstIterator &it)
ConstIterator Begin() const
virtual ~VectorContainerToListSampleAdaptor()
SmartPointer< const Self > ConstPointer
Iterator(const Iterator &iter)
This class is the native implementation of the a Sample with an STL container.
Superclass::MeasurementType MeasurementType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
TVectorContainer::ConstIterator VectorContainerConstIterator
bool operator!=(const ConstIterator &it)
TVectorContainer::ConstPointer VectorContainerConstPointer
ConstIterator(VectorContainerConstIterator iter, InstanceIdentifier iid)
VectorContainerToListSampleAdaptor()
Superclass::MeasurementVectorType MeasurementVectorType
VectorContainerConstIterator m_Iter
Superclass::InstanceIdentifier InstanceIdentifier
ConstIterator End() const
Base class for all data objects in ITK.
void PrintSelf(std::ostream &os, Indent indent) const