18 #ifndef __itkVectorContainerToListSampleAdaptor_h
19 #define __itkVectorContainerToListSampleAdaptor_h
45 template<
class TVectorContainer >
47 public ListSample< typename TVectorContainer::Element >
63 itkStaticConstMacro( MeasurementVectorSize,
unsigned int,
64 TVectorContainer::Element::Dimension );
112 *
this = adaptor->
Begin();
117 this->m_Iter = iter.
m_Iter;
123 this->m_Iter = iter.
m_Iter;
140 return this->m_InstanceIdentifier;
146 ++m_InstanceIdentifier;
152 return ( this->m_Iter != it.
m_Iter );
157 return ( this->m_Iter == it.
m_Iter );
166 this->m_InstanceIdentifier = iid;
192 this->ConstIterator::operator=(iter);
217 Iterator iter( nonConstVectorDataContainer->Begin(), 0 );
229 Iterator iter( nonConstVectorDataContainer->End(),
230 this->m_VectorContainer->Size() );
247 this->m_VectorContainer->Size() );
256 void PrintSelf( std::ostream & os,
Indent indent )
const;
260 void operator=(
const Self & );
272 #ifndef ITK_MANUAL_INSTANTIATION
273 #include "itkVectorContainerToListSampleAdaptor.hxx"