19 #include <vtkLODProp3D.h>
20 #include <vtkObjectFactory.h>
21 #include <vtkPropAssembly.h>
78 typedef std::map<int, mitk::Mapper *> MappersMapType;
80 for (MappersMapType::const_iterator it = mappersMap.cbegin(); it != mappersMap.cend(); ++it)
90 vtkPropAssembly *propAssembly =
dynamic_cast<vtkPropAssembly *
>(vtkMapper->GetVtkProp(
m_VtkPropRenderer));
93 propAssembly->InitPathTraversal();
96 if (vtkMapper->GetVtkProp(
m_VtkPropRenderer)->HasTranslucentPolygonalGeometry() == 1)
mitk::VtkPropRenderer::Pointer m_VtkPropRenderer
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *) override
void SetPropRenderer(mitk::VtkPropRenderer::Pointer propRenderer)
virtual int RenderVolumetricGeometry(vtkViewport *) override
Base class of all Vtk Mappers in order to display primitives by exploiting Vtk functionality.
Base class of all mappers, Vtk as well as OpenGL mappers.
int RenderOverlay(vtkViewport *viewport) override
virtual int GetNumberOfPaths() override
virtual void InitPathTraversal() override
Used by vtkPointPicker/vtkPicker. This will query a list of all objects in MITK and provide every vtk...
virtual vtkAssemblyPath * GetNextPath() override
Used by vtkPointPicker/vtkPicker. This will query a list of all objects in MITK and provide every vtk...
int RenderOpaqueGeometry(vtkViewport *viewport) override
double * GetBounds() override
vtkStandardNewMacro(vtkMitkRenderProp)
void ReleaseGraphicsResources(vtkWindow *window) override
virtual int HasTranslucentPolygonalGeometry() override