Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
vtkGLMapperProp.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #include "vtkGLMapperProp.h"
18 
19 #include <vtkObjectFactory.h>
20 
22 
23 vtkGLMapperProp::vtkGLMapperProp() : m_WrappedGLMapper(0), m_BaseRenderer(0)
24 {
25 }
26 
28 {
29 }
30 
32 {
34  return 0;
35 
37  return 1;
38 }
39 
41 {
42  return 0;
43 }
44 
46 {
47  return 0;
48 }
49 
51 {
52  return 0;
53 }
54 
56 {
57  return m_WrappedGLMapper;
58 }
59 
61 {
62  this->m_WrappedGLMapper = glMapper;
63 }
64 
66 {
67  this->m_BaseRenderer = baseRenderer;
68 }
int RenderOverlay(vtkViewport *viewport) override
RenderOverlay Calls the render method of the actor and renders it.
Organizes the rendering process.
Base class of all OpenGL-based mappers.
Definition: mitkGLMapper.h:45
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
int RenderOpaqueGeometry(vtkViewport *) override
int RenderVolumetricGeometry(vtkViewport *) override
void MitkRender(mitk::BaseRenderer *renderer, mitk::VtkPropRenderer::RenderType type) override
Checks visibility and calls the paint method.
const mitk::GLMapper * GetWrappedGLMapper() const
void SetBaseRenderer(mitk::BaseRenderer *baseRenderer)
vtkStandardNewMacro(vtkGLMapperProp)
mitk::GLMapper * m_WrappedGLMapper
void SetWrappedGLMapper(mitk::GLMapper *glMapper)
virtual ~vtkGLMapperProp()
mitk::BaseRenderer * m_BaseRenderer
The vtkGLMapperProp class is a VtkProp, wrapping a GLMapper.