Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkContourModelMapper2D.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 mitkContourModelMapper2D_h
14 #define mitkContourModelMapper2D_h
15 
16 #include <mitkCommon.h>
17 #include <mitkContourModel.h>
20 
21 namespace mitk
22 {
23  class BaseRenderer;
24  class ContourModel;
25 
45  {
46  public:
48 
49  itkFactorylessNewMacro(Self);
50 
51  itkCloneMacro(Self);
52 
63 
69  static void SetDefaultProperties(mitk::DataNode *node, mitk::BaseRenderer *renderer = nullptr, bool overwrite = false);
70 
73 
74  protected:
76 
78 
79  mitk::ContourModel::Pointer m_SubdivisionContour;
81 
82  private:
86  ContourModel *GetInput(void);
87  };
88 
89 } // namespace mitk
90 
91 #endif
#define MITKCONTOURMODEL_EXPORT
Organizes the rendering process.
Abstract base class for OpenGL-based 2D contour mappers.
OpenGL-based mapper to display a mitk::ContourModel in a 2D render window.
LocalStorageHandler< BaseLocalStorage > m_LSH
Local storage handler for per-renderer data.
void MitkRender(BaseRenderer *renderer, mitk::VtkPropRenderer::RenderType type) override
Perform the rendering of the contour model.
mitk::ContourModel::Pointer m_SubdivisionContour
static void SetDefaultProperties(mitk::DataNode *node, mitk::BaseRenderer *renderer=nullptr, bool overwrite=false)
Set default rendering properties for ContourModel nodes.
mitkClassMacro(ContourModelMapper2D, ContourModelMapper2DBase)
A time-resolved contour representation consisting of linked vertices in 3D space.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Definition: mitkDataNode.h:72
RenderType
Enumeration of render pass types.
Find image slices visible on a given plane.