13 #ifndef mitkClippingProperty_h
14 #define mitkClippingProperty_h
20 #include <itkConfigure.h>
47 itkFactorylessNewMacro(Self);
56 bool GetClippingEnabled() const;
65 void SetClippingEnabled(
bool enabled);
101 std::
string GetValueAsString() const override;
126 bool m_ClippingEnabled;
141 bool IsEqual(const
BaseProperty &property) const override;
void SetOrigin(mitk::TimeGeometry *tg, const std::array< double, 3 > &origin, mitk::TimeStepType t)
Sets the origin at the given time step.
std::tuple< double, double, double > GetOrigin(const mitk::TimeGeometry *tg, mitk::TimeStepType t)
Returns the origin (x, y, z) at the given time step.
Abstract base class for properties.
Property for defining a clipping plane for datasets.
mitkClassMacro(ClippingProperty, BaseProperty)
std::string ValueType
The type used for string-based value representation.
#define mitkNewMacro2Param(classname, typea, typeb)
#define mitkCloneMacro(classname)
Convenience header that includes all MITK numeric types.
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).