Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 mitkContourSetMapper2D_h
14 #define mitkContourSetMapper2D_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::VtkPropRenderer::RenderType
RenderType
Definition: mitkVtkPropRenderer.h:71
mitkGLMapper.h
mitk::ContourSetMapper2D
OpenGL-based mapper to display a mitk::Contour object in a 2D render window.
Definition: mitkContourSetMapper2D.h:31
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::Mapper
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition: mitkMapper.h:46
mitkCommon.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
mitk::ContourSet
Definition: mitkContourSet.h:28
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::BaseRenderer
Definition: mitkBaseRenderer.h:56
MitkSegmentationExports.h