7 #ifndef __FWRENDERVTK_OFFSCREENINTERACTORMANAGER_HPP__ 8 #define __FWRENDERVTK_OFFSCREENINTERACTORMANAGER_HPP__ 10 #include "fwRenderVTK/config.hpp" 11 #include "fwRenderVTK/IVtkRenderWindowInteractorManager.hpp" 13 #include <fwCore/base.hpp> 15 #include <vtkRenderWindow.h> 16 #include <vtkRenderWindowInteractor.h> 17 #include <vtkSmartPointer.h> 36 FWRENDERVTK_API virtual ~OffScreenInteractorManager();
39 FWRENDERVTK_API virtual
void installInteractor( ::
fwGui::container::fwContainer::sptr _parent ) override;
42 FWRENDERVTK_API virtual
void installInteractor(
unsigned int width,
unsigned int height );
45 FWRENDERVTK_API virtual
void uninstallInteractor() override;
48 FWRENDERVTK_API virtual ::vtkRenderWindowInteractor* getInteractor() override;
52 vtkSmartPointer< vtkRenderWindow > m_renderWindow;
53 vtkSmartPointer< vtkRenderWindowInteractor > m_interactor;
59 #endif // __FWRENDERVTK_OFFSCREENINTERACTORMANAGER_HPP__ The namespace fwGui contains the base interface for IHM services.
Defines a class to manage vtkRenderWindowInteractor in a window.
Defines a class to manage vtkRenderWindowInteractor in a off screen window.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
The namespace fwRenderVTK contains classes for rendering with VTK.