Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkIntPropertyExtension.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 mitkIntPropertyExtension_h
14 #define mitkIntPropertyExtension_h
15 
16 #include <MitkCoreExports.h>
17 #include <mitkPropertyExtension.h>
18 
19 namespace mitk
20 {
26  {
27  public:
29 
30  itkFactorylessNewMacro(Self);
31 
32  itkCloneMacro(Self);
33  mitkNewMacro2Param(Self, int, int);
34  mitkNewMacro3Param(Self, int, int, int);
35 
36  int GetMaximum() const;
37  void SetMaximum(int maximum);
38 
39  int GetMinimum() const;
40  void SetMinimum(int minimum);
41 
42  int GetSingleStep() const;
43  void SetSingleStep(int singleStep);
44 
45  private:
47  IntPropertyExtension(int minimum, int maximum, int singleStep = 1);
48 
49  ~IntPropertyExtension() override;
50 
51  struct Impl;
52  Impl *m_Impl;
53  };
54 }
55 
56 #endif
#define MITKCORE_EXPORT
Property extension for mitk::IntProperty.
void SetMinimum(int minimum)
mitkNewMacro2Param(Self, int, int)
void SetMaximum(int maximum)
void SetSingleStep(int singleStep)
mitkClassMacro(IntPropertyExtension, PropertyExtension)
mitkNewMacro3Param(Self, int, int, int)
Base class for all property extensions.
Find image slices visible on a given plane.