Medical Imaging Interaction Toolkit  2018.4.99-4c24e3cb
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) itkCloneMacro(Self)
40 
42 
44 
45  typedef enum { Square, Circle } Shape;
46 
47  virtual Shape GetShape();
48 
49  virtual void SetShape(Shape);
50 
51  protected:
53 
55 
60  PlanarFigureControlPointStyleProperty(const std::string &value);
61 
66  bool AddEnum(const std::string &name, const IdType &id) override;
67 
71  virtual void AddEnumTypes();
72 
73  private:
74  // purposely not implemented
76 
77  itk::LightObject::Pointer InternalClone() const override;
78  };
79 
80 } // end of namespace mitk
81 
82 #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