Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkRegVisStyleProperty.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 
14 #ifndef mitkRegVisStyleProperty_h
15 #define mitkRegVisStyleProperty_h
16 
17 // MITK
19 
20 // MITK
22 
23 namespace mitk
24 {
25 
39 {
40 public:
41 
43 
44  itkNewMacro(RegVisStyleProperty);
45 
48 
51 
52 
53  using BaseProperty::operator=;
54 
55 protected:
56 
61 
66  RegVisStyleProperty( const IdType& value );
67 
72  RegVisStyleProperty( const std::string& value );
73 
78  bool AddEnum( const std::string& name, const IdType& id ) override;
79 
83  void AddTypes();
84 
85 private:
86 
87  // purposely not implemented
89  RegVisStyleProperty& operator=(const RegVisStyleProperty&);
90 };
91 
92 
93 } // end of namespace mitk
94 
95 #endif
#define MITKMATCHPOINTREGISTRATION_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 defining the visual representation style for registrations.
bool AddEnum(const std::string &name, const IdType &id) override
mitkClassMacro(RegVisStyleProperty, EnumerationProperty)
RegVisStyleProperty(const std::string &value)
RegVisStyleProperty(const IdType &value)
mitkNewMacro1Param(RegVisStyleProperty, const std::string &)
Constructs a RegVisStyleProperty from a string name.
mitkNewMacro1Param(RegVisStyleProperty, const IdType &)
Constructs a RegVisStyleProperty from a numeric ID.
Find image slices visible on a given plane.