diff --git a/Modules/Simulation/mitkVtkSimulationPolyDataMapper2D.h b/Modules/Simulation/mitkVtkSimulationPolyDataMapper2D.h index 35355dbc1a..387db5d3ca 100644 --- a/Modules/Simulation/mitkVtkSimulationPolyDataMapper2D.h +++ b/Modules/Simulation/mitkVtkSimulationPolyDataMapper2D.h @@ -1,48 +1,50 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef mitkVtkSimulationPolyDataMapper2D_h #define mitkVtkSimulationPolyDataMapper2D_h #include #include #include namespace mitk { class ISimulationService; class MitkSimulation_EXPORT vtkSimulationPolyDataMapper2D : public vtkPolyDataMapper { public: static vtkSimulationPolyDataMapper2D* New(); vtkTypeMacro(vtkSimulationPolyDataMapper2D, vtkPolyDataMapper); + using vtkPolyDataMapper::GetBounds; double* GetBounds(); + void Render(vtkRenderer* renderer, vtkActor* actor); void RenderPiece(vtkRenderer*, vtkActor*); void SetSimulation(mitk::Simulation::Pointer simulation); private: vtkSimulationPolyDataMapper2D(); ~vtkSimulationPolyDataMapper2D(); Simulation::Pointer m_Simulation; ISimulationService* m_SimulationService; }; } #endif diff --git a/Modules/Simulation/mitkVtkSimulationPolyDataMapper3D.h b/Modules/Simulation/mitkVtkSimulationPolyDataMapper3D.h index de168aafd2..8d898512e4 100644 --- a/Modules/Simulation/mitkVtkSimulationPolyDataMapper3D.h +++ b/Modules/Simulation/mitkVtkSimulationPolyDataMapper3D.h @@ -1,48 +1,50 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef mitkVtkSimulationPolyDataMapper3D_h #define mitkVtkSimulationPolyDataMapper3D_h #include #include #include namespace mitk { class ISimulationService; class MitkSimulation_EXPORT vtkSimulationPolyDataMapper3D : public vtkPolyDataMapper { public: static vtkSimulationPolyDataMapper3D* New(); vtkTypeMacro(vtkSimulationPolyDataMapper3D, vtkPolyDataMapper); + using vtkPolyDataMapper::GetBounds; double* GetBounds(); + void Render(vtkRenderer* renderer, vtkActor* actor); void RenderPiece(vtkRenderer*, vtkActor*); void SetSimulation(mitk::Simulation::Pointer simulation); private: vtkSimulationPolyDataMapper3D(); ~vtkSimulationPolyDataMapper3D(); Simulation::Pointer m_Simulation; ISimulationService* m_SimulationService; }; } #endif