Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
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
{
25
class
MITKCORE_EXPORT
IntPropertyExtension
:
public
PropertyExtension
26
{
27
public
:
28
mitkClassMacro
(
IntPropertyExtension
,
PropertyExtension
);
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
:
46
IntPropertyExtension
();
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
mitk::IntPropertyExtension
Property extension for mitk::IntProperty.
Definition:
mitkIntPropertyExtension.h:25
mitkNewMacro2Param
#define mitkNewMacro2Param(classname, typea, typeb)
Definition:
mitkCommon.h:81
mitkNewMacro3Param
#define mitkNewMacro3Param(classname, typea, typeb, typec)
Definition:
mitkCommon.h:94
mitkPropertyExtension.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
MitkCoreExports.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::PropertyExtension
Base class for all property extensions.
Definition:
mitkPropertyExtension.h:24
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkIntPropertyExtension.h
Generated on Mon Dec 23 2024 02:13:19 for Medical Imaging Interaction Toolkit by
1.8.17