Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkRegVisColorStyleProperty.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 mitkRegVisColorStyleProperty_h
15 #define mitkRegVisColorStyleProperty_h
16 
17 // MITK
19 
20 // MITK
22 
23 namespace mitk
24 {
25 
26 #ifdef _MSC_VER
27 # pragma warning(push)
28 # pragma warning(disable: 4522)
29 #endif
30 
37 {
38 public:
39 
41 
42  itkNewMacro(RegVisColorStyleProperty);
43 
45 
46  mitkNewMacro1Param(RegVisColorStyleProperty, const std::string&);
47 
48 
49  using BaseProperty::operator=;
50 
51 protected:
52 
57 
62  RegVisColorStyleProperty( const IdType& value );
63 
68  RegVisColorStyleProperty( const std::string& value );
69 
74  bool AddEnum( const std::string& name, const IdType& id ) override;
75 
79  void AddTypes();
80 
81 private:
82 
83  // purposely not implemented
86 };
87 
88 #ifdef _MSC_VER
89 # pragma warning(pop)
90 #endif
91 
92 } // end of namespace mitk
93 
94 #endif
mitk::EnumerationProperty
Definition: mitkEnumerationProperty.h:43
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
MitkMatchPointRegistrationExports.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::EnumerationProperty::IdType
unsigned int IdType
Definition: mitkEnumerationProperty.h:48
mitkEnumerationProperty.h
mitk::RegVisColorStyleProperty
Definition: mitkRegVisColorStyleProperty.h:36
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MITKMATCHPOINTREGISTRATION_EXPORT
#define MITKMATCHPOINTREGISTRATION_EXPORT
Definition: MitkMatchPointRegistrationExports.h:15