Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkGLMapper.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,
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 #ifndef MITKGLMAPPER_H_HEADER_INCLUDED_C197C872
18 #define MITKGLMAPPER_H_HEADER_INCLUDED_C197C872
19 
20 #include "mitkBaseRenderer.h"
21 #include "mitkMapper.h"
22 #include "mitkVtkPropRenderer.h"
23 #include <MitkLegacyGLExports.h>
24 
25 namespace mitk
26 {
46  {
47  public:
49 
51  virtual void Paint(mitk::BaseRenderer *renderer) = 0;
52 
56  DEPRECATED(inline virtual void ApplyProperties(mitk::BaseRenderer *renderer))
57  {
58  ApplyColorAndOpacityProperties(renderer);
59  }
60 
64  virtual void ApplyColorAndOpacityProperties(mitk::BaseRenderer *renderer, vtkActor *actor = NULL) override;
65 
71  void MitkRender(mitk::BaseRenderer *renderer, mitk::VtkPropRenderer::RenderType type) override;
72 
77  DEPRECATED(virtual bool IsVtkBased() const override);
78 
82  protected:
84  GLMapper();
85 
87  virtual ~GLMapper();
88 
89  private:
91  GLMapper(const GLMapper &);
92 
94  GLMapper &operator=(const GLMapper &);
95  };
96 
97 } // namespace mitk
98 
99 #endif /* MITKGLMAPPER2D_H_HEADER_INCLUDED_C197C872 */
Organizes the rendering process.
Base class of all OpenGL-based mappers.
Definition: mitkGLMapper.h:45
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition: mitkMapper.h:54
#define DEPRECATED(func)
Definition: mitkCommon.h:183
virtual void ApplyProperties(mitk::BaseRenderer *renderer)
Apply color and opacity properties read from the PropertyList.
Definition: mitkGLMapper.h:56
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
#define MITKLEGACYGL_EXPORT