7 #ifndef __VTKSIMPLENEGATO_SRENDERER_HPP__ 8 #define __VTKSIMPLENEGATO_SRENDERER_HPP__ 10 #include "vtkSimpleNegato/config.hpp" 12 #include <fwRender/IRender.hpp> 14 #include <fwRenderVTK/IVtkRenderWindowInteractorManager.hpp> 16 #include <vtkImagePlaneWidget.h> 17 #include <vtkOutlineFilter.h> 18 #include <vtkRenderer.h> 47 VTKSIMPLENEGATO_API virtual ~
SRenderer() noexcept;
56 VTKSIMPLENEGATO_API virtual
KeyConnectionsMap getAutoConnections() const override;
66 VTKSIMPLENEGATO_API virtual
void starting() override;
73 VTKSIMPLENEGATO_API virtual
void stopping() override;
81 VTKSIMPLENEGATO_API virtual
void updating() override;
88 VTKSIMPLENEGATO_API virtual
void configuring() override;
96 void initVTKPipeline();
105 void updateVTKPipeline();
108 vtkRenderer* m_render;
111 ::
fwRenderVTK::IVtkRenderWindowInteractorManager::sptr m_interactorManager;
114 vtkOutlineFilter* m_outline;
117 vtkImagePlaneWidget* m_negatoAxial;
120 vtkImagePlaneWidget* m_negatoSagittal;
123 vtkImagePlaneWidget* m_negatoFrontal;
126 bool m_bPipelineIsInit;
This class is a helper to define the connections of a service and its data.
The namespace vtkSimpleNegato has a visualization service of medical image (fwData::Image).
Defines the service interface managing the rendering service for object.
Service rendering a fwData::Image using VTK.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace fwRenderVTK contains classes for rendering with VTK.