14 #include <vtkProperty.h> 19 this->
SetValue(static_cast<IdType>(VTK_RESLICE_NEAREST));
31 this->
SetValue(static_cast<IdType>(VTK_RESLICE_NEAREST));
44 this->
SetValue(static_cast<IdType>(VTK_RESLICE_NEAREST));
55 this->
SetValue(static_cast<IdType>(VTK_RESLICE_NEAREST));
60 this->
SetValue(static_cast<IdType>(VTK_RESLICE_LINEAR));
65 this->
SetValue(static_cast<IdType>(VTK_RESLICE_CUBIC));
70 AddEnum(
"Nearest", static_cast<IdType>(VTK_RESLICE_NEAREST));
71 AddEnum(
"Linear", static_cast<IdType>(VTK_RESLICE_LINEAR));
72 AddEnum(
"Cubic", static_cast<IdType>(VTK_RESLICE_CUBIC));
80 itk::LightObject::Pointer mitk::VtkResliceInterpolationProperty::InternalClone()
const 82 itk::LightObject::Pointer result(
new Self(*
this));
virtual int GetInterpolation()
virtual IdType GetValueAsId() const
virtual bool SetValue(const std::string &name)
bool AddEnum(const std::string &name, const IdType &id) override
virtual void AddInterpolationTypes()
virtual bool AddEnum(const std::string &name, const IdType &id)
virtual void SetInterpolationToCubic()
virtual void SetInterpolationToNearest()
VtkResliceInterpolationProperty Self
VtkResliceInterpolationProperty()
virtual bool IsValidEnumerationValue(const IdType &id) const
virtual void SetInterpolationToLinear()