Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef _MITK_REG_VIS_COLOR_STYLE_PROPERTY__H_
19 #define _MITK_REG_VIS_COLOR_STYLE_PROPERTY__H_
20 
21 // MITK
23 
24 // MITK
26 
27 namespace mitk
28 {
29 
30 #ifdef _MSC_VER
31 # pragma warning(push)
32 # pragma warning(disable: 4522)
33 #endif
34 
41 {
42 public:
43 
45 
46  itkNewMacro(RegVisColorStyleProperty);
47 
49 
50  mitkNewMacro1Param(RegVisColorStyleProperty, const std::string&);
51 
52 
53  using BaseProperty::operator=;
54 
55 protected:
56 
61 
66  RegVisColorStyleProperty( const IdType& value );
67 
72  RegVisColorStyleProperty( const std::string& value );
73 
78  virtual bool AddEnum( const std::string& name, const IdType& id );
79 
83  virtual void AddTypes();
84 
85 private:
86 
87  // purposely not implemented
90 };
91 
92 #ifdef _MSC_VER
93 # pragma warning(pop)
94 #endif
95 
96 } // end of namespace mitk
97 
98 #endif
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKMATCHPOINTREGISTRATION_EXPORT
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44