Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkMeshMapper2D.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 MITKMESHMAPPER2D_H_HEADER_INCLUDED
18 #define MITKMESHMAPPER2D_H_HEADER_INCLUDED
19 
20 #include "MitkMapperExtExports.h"
21 #include "mitkCommon.h"
22 #include "mitkGLMapper.h"
23 
24 namespace mitk
25 {
26  class BaseRenderer;
27  class Mesh;
28 
36  {
37  public:
39 
40  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
41 
42 
43  const mitk::Mesh *GetInput(void);
44 
45  virtual void Paint(mitk::BaseRenderer *renderer) override;
46 
47  protected:
48  MeshMapper2D();
49 
50  virtual ~MeshMapper2D();
51  };
52 
53 } // namespace mitk
54 
55 #endif /* MITKMESHMapper2D_H_HEADER_INCLUDED */
OpenGL-based mapper to display a mesh in a 2D window.
#define MITKMAPPEREXT_EXPORT
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
DataStructure which stores a set of points (incl. pointdata) where each point can be associated to an...
Definition: mitkMesh.h:54
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44