Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
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 (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 MITK_CONTOUR_SET_MAPPER_2D_H_
14 #define MITK_CONTOUR_SET_MAPPER_2D_H_
15 
16 #include "mitkCommon.h"
17 #include "mitkGLMapper.h"
19 
20 namespace mitk
21 {
22  class BaseRenderer;
23  class ContourSet;
24 
32  {
33  public:
35 
36  itkFactorylessNewMacro(Self);
37 
38  itkCloneMacro(Self);
39 
43  void MitkRender(mitk::BaseRenderer *renderer, mitk::VtkPropRenderer::RenderType type) override;
44 
45  void ApplyColorAndOpacityProperties(mitk::BaseRenderer *renderer, vtkActor * actor = nullptr) override;
46 
50  const mitk::ContourSet *GetInput(void);
51 
52  protected:
54 
55  ~ContourSetMapper2D() override;
56  };
57 
58 } // namespace mitk
59 
60 #endif /* MITK_CONTOUR_SET_MAPPER_2D_H_ */
Organizes the rendering process.
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition: mitkMapper.h:49
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
OpenGL-based mapper to display a mitk::Contour object in a 2D render window.