Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
vtkGLMapperProp.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 vtkGLMapperProp_h
14
#define vtkGLMapperProp_h
15
16
#include "
MitkLegacyGLExports.h
"
17
18
#include "
mitkGLMapper.h
"
19
#include <vtkProp.h>
20
#include <vtkSmartPointer.h>
21
25
class
MITKLEGACYGL_EXPORT
vtkGLMapperProp
:
public
vtkProp
26
{
27
public
:
28
static
vtkGLMapperProp
*New();
29
vtkTypeMacro(
vtkGLMapperProp
, vtkProp);
30
36
int
RenderOverlay(vtkViewport *viewport)
override
;
37
int
RenderVolumetricGeometry(vtkViewport *)
override
;
38
int
RenderTranslucentPolygonalGeometry(vtkViewport *)
override
;
39
int
RenderOpaqueGeometry(vtkViewport *)
override
;
40
41
const
mitk::GLMapper
*GetWrappedGLMapper()
const
;
42
void
SetWrappedGLMapper(
mitk::GLMapper
*glMapper);
43
44
void
SetBaseRenderer(
mitk::BaseRenderer
*baseRenderer);
45
46
protected
:
47
vtkGLMapperProp
();
48
~
vtkGLMapperProp
()
override
;
49
50
mitk::GLMapper
*
m_WrappedGLMapper
;
51
mitk::BaseRenderer
*
m_BaseRenderer
;
52
};
53
#endif
/* vtkGLMapperProp2_h */
mitkGLMapper.h
MITKLEGACYGL_EXPORT
#define MITKLEGACYGL_EXPORT
Definition:
MitkLegacyGLExports.h:15
MitkLegacyGLExports.h
vtkGLMapperProp::m_WrappedGLMapper
mitk::GLMapper * m_WrappedGLMapper
Definition:
vtkGLMapperProp.h:50
vtkGLMapperProp::m_BaseRenderer
mitk::BaseRenderer * m_BaseRenderer
Definition:
vtkGLMapperProp.h:51
mitk::GLMapper
Base class of all OpenGL-based mappers.
Definition:
mitkGLMapper.h:41
vtkGLMapperProp
The vtkGLMapperProp class is a VtkProp, wrapping a GLMapper.
Definition:
vtkGLMapperProp.h:25
mitk::BaseRenderer
Definition:
mitkBaseRenderer.h:56
src
MITK
Modules
LegacyGL
vtkGLMapperProp.h
Generated on Mon Jun 17 2024 12:43:31 for Medical Imaging Interaction Toolkit by
1.8.17