Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkCrosshairManager.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 mitkCrosshairManager_h
14
#define mitkCrosshairManager_h
15
16
#include <
MitkCoreExports.h
>
17
18
#include <
mitkBaseRenderer.h
>
19
#include <
mitkCrosshairData.h
>
20
#include <
mitkDataStorage.h
>
21
22
namespace
mitk
23
{
34
class
MITKCORE_EXPORT
CrosshairManager
:
public
itk::Object
35
{
36
public
:
37
38
mitkClassMacroItkParent
(
CrosshairManager
, itk::Object);
39
mitkNewMacro1Param
(
Self
,
BaseRenderer
*);
40
50
void
SetCrosshairPosition(
const
Point3D
& selectedPoint);
64
void
UpdateCrosshairPosition(
const
SliceNavigationController
* sliceNavigationController);
74
Point3D
GetCrosshairPosition()
const
;
86
void
SetCrosshairVisibility(
bool
visible,
const
BaseRenderer
* baseRenderer);
98
bool
GetCrosshairVisibility(
const
BaseRenderer
* baseRenderer)
const
;
108
void
SetCrosshairGap(
unsigned
int
gapSize);
121
void
AddCrosshairNodeToDataStorage(
DataStorage
* dataStorage);
134
void
RemoveCrosshairNodeFromDataStorage(
DataStorage
* dataStorage);
135
136
protected
:
137
138
CrosshairManager
(
BaseRenderer
* baseRenderer);
139
~
CrosshairManager
();
140
141
DataNode::Pointer
m_CrosshairDataNode
;
142
CrosshairData::Pointer
m_CrosshairData
;
143
144
};
145
}
146
147
#endif
mitk::CrosshairManager::m_CrosshairData
CrosshairData::Pointer m_CrosshairData
Definition:
mitkCrosshairManager.h:142
mitkDataStorage.h
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
itk::SmartPointer< Self >
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:45
mitk::SliceNavigationController
Controls the selection of the slice the associated BaseRenderer will display.
Definition:
mitkSliceNavigationController.h:130
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
MitkCoreExports.h
mitk::Point< ScalarType, 3 >
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition:
mitkDataStorage.h:43
mitk::CrosshairManager
The CrosshairManager takes care of the correct settings for the crosshair.
Definition:
mitkCrosshairManager.h:34
mitk::BaseRenderer
Definition:
mitkBaseRenderer.h:56
mitkCrosshairData.h
mitkBaseRenderer.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::CrosshairManager::m_CrosshairDataNode
DataNode::Pointer m_CrosshairDataNode
Definition:
mitkCrosshairManager.h:141
src
MITK
Modules
Core
include
mitkCrosshairManager.h
Generated on Sat Nov 23 2024 02:13:10 for Medical Imaging Interaction Toolkit by
1.8.17