Medical Imaging Interaction Toolkit  2016.11.0
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,
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 VTKMITKRENDERPROP_H_HEADER_INCLUDED_C1C53723
18 #define VTKMITKRENDERPROP_H_HEADER_INCLUDED_C1C53723
19 
20 #include "mitkVtkPropRenderer.h"
21 #include "vtkProp.h"
22 
33 class MITKCORE_EXPORT vtkMitkRenderProp : public vtkProp
34 {
35 public:
36  static vtkMitkRenderProp *New();
37  vtkTypeMacro(vtkMitkRenderProp, vtkProp);
38 
39  void SetPropRenderer(mitk::VtkPropRenderer::Pointer propRenderer);
40 
41  int RenderOpaqueGeometry(vtkViewport *viewport) override;
42 
43  int RenderOverlay(vtkViewport *viewport) override;
44 
45  double *GetBounds() override;
46 
47  void ReleaseGraphicsResources(vtkWindow *window) override;
48 
53  virtual void InitPathTraversal() override;
54 
59  virtual vtkAssemblyPath *GetNextPath() override;
60 
61  virtual int GetNumberOfPaths() override;
62 
63  // BUG (#1551) added method for depth peeling support
64  virtual int HasTranslucentPolygonalGeometry() override;
65  virtual int RenderTranslucentPolygonalGeometry(vtkViewport *) override;
66  virtual int RenderVolumetricGeometry(vtkViewport *) override;
67 
68 protected:
71 
73 };
74 
75 #endif /* VTKMITKRENDERPROP_H_HEADER_INCLUDED_C1C53723 */
mitk::VtkPropRenderer::Pointer m_VtkPropRenderer
#define MITKCORE_EXPORT
vtkMitkRenderProp
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.