60 template<
typename TMeasurementVector >
95 virtual InstanceIdentifier
Size()
const = 0;
99 virtual const MeasurementVectorType &
104 virtual AbsoluteFrequencyType
GetFrequency(InstanceIdentifier
id)
const = 0;
113 MeasurementVectorType m;
130 itkExceptionMacro(
"Attempting to change the measurement \ 131 vector size of a non-empty Sample");
143 MeasurementVectorType m3;
144 MeasurementVectorSizeType defaultLength =
148 if ( defaultLength != s )
151 "Attempting to change the measurement \ 152 vector size of a non-resizable vector type" );
158 itkGetConstMacro(MeasurementVectorSize, MeasurementVectorSizeType);
165 const Self *thatConst =
dynamic_cast< const Self *
>( thatObject );
184 os << indent <<
"Length of measurement vectors in the sample: " 189 Sample(
const Self &) ITK_DELETE_FUNCTION;
190 void operator=(
const Self &) ITK_DELETE_FUNCTION;
virtual const MeasurementVectorType & GetMeasurementVector(InstanceIdentifier id) const =0
MeasurementVectorTraits::InstanceIdentifier InstanceIdentifier
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
virtual void Graft(const DataObject *)
void operator=(const Self &) ITK_DELETE_FUNCTION
SmartPointer< const Self > ConstPointer
virtual void Graft(const DataObject *thatObject) override
virtual TotalAbsoluteFrequencyType GetTotalFrequency() const =0
virtual void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType s)
static bool IsResizable(const TVectorType &)
SmartPointer< Self > Pointer
NumericTraits< AbsoluteFrequencyType >::AccumulateType TotalAbsoluteFrequencyType
MeasurementVectorTraitsTypes< MeasurementVectorType >::ValueType MeasurementType
static unsigned int GetLength()
virtual void PrintSelf(std::ostream &os, Indent indent) const override
virtual AbsoluteFrequencyType GetFrequency(InstanceIdentifier id) const =0
virtual void Modified() const
TMeasurementVector MeasurementVectorType
unsigned int MeasurementVectorSizeType
IdentifierType InstanceIdentifier
virtual InstanceIdentifier Size() const =0
A collection of measurements for statistical analysis.
Control indentation during Print() invocation.
MeasurementVectorTraits::AbsoluteFrequencyType AbsoluteFrequencyType
InstanceIdentifier AbsoluteFrequencyType
MeasurementVectorSizeType m_MeasurementVectorSize
Base class for all data objects in ITK.