Medical Imaging Interaction Toolkit  2026.06.00
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 (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 mitkResliceMethodProperty_h
14 #define mitkResliceMethodProperty_h
15 
17 
18 namespace mitk
19 {
34  {
35  public:
37  itkFactorylessNewMacro(Self);
38  itkCloneMacro(Self);
41 
42  using BaseProperty::operator=;
43 
44  protected:
47 
50 
56 
61  ResliceMethodProperty(const std::string &value);
62 
65 
67 
68  private:
69  // purposely not implemented
70  ResliceMethodProperty &operator=(const ResliceMethodProperty &);
71  };
72 
73 
74 } // end of namespace mitk
75 
76 #endif
#define MITKCORE_EXPORT
Property for storing enumeration-like values identified by id and name.
unsigned int IdType
Unsigned integer type used as unique enumeration value identifier.
Encapsulates the thick slices reslice method as an enumeration property.
mitkNewMacro1Param(ResliceMethodProperty, const std::string &)
ResliceMethodProperty(const std::string &value)
Constructor. Sets reslice method to the given string value.
ResliceMethodProperty()
Default constructor. Sets reslice method to "disabled".
ResliceMethodProperty(const IdType &value)
Constructor. Sets reslice method to the given enumeration value.
mitkClassMacro(ResliceMethodProperty, EnumerationProperty)
void AddThickSlicesTypes()
Adds the available thick slices reslice method types to the enumeration.
ResliceMethodProperty(const ResliceMethodProperty &other)
Copy constructor.
mitkCloneMacro(ResliceMethodProperty)
mitkNewMacro1Param(ResliceMethodProperty, const IdType &)
Find image slices visible on a given plane.