13 #ifndef mitkVtkScalarModeProperty_h
14 #define mitkVtkScalarModeProperty_h
35 itkFactorylessNewMacro(Self);
65 using BaseProperty::operator=;
Property for storing enumeration-like values identified by id and name.
unsigned int IdType
Unsigned integer type used as unique enumeration value identifier.
Encapsulates the VTK scalar mode enumeration as an EnumerationProperty.
VtkScalarModeProperty(const IdType &value)
Construct with an integer scalar mode value.
VtkScalarModeProperty(const std::string &value)
Construct with a string scalar mode value.
virtual void SetScalarModeToDefault()
Set the scalar mode to VTK_SCALAR_MODE_DEFAULT.
VtkScalarModeProperty()
Default constructor. Sets the scalar mode to VTK_SCALAR_MODE_DEFAULT.
virtual void SetScalarModeToCellData()
Set the scalar mode to VTK_SCALAR_MODE_USE_CELL_DATA.
virtual void SetScalarModeToPointFieldData()
Set the scalar mode to VTK_SCALAR_MODE_USE_POINT_FIELD_DATA.
VtkScalarModeProperty(const VtkScalarModeProperty &other)
Copy constructor.
mitkNewMacro1Param(VtkScalarModeProperty, const IdType &)
mitkClassMacro(VtkScalarModeProperty, EnumerationProperty)
mitkNewMacro1Param(VtkScalarModeProperty, const std::string &)
virtual void AddInterpolationTypes()
Populate the enumeration with the VTK-defined scalar mode types.
bool AddEnum(const std::string &name, const IdType &id) override
Add an enumeration value.
mitkCloneMacro(VtkScalarModeProperty)
virtual int GetVtkScalarMode()
Return the current scalar mode value as defined by VTK constants.
virtual void SetScalarModeToCellFieldData()
Set the scalar mode to VTK_SCALAR_MODE_USE_CELL_FIELD_DATA.
virtual void SetScalarModeToPointData()
Set the scalar mode to VTK_SCALAR_MODE_USE_POINT_DATA.
Find image slices visible on a given plane.