14 #ifndef __itkListSampleCArray_h
15 #define __itkListSampleCArray_h
17 #include "itkObjectFactory.h"
19 #include "itkSample.h"
40 template<
class TMeasurementVector,
class TInternalValue =
typename TMeasurementVector::ValueType >
42 public Sample< TMeasurementVector >
75 void Resize(
unsigned long n );
128 void PrintSelf( std::ostream & os, Indent indent )
const;
154 #ifndef ITK_MANUAL_INSTANTIATION
155 #include "itkListSampleCArray.hxx"
158 #endif // end #ifndef __itkListSampleCArray_h
void operator=(const Self &)
void Resize(unsigned long n)
MeasurementVectorType m_TemporaryMeasurementVector
SmartPointer< const Self > ConstPointer
Sample< TMeasurementVector > Superclass
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
void DeallocateInternalContainer(void)
unsigned long GetActualSize(void)
TInternalValue InternalValueType
Superclass::TotalAbsoluteFrequencyType TotalAbsoluteFrequencyType
void SetMeasurement(InstanceIdentifier id, unsigned int dim, const MeasurementType &value)
void SetMeasurementVector(InstanceIdentifier id, const MeasurementVectorType &mv)
void SetActualSize(unsigned long n)
InternalDataType * InternalDataContainerType
virtual InstanceIdentifier Size(void) const
InstanceIdentifier m_ActualSize
Superclass::MeasurementVectorType MeasurementVectorType
InternalDataContainerType m_InternalContainer
A ListSampleBase that internally uses a CArray, which can be accessed.
virtual TotalAbsoluteFrequencyType GetTotalFrequency(void) const
virtual AbsoluteFrequencyType GetFrequency(InstanceIdentifier id) const
InternalValueType * InternalDataType
Superclass::InstanceIdentifier InstanceIdentifier
virtual ~ListSampleCArray()
void AllocateInternalContainer(unsigned long size, unsigned int dim)
SmartPointer< Self > Pointer
virtual const MeasurementVectorType & GetMeasurementVector(InstanceIdentifier id) const
InstanceIdentifier m_InternalContainerSize
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::AbsoluteFrequencyType AbsoluteFrequencyType
Superclass::MeasurementType MeasurementType