60 template<
typename TMeasurementVector >
130 itkExceptionMacro(
"Attempting to change the measurement \
131 vector size of a non-empty Sample");
148 if ( defaultLength != s )
151 "Attempting to change the measurement \
152 vector size of a non-resizable vector type" );
165 const Self *thatConst =
dynamic_cast< const Self *
>( thatObject );
184 os << indent <<
"Length of measurement vectors in the sample: "
virtual InstanceIdentifier Size() const =0
MeasurementVectorTraits::InstanceIdentifier InstanceIdentifier
virtual const MeasurementVectorType & GetMeasurementVector(InstanceIdentifier id) const =0
virtual AbsoluteFrequencyType GetFrequency(InstanceIdentifier id) const =0
virtual void Graft(const DataObject *)
SmartPointer< const Self > ConstPointer
Simulate a standard C array with copy semnatics.
void operator=(const Self &)
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 Graft(const DataObject *thatObject) ITK_OVERRIDE
virtual void Modified() const
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
TMeasurementVector MeasurementVectorType
unsigned int MeasurementVectorSizeType
IdentifierType InstanceIdentifier
A collection of measurements for statistical analysis.
Control indentation during Print() invocation.
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
MeasurementVectorTraits::AbsoluteFrequencyType AbsoluteFrequencyType
InstanceIdentifier AbsoluteFrequencyType
MeasurementVectorSizeType m_MeasurementVectorSize
Base class for all data objects in ITK.
virtual TotalAbsoluteFrequencyType GetTotalFrequency() const =0