Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
mitkROIMapper3D.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 mitkROIMapper3D_h
14
#define mitkROIMapper3D_h
15
16
#include <
mitkLocalStorageHandler.h
>
17
#include <
mitkROIMapperLocalStorage.h
>
18
#include <
mitkVtkMapper.h
>
19
#include <
MitkROIExports.h
>
20
21
namespace
mitk
22
{
23
class
MITKROI_EXPORT
ROIMapper3D
:
public
VtkMapper
24
{
25
class
LocalStorage :
public
ROIMapperLocalStorage
26
{
27
public
:
28
LocalStorage();
29
~LocalStorage()
override
;
30
};
31
32
public
:
33
static
void
SetDefaultProperties
(
DataNode
* node,
BaseRenderer
* renderer =
nullptr
,
bool
override
=
false
);
34
35
mitkClassMacro
(
ROIMapper3D
,
VtkMapper
)
36
itkFactorylessNewMacro(
Self
)
37
38
vtkProp *GetVtkProp(
mitk::BaseRenderer
*renderer)
override
;
39
40
protected
:
41
ROIMapper3D
();
42
~
ROIMapper3D
()
override
;
43
44
void
GenerateDataForRenderer(
BaseRenderer
* renderer)
override
;
45
void
ApplyColorAndOpacityProperties(
BaseRenderer
* renderer, vtkActor* actor)
override
;
46
47
private
:
48
LocalStorageHandler<LocalStorage>
m_LocalStorageHandler;
49
};
50
}
51
52
#endif
mitkLocalStorageHandler.h
MitkROIExports.h
mitk::ROIMapper3D
Definition:
mitkROIMapper3D.h:23
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::LocalStorageHandler< LocalStorage >
mitkROIMapperLocalStorage.h
mitk::Mapper
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition:
mitkMapper.h:46
mitk::VtkMapper
Base class of all Vtk Mappers in order to display primitives by exploiting Vtk functionality.
Definition:
mitkVtkMapper.h:47
mitk::ROIMapperLocalStorage
Common base class for both 2-d and 3-d ROI mapper local storages.
Definition:
mitkROIMapperLocalStorage.h:27
mitkVtkMapper.h
MITKROI_EXPORT
#define MITKROI_EXPORT
Definition:
MitkROIExports.h:15
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::BaseRenderer
Definition:
mitkBaseRenderer.h:56
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:63
mitk::ROIMapperHelper::SetDefaultProperties
void SetDefaultProperties(DataNode *node, BaseRenderer *renderer, bool override)
Set common default properties for both 2-d and 3-d ROI mappers.
src
MITK
Modules
ROI
include
mitkROIMapper3D.h
Generated on Mon Jun 17 2024 12:43:28 for Medical Imaging Interaction Toolkit by
1.8.17