Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkContourSetMapper2D.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 MITK_CONTOUR_SET_MAPPER_2D_H_
18 #define MITK_CONTOUR_SET_MAPPER_2D_H_
19 
20 #include "mitkCommon.h"
21 #include "mitkGLMapper.h"
23 
24 namespace mitk
25 {
26  class BaseRenderer;
27  class ContourSet;
28 
36  {
37  public:
39 
40  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
41 
42 
45  virtual void Paint(mitk::BaseRenderer *renderer) override;
46 
50  const mitk::ContourSet *GetInput(void);
51 
52  protected:
54 
55  virtual ~ContourSetMapper2D();
56  };
57 
58 } // namespace mitk
59 
60 #endif /* MITK_CONTOUR_SET_MAPPER_2D_H_ */
Organizes the rendering process.
#define MITKSEGMENTATION_EXPORT
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 mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
OpenGL-based mapper to display a mitk::Contour object in a 2D render window.