Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 (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 MITKMESHMAPPER2D_H_HEADER_INCLUDED
14 #define MITKMESHMAPPER2D_H_HEADER_INCLUDED
15 
16 #include "MitkMapperExtExports.h"
17 #include "mitkCommon.h"
18 #include "mitkGLMapper.h"
19 
20 namespace mitk
21 {
22  class BaseRenderer;
23  class Mesh;
24 
32  {
33  public:
35 
36  itkFactorylessNewMacro(Self);
37 
38  itkCloneMacro(Self);
39 
41  const mitk::Mesh *GetInput(void);
42 
43  void Paint(mitk::BaseRenderer *renderer) override;
44 
45  protected:
46  MeshMapper2D();
47 
48  ~MeshMapper2D() override;
49  };
50 
51 } // namespace mitk
52 
53 #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:41
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition: mitkMapper.h:49
DataStructure which stores a set of points (incl. pointdata) where each point can be associated to an...
Definition: mitkMesh.h:50
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40