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
mitkContourMapper2D.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_MAPPER_2D_H_
18 #define MITK_CONTOUR_MAPPER_2D_H_
19 
20 #include "mitkCommon.h"
21 #include "mitkGLMapper.h"
23 
24 namespace mitk
25 {
26  class BaseRenderer;
27  class Contour;
28 
36  {
37  public:
39 
40  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
41 
42 
45  virtual void Paint(BaseRenderer *renderer) override;
46 
50  const Contour *GetInput(void);
51 
52  protected:
54 
55  virtual ~ContourMapper2D();
56  };
57 
58 } // namespace mitk
59 
60 #endif /* MITKContourMapper2D_H_HEADER_INCLUDED */
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
Stores vertices for drawing a contour.
Definition: mitkContour.h:35
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
OpenGL-based mapper to display a mitk::Contour object in a 2D render window.