Medical Imaging Interaction Toolkit  2018.4.99-444716c4
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 
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
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
DataCollection - Class to facilitate loading/accessing structured data.
Defines the rendering style of control points for PlanarFigure objects.
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
#define MITKPLANARFIGURE_EXPORT