Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPointSetShapeProperty.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 mitkPointSetShapeProperty_h
14 #define mitkPointSetShapeProperty_h
15 
17 
18 namespace mitk
19 {
44  {
45  public:
47 
48  itkFactorylessNewMacro(Self);
49 
50  itkCloneMacro(Self);
51 
53 
55 
57  {
58  NONE = 0,
59  VERTEX = 1,
60  DASH = 2,
61  CROSS = 3,
62  THICK_CROSS = 4,
63  TRIANGLE = 5,
64  SQUARE = 6,
65  CIRCLE = 7,
66  DIAMOND = 8,
67  ARROW = 9,
68  THICK_ARROW = 10,
69  HOOKED_ARROW = 11
70  // Default = CROSS;
71  };
72 
76  virtual int GetPointSetShape() const;
77 
78  using BaseProperty::operator=;
79 
80  protected:
84 
89 
93  PointSetShapeProperty(const std::string &value);
94 
96 
101  bool AddEnum(const std::string &name, const IdType &id) override;
102 
106  virtual void AddPointSetShapes();
107 
109 
110  private:
111  // purposely not implemented
112  PointSetShapeProperty &operator=(const PointSetShapeProperty &);
113  };
114 
115 
116 } // end of namespace mitk
117 
118 #endif
#define MITKCORE_EXPORT
Property for storing enumeration-like values identified by id and name.
unsigned int IdType
Unsigned integer type used as unique enumeration value identifier.
Enumeration property for point set rendering shapes.
PointSetShapeProperty(const std::string &value)
mitkCloneMacro(PointSetShapeProperty)
bool AddEnum(const std::string &name, const IdType &id) override
virtual int GetPointSetShape() const
mitkNewMacro1Param(PointSetShapeProperty, const IdType &)
virtual void AddPointSetShapes()
mitkNewMacro1Param(PointSetShapeProperty, const std::string &)
PointSetShapeProperty(const PointSetShapeProperty &other)
PointSetShapeProperty(const IdType &value)
mitkClassMacro(PointSetShapeProperty, EnumerationProperty)
Find image slices visible on a given plane.