Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
mitkContourSetVtkMapper3D.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 mitkContourSetVtkMapper3D_h
14
#define mitkContourSetVtkMapper3D_h
15
16
#include "
mitkBaseRenderer.h
"
17
#include "
mitkCommon.h
"
18
#include "
mitkContourSet.h
"
19
#include "
mitkVtkMapper.h
"
20
#include <
MitkSegmentationExports.h
>
21
22
#include <vtkPolyData.h>
23
24
class
vtkPolyDataMapper;
25
class
vtkAppendPolyData;
26
class
vtkActor;
27
class
vtkTubeFilter;
28
29
namespace
mitk
30
{
31
//##Documentation
32
//## @brief Vtk-based mapper for mitk::Contour
33
//## @ingroup Mapper
34
class
MITKSEGMENTATION_EXPORT
ContourSetVtkMapper3D
:
public
VtkMapper
35
{
36
public
:
37
mitkClassMacro
(
ContourSetVtkMapper3D
,
VtkMapper
);
38
39
itkFactorylessNewMacro(
Self
);
40
41
itkCloneMacro(
Self
);
42
43
virtual
const
mitk::ContourSet
*GetInput();
44
45
vtkProp *GetVtkProp(
mitk::BaseRenderer
*renderer)
override
;
46
47
protected
:
48
ContourSetVtkMapper3D
();
49
50
~
ContourSetVtkMapper3D
()
override
;
51
52
void
GenerateDataForRenderer(
mitk::BaseRenderer
*renderer)
override
;
53
54
vtkPolyDataMapper *
m_VtkPolyDataMapper
;
55
vtkTubeFilter *
m_TubeFilter
;
56
57
vtkPolyData *
m_ContourSet
;
58
vtkActor *
m_Actor
;
59
};
60
61
}
// namespace mitk
62
63
#endif
mitk::ContourSetVtkMapper3D::m_VtkPolyDataMapper
vtkPolyDataMapper * m_VtkPolyDataMapper
Definition:
mitkContourSetVtkMapper3D.h:54
mitk::ContourSetVtkMapper3D::m_TubeFilter
vtkTubeFilter * m_TubeFilter
Definition:
mitkContourSetVtkMapper3D.h:55
mitk::ContourSetVtkMapper3D::m_Actor
vtkActor * m_Actor
Definition:
mitkContourSetVtkMapper3D.h:58
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
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
mitkCommon.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
mitk::ContourSetVtkMapper3D::m_ContourSet
vtkPolyData * m_ContourSet
Definition:
mitkContourSetVtkMapper3D.h:57
mitk::ContourSet
Definition:
mitkContourSet.h:28
mitkVtkMapper.h
mitk::ContourSetVtkMapper3D
Vtk-based mapper for mitk::Contour.
Definition:
mitkContourSetVtkMapper3D.h:34
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::BaseRenderer
Definition:
mitkBaseRenderer.h:56
MitkSegmentationExports.h
mitkBaseRenderer.h
mitkContourSet.h
src
MITK
Modules
Segmentation
Rendering
mitkContourSetVtkMapper3D.h
Generated on Mon Jun 17 2024 12:43:24 for Medical Imaging Interaction Toolkit by
1.8.17