18 #include <vtkProperty.h>
28 this->AddRenderingTypes();
29 if (IsValidEnumerationValue(value))
31 this->SetValue(value);
34 MITK_INFO <<
"Warning: invalid rendering configuration" << std::endl;
39 this->AddRenderingTypes();
40 if (IsValidEnumerationValue(value))
42 this->SetValue(value);
45 MITK_INFO <<
"Warning: invalid rendering configuration" << std::endl;
50 return static_cast<int>(this->GetValueAsId());
71 return Superclass::AddEnum(name,
id);
virtual bool SetValue(const std::string &name)
virtual void AddRenderingTypes()
itk::SmartPointer< Self > Pointer
virtual bool AddEnum(const std::string &name, const IdType &id) override
#define VTK_VOLUME_RAY_CAST_MIP_FUNCTION
#define VTK_RAY_CAST_COMPOSITE_FUNCTION
virtual void SetRenderingTypeToMIP()
virtual int GetRenderingType()
virtual void SetRenderingTypeToComposite()
VtkVolumeRenderingProperty()