|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
61 template <
typename TMeasurementVector>
65 ITK_DISALLOW_COPY_AND_MOVE(
Sample);
74 itkOverrideGetNameOfClassMacro(
Sample);
119 if (MeasurementVectorTraits::IsResizable<MeasurementVectorType>({}))
134 itkExceptionMacro(
"Attempting to change the measurement vector size of a non-empty Sample");
149 if (defaultLength != s)
151 itkExceptionMacro(
"Attempting to change the measurement vector size of a non-resizable vector type");
166 const auto * thatConst = dynamic_cast<const Self *>(thatObject);
IdentifierType InstanceIdentifier
virtual AbsoluteFrequencyType GetFrequency(InstanceIdentifier id) const =0
TMeasurementVector MeasurementVectorType
void Graft(const DataObject *thatObject) override
virtual InstanceIdentifier Size() const =0
virtual void Graft(const DataObject *)
NumericTraits< AbsoluteFrequencyType >::AccumulateType TotalAbsoluteFrequencyType
Control indentation during Print() invocation.
virtual TotalAbsoluteFrequencyType GetTotalFrequency() const =0
typename MeasurementVectorTraits::InstanceIdentifier InstanceIdentifier
typename MeasurementVectorTraitsTypes< MeasurementVectorType >::ValueType MeasurementType
unsigned int MeasurementVectorSizeType
InstanceIdentifier AbsoluteFrequencyType
virtual void SetMeasurementVectorSize(MeasurementVectorSizeType s)
~Sample() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
MeasurementVectorTraits::AbsoluteFrequencyType AbsoluteFrequencyType
MeasurementVectorSizeType m_MeasurementVectorSize
Simulate a standard C array with copy semantics.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
static unsigned int GetLength()
typename TMeasurementVector::ValueType ValueType
A collection of measurements for statistical analysis.
Base class for most ITK classes.
virtual const MeasurementVectorType & GetMeasurementVector(InstanceIdentifier id) const =0
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void Modified() const
Base class for all data objects in ITK.