Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPlaneOrientationProperty.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 mitkPlaneOrientationProperty_h
14 #define mitkPlaneOrientationProperty_h
15 
17 
18 namespace mitk
19 {
37  {
38  public:
40 
41  itkFactorylessNewMacro(Self);
42 
43  itkCloneMacro(Self);
44 
46 
48 
49  enum
50  {
53  PLANE_DECORATION_NEGATIVE_ORIENTATION
54  };
55 
59  virtual int GetPlaneDecoration();
60 
64  virtual void SetPlaneDecorationToNone();
65 
70 
75 
76  using BaseProperty::operator=;
77 
78  protected:
83 
89 
94  PlaneOrientationProperty(const std::string &value);
95 
97 
102  bool AddEnum(const std::string &name, const IdType &id) override;
103 
107  virtual void AddDecorationTypes();
108 
110 
111  private:
112  // purposely not implemented
114  };
115 
116 
117 } // end of namespace mitk
118 
119 #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 controlling orientation arrows on 2D plane representations.
virtual void SetPlaneDecorationToNone()
bool AddEnum(const std::string &name, const IdType &id) override
virtual void SetPlaneDecorationToNegativeOrientation()
virtual void SetPlaneDecorationToPositiveOrientation()
mitkNewMacro1Param(PlaneOrientationProperty, const IdType &)
PlaneOrientationProperty(const std::string &value)
mitkCloneMacro(PlaneOrientationProperty)
mitkClassMacro(PlaneOrientationProperty, EnumerationProperty)
PlaneOrientationProperty(const PlaneOrientationProperty &other)
PlaneOrientationProperty(const IdType &value)
mitkNewMacro1Param(PlaneOrientationProperty, const std::string &)
Find image slices visible on a given plane.