Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkCrosshairData.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 mitkCrosshairData_h
14
#define mitkCrosshairData_h
15
16
#include <
mitkBaseData.h
>
17
#include <
mitkPoint.h
>
18
19
namespace
mitk
20
{
21
class
MITKCORE_EXPORT
CrosshairData
:
public
BaseData
22
{
23
public
:
24
25
mitkClassMacro
(
CrosshairData
,
BaseData
);
26
itkFactorylessNewMacro(
Self
);
27
28
itkGetConstMacro(Position,
Point3D
);
29
itkSetMacro(Position,
Point3D
);
30
31
void
SetRequestedRegionToLargestPossibleRegion()
override
;
32
bool
RequestedRegionIsOutsideOfTheBufferedRegion()
override
;
33
bool
VerifyRequestedRegion()
override
;
34
void
SetRequestedRegion(
const
itk::DataObject* data)
override
;
35
36
protected
:
37
38
CrosshairData
();
39
~
CrosshairData
()
override
;
40
41
Point3D
m_Position
;
42
43
};
44
}
45
46
#endif
mitkPoint.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitk::Point< ScalarType, 3 >
mitk::CrosshairData::m_Position
Point3D m_Position
Definition:
mitkCrosshairData.h:41
mitk::BaseData
Base of all data objects.
Definition:
mitkBaseData.h:42
mitkBaseData.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::CrosshairData
Definition:
mitkCrosshairData.h:21
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkCrosshairData.h
Generated on Wed May 17 2023 16:26:05 for Medical Imaging Interaction Toolkit by
1.8.17