Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkContourMapper2D.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 mitkContourMapper2D_h
14
#define mitkContourMapper2D_h
15
16
#include "
mitkCommon.h
"
17
#include "
mitkMapper.h
"
18
#include <
MitkSegmentationExports.h
>
19
20
namespace
mitk
21
{
22
class
BaseRenderer;
23
class
Contour;
24
31
class
MITKSEGMENTATION_EXPORT
ContourMapper2D
:
public
Mapper
32
{
33
public
:
34
mitkClassMacro
(
ContourMapper2D
,
Mapper
);
35
36
itkFactorylessNewMacro(
Self
);
37
38
itkCloneMacro(
Self
);
39
43
void
MitkRender(
mitk::BaseRenderer
*renderer,
mitk::VtkPropRenderer::RenderType
type)
override
;
44
45
void
ApplyColorAndOpacityProperties(
mitk::BaseRenderer
*renderer, vtkActor * actor=
nullptr
)
override
;
46
50
const
Contour
*GetInput(
void
);
51
52
protected
:
53
ContourMapper2D
();
54
55
~
ContourMapper2D
()
override
;
56
};
57
58
}
// namespace mitk
59
60
#endif
mitk::VtkPropRenderer::RenderType
RenderType
Definition:
mitkVtkPropRenderer.h:71
mitk::ContourMapper2D
OpenGL-based mapper to display a mitk::Contour object in a 2D render window.
Definition:
mitkContourMapper2D.h:31
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitkMapper.h
mitk::Mapper
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition:
mitkMapper.h:46
mitkCommon.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::BaseRenderer
Definition:
mitkBaseRenderer.h:56
MitkSegmentationExports.h
mitk::Contour
Stores vertices for drawing a contour.
Definition:
mitkContour.h:31
src
MITK
Modules
Segmentation
Rendering
mitkContourMapper2D.h
Generated on Mon Dec 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17