Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkModalityProperty.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 mitkModalityProperty_h
14 #define mitkModalityProperty_h
15 
17 #include <MitkCoreExports.h>
18 #include <itkObjectFactory.h>
19 
20 namespace mitk
21 {
22 #ifdef _MSC_VER
23 #pragma warning(push)
24 #pragma warning(disable : 4522)
25 #endif
26 
33  {
34  public:
36  itkFactorylessNewMacro(Self);
37  itkCloneMacro(Self);
39  mitkNewMacro1Param(ModalityProperty, const std::string &);
40 
41  using BaseProperty::operator=;
42 
43  protected:
45  ModalityProperty(const IdType &value);
46  ModalityProperty(const std::string &value);
47 
48  ~ModalityProperty() override;
49  virtual void AddEnumerationTypes();
50 
51  private:
52  // purposely not implemented
53  const ModalityProperty &operator=(const ModalityProperty &);
54 
55  itk::LightObject::Pointer InternalClone() const override;
56  };
57 
58 #ifdef _MSC_VER
59 #pragma warning(pop)
60 #endif
61 
62 } // namespace
63 
64 #endif
mitk::BaseProperty
Abstract base class for properties.
Definition: mitkBaseProperty.h:36
mitk::EnumerationProperty
Definition: mitkEnumerationProperty.h:43
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
mitk::ModalityProperty
Enumerates all known modalities.
Definition: mitkModalityProperty.h:32
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::EnumerationProperty::IdType
unsigned int IdType
Definition: mitkEnumerationProperty.h:48
mitkEnumerationProperty.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15