13 #ifndef mitkAnnotationProperty_h
14 #define mitkAnnotationProperty_h
20 #include <itkConfigure.h>
42 itkFactorylessNewMacro(Self);
75 void SetPosition(const
Point3D &position);
84 std::
string GetValueAsString() const override;
108 using BaseProperty::operator=;
128 bool IsEqual(
const BaseProperty &property)
const override;
Property for storing a text annotation with a 3D position.
AnnotationProperty(const char *label, const Point3D &position)
AnnotationProperty(const std::string &label, ScalarType x, ScalarType y, ScalarType z)
AnnotationProperty(const std::string &label, const Point3D &position)
AnnotationProperty(const char *label, ScalarType x, ScalarType y, ScalarType z)
AnnotationProperty(const AnnotationProperty &other)
std::string ValueType
The type of the label value stored by this property.
mitkClassMacro(AnnotationProperty, BaseProperty)
mitkCloneMacro(AnnotationProperty)
Abstract base class for properties.
A data structure describing a label in a multi-label segmentation.
#define mitkNewMacro4Param(classname, typea, typeb, typec, typed)
#define mitkNewMacro2Param(classname, typea, typeb)
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).
double ScalarType
Scalar type used throughout MITK for geometric computations.