Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkResliceMethodProperty.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 #ifndef __MITKRESLICEMETHODENUMPROPERTY_H
18 #define __MITKRESLICEMETHODENUMPROPERTY_H
19 
21 
22 namespace mitk
23 {
24 #ifdef _MSC_VER
25 #pragma warning(push)
26 #pragma warning(disable : 4522)
27 #endif
28 
33  {
34  public:
36  itkFactorylessNewMacro(Self) itkCloneMacro(Self) mitkNewMacro1Param(ResliceMethodProperty, const IdType &);
37  mitkNewMacro1Param(ResliceMethodProperty, const std::string &);
38 
39  using BaseProperty::operator=;
40 
41  protected:
42  ResliceMethodProperty();
43  ResliceMethodProperty(const IdType &value);
44  ResliceMethodProperty(const std::string &value);
45 
46  void AddThickSlicesTypes();
47 
48  private:
49  // purposely not implemented
50  ResliceMethodProperty &operator=(const ResliceMethodProperty &);
51 
52  virtual itk::LightObject::Pointer InternalClone() const override;
53  };
54 
55 #ifdef _MSC_VER
56 #pragma warning(pop)
57 #endif
58 
59 } // end of namespace mitk
60 
61 #endif //_MITK_VTK_SCALARMODE_PROPERTY__H_
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44