30 this->AddInterpolationTypes();
31 if ( IsValidEnumerationValue( value ) )
33 this->SetValue( value ) ;
37 this->SetValue( static_cast<IdType>(
ODFSB_NONE ) );
43 this->AddInterpolationTypes();
44 if ( IsValidEnumerationValue( value ) )
46 this->SetValue( value );
50 this->SetValue( static_cast<IdType>(
ODFSB_NONE ) );
57 return static_cast<int>( this->GetValueAsId() );
62 AddEnum(
"None", static_cast<IdType>(
ODFSB_NONE ) );
63 AddEnum(
"GFA", static_cast<IdType>(
ODFSB_GFA ) );
64 AddEnum(
"Principal Curvature", static_cast<IdType>(
ODFSB_PC ) );
84 return Superclass::AddEnum( name,
id );
virtual void SetScaleByPrincipalCurvature()
virtual bool SetValue(const std::string &name)
#define MITK_REGISTER_SERIALIZER(classname)
virtual bool AddEnum(const std::string &name, const IdType &id) override
virtual void SetScaleByGFA()
virtual void AddInterpolationTypes()
virtual void SetScaleByNothing()