60 template<
class TMeasurementVector >
120 if ( s == this->m_MeasurementVectorSize )
130 itkExceptionMacro(
"Attempting to change the measurement \
131 vector size of a non-empty Sample");
135 this->m_MeasurementVectorSize = s;
148 if ( defaultLength != s )
151 "Attempting to change the measurement \
152 vector size of a non-resizable vector type" );
158 itkGetConstMacro(MeasurementVectorSize, MeasurementVectorSizeType);
163 this->Superclass::Graft(thatObject);
165 const Self *thatConst =
dynamic_cast< const Self *
>( thatObject );
168 this->SetMeasurementVectorSize( thatConst->GetMeasurementVectorSize() );
181 void PrintSelf(std::ostream & os,
Indent indent)
const
183 Superclass::PrintSelf(os, indent);
184 os << indent <<
"Length of measurement vectors in the sample: "
185 << m_MeasurementVectorSize << std::endl;
190 void operator=(
const Self &);