Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkContourModelGLMapper2D.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_ContourModelGLMapper2D_H_
18 #define MITK_ContourModelGLMapper2D_H_
19 
20 #include "mitkCommon.h"
21 #include "mitkContourModel.h"
24 
25 namespace mitk
26 {
27  class BaseRenderer;
28  class ContourModel;
29 
37  {
38  public:
40 
41  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
42 
43 
46  virtual void Paint(BaseRenderer *renderer) override;
47 
48  static void SetDefaultProperties(mitk::DataNode *node, mitk::BaseRenderer *renderer = NULL, bool overwrite = false);
49 
51 
52  protected:
54 
55  virtual ~ContourModelGLMapper2D();
56 
59 
60  private:
64  ContourModel *GetInput(void);
65  };
66 
67 } // namespace mitk
68 
69 #endif
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
mitk::ContourModel::Pointer m_SubdivisionContour
Organizes the rendering process.
#define MITKCONTOURMODEL_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition: mitkMapper.h:54
LocalStorageHandler< BaseLocalStorage > m_LSH
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Base class for OpenGL based 2D mappers. Provides functionality to draw a contour. ...
OpenGL-based mapper to display a mitk::Contour object in a 2D render window.
itk::SmartPointer< Self > Pointer
Definition: mitkBaseData.h:42
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66