Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkAnnotationProperty_h
14 #define mitkAnnotationProperty_h
20 #include <itkConfigure.h>
37 itkFactorylessNewMacro(
Self);
45 itkGetStringMacro(
Label);
46 itkSetStringMacro(
Label);
48 const Point3D &GetPosition()
const;
49 void SetPosition(
const Point3D &position);
51 std::string GetValueAsString()
const override;
57 using BaseProperty::operator=;
75 itk::LightObject::Pointer InternalClone()
const override;
77 bool IsEqual(
const BaseProperty &property)
const override;
Abstract base class for properties.
#define mitkNewMacro2Param(classname, typea, typeb)
MITKCORE_EXPORT void FromJSON(const nlohmann::json &j, AffineTransform3D::Pointer transform)
Read transform from JSON array (16 elements, resp. 4x4 matrix).
virtual BaseProperty & operator=(const BaseProperty &other)
Find image slices visible on a given plane.
A data structure describing a label.
MITKCORE_EXPORT void ToJSON(nlohmann::json &j, AffineTransform3D::ConstPointer transform)
Write transform (4x4 matrix) as JSON array with 16 elements.
#define mitkClassMacro(className, SuperClassName)
#define mitkNewMacro4Param(classname, typea, typeb, typec, typed)
Property for annotations.