Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkContourSetMapper2D.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 mitkContourSetMapper2D_h
14
#define mitkContourSetMapper2D_h
15
16
#include "
mitkCommon.h
"
17
#include "
mitkGLMapper.h
"
18
#include <
MitkSegmentationExports.h
>
19
20
namespace
mitk
21
{
22
class
BaseRenderer;
23
class
ContourSet;
24
31
class
MITKSEGMENTATION_EXPORT
ContourSetMapper2D
:
public
Mapper
32
{
33
public
:
34
mitkClassMacro
(
ContourSetMapper2D
,
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
mitk::ContourSet
*GetInput(
void
);
51
52
protected
:
53
ContourSetMapper2D
();
54
55
~
ContourSetMapper2D
()
override
;
56
};
57
58
}
// namespace mitk
59
60
#endif
mitk::VtkPropRenderer::RenderType
RenderType
Definition:
mitkVtkPropRenderer.h:71
mitkGLMapper.h
mitk::ContourSetMapper2D
OpenGL-based mapper to display a mitk::Contour object in a 2D render window.
Definition:
mitkContourSetMapper2D.h:31
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
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
mitk::ContourSet
Definition:
mitkContourSet.h:28
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::BaseRenderer
Definition:
mitkBaseRenderer.h:55
MitkSegmentationExports.h
src
MITK
Modules
Segmentation
Rendering
mitkContourSetMapper2D.h
Generated on Wed May 17 2023 16:26:05 for Medical Imaging Interaction Toolkit by
1.8.17