Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
vtkMitkRenderProp.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 VTKMITKRENDERPROP_H_HEADER_INCLUDED_C1C53723
14 #define VTKMITKRENDERPROP_H_HEADER_INCLUDED_C1C53723
15 
16 #include "mitkVtkPropRenderer.h"
17 #include "vtkProp.h"
18 
29 class MITKCORE_EXPORT vtkMitkRenderProp : public vtkProp
30 {
31 public:
32  static vtkMitkRenderProp *New();
33  vtkTypeMacro(vtkMitkRenderProp, vtkProp);
34 
35  void SetPropRenderer(mitk::VtkPropRenderer::Pointer propRenderer);
36 
43  void SetPropertyKeys(vtkInformation *keys) override;
44 
45  int RenderOpaqueGeometry(vtkViewport *viewport) override;
46 
47  int RenderOverlay(vtkViewport *viewport) override;
48 
49  double *GetBounds() override;
50 
51  void ReleaseGraphicsResources(vtkWindow *window) override;
52 
57  void InitPathTraversal() override;
58 
63  vtkAssemblyPath *GetNextPath() override;
64 
65  int GetNumberOfPaths() override;
66 
67  int HasTranslucentPolygonalGeometry() override;
68  int RenderTranslucentPolygonalGeometry(vtkViewport *) override;
69  int RenderVolumetricGeometry(vtkViewport *) override;
70 
71 protected:
73  ~vtkMitkRenderProp() override;
74 
76 };
77 
78 #endif /* VTKMITKRENDERPROP_H_HEADER_INCLUDED_C1C53723 */
vtkMitkRenderProp
vtkMitkRenderProp
Definition: vtkMitkRenderProp.h:29
mitkVtkPropRenderer.h
itk::SmartPointer< Self >
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
vtkMitkRenderProp::m_VtkPropRenderer
mitk::VtkPropRenderer::Pointer m_VtkPropRenderer
Definition: vtkMitkRenderProp.h:75