Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkPlanarFigureControlPointStyleProperty.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkPlanarFigureControlPointStyleProperty_h
14 #define mitkPlanarFigureControlPointStyleProperty_h
15 
17 
19 
20 namespace mitk
21 {
35  {
36  public:
38 
39  itkFactorylessNewMacro(Self);
40 
41  itkCloneMacro(Self);
42 
44 
46 
47  typedef enum { Square, Circle } Shape;
48 
49  virtual Shape GetShape();
50 
51  virtual void SetShape(Shape);
52 
53  protected:
55 
56  PlanarFigureControlPointStyleProperty(const IdType &value);
57 
62  PlanarFigureControlPointStyleProperty(const std::string &value);
63 
68  bool AddEnum(const std::string &name, const IdType &id) override;
69 
73  virtual void AddEnumTypes();
74 
75  private:
76  // purposely not implemented
78 
79  itk::LightObject::Pointer InternalClone() const override;
80  };
81 
82 } // end of namespace mitk
83 
84 #endif
mitk::BaseProperty
Abstract base class for properties.
Definition: mitkBaseProperty.h:36
MitkPlanarFigureExports.h
mitk::EnumerationProperty
Definition: mitkEnumerationProperty.h:43
mitk::PlanarFigureControlPointStyleProperty::Square
@ Square
Definition: mitkPlanarFigureControlPointStyleProperty.h:47
mitk::PlanarFigureControlPointStyleProperty
Defines the rendering style of control points for PlanarFigure objects.
Definition: mitkPlanarFigureControlPointStyleProperty.h:34
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
MITKPLANARFIGURE_EXPORT
#define MITKPLANARFIGURE_EXPORT
Definition: MitkPlanarFigureExports.h:15
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::EnumerationProperty::IdType
unsigned int IdType
Definition: mitkEnumerationProperty.h:48
mitkEnumerationProperty.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36