30 this->AddInterpolationTypes();
31 if ( IsValidEnumerationValue( value ) )
33 this->SetValue( value ) ;
37 this->SetValue( static_cast<IdType>(
ODFN_MINMAX ) );
43 this->AddInterpolationTypes();
44 if ( IsValidEnumerationValue( value ) )
46 this->SetValue( value );
50 this->SetValue( static_cast<IdType>(
ODFN_MINMAX ) );
57 return static_cast<int>( this->GetValueAsId() );
63 this->SetValue( static_cast<IdType>(
ODFN_MINMAX ) );
69 this->SetValue( static_cast<IdType>(
ODFN_MAX ) );
75 this->SetValue( static_cast<IdType>(
ODFN_NONE ) );
87 AddEnum(
"Min-Max", static_cast<IdType>(
ODFN_MINMAX ) );
88 AddEnum(
"Maximum", static_cast<IdType>(
ODFN_MAX ) );
89 AddEnum(
"None", static_cast<IdType>(
ODFN_NONE ) );
96 return Superclass::AddEnum( name,
id );
virtual bool SetValue(const std::string &name)
#define MITK_REGISTER_SERIALIZER(classname)
virtual int GetNormalization()
virtual void SetNormalizationToNone()
virtual void SetNormalizationToMinMax()
virtual void AddInterpolationTypes()
virtual void SetNormalizationToGlobalMax()
OdfNormalizationMethodProperty()
virtual void SetNormalizationToMax()
virtual bool AddEnum(const std::string &name, const IdType &id) override