12 #ifndef mitkTransferFunctionProperty_h
13 #define mitkTransferFunctionProperty_h
46 itkFactorylessNewMacro(Self);
67 std::
string GetValueAsString() const override;
108 bool IsEqual(const
BaseProperty &property) const override;
Abstract base class for properties.
Property for storing a mitk::TransferFunction.
mitk::TransferFunction::Pointer ValueType
The type of the value stored by this property.
mitkClassMacro(TransferFunctionProperty, BaseProperty)
Wrapper for VTK scalar opacity, gradient opacity, and color transfer functions.
#define mitkNewMacro1Param(classname, type)
#define mitkCloneMacro(classname)
Find image slices visible on a given plane.
MITKCORE_EXPORT void ToJSON(nlohmann::json &j, AffineTransform3D::ConstPointer transform)
Serialize an AffineTransform3D to a JSON array with 16 elements (row-major 4x4 matrix).
MITKCORE_EXPORT void FromJSON(const nlohmann::json &j, AffineTransform3D::Pointer transform)
Deserialize an AffineTransform3D from a JSON array with 16 elements (row-major 4x4 matrix).