7 #ifndef __FWRENDERVTK_IVTKRENDERWINDOWINTERACTORMANAGER_HPP__ 8 #define __FWRENDERVTK_IVTKRENDERWINDOWINTERACTORMANAGER_HPP__ 11 #include <fwServices/IService.hpp> 13 #include <vtkRenderWindowInteractor.h> 15 #include <fwCore/base.hpp> 17 #include <fwGui/container/fwContainer.hpp> 19 #include "fwRenderVTK/factory/new.hpp" 20 #include "fwRenderVTK/registry/detail.hpp" 21 #include "fwRenderVTK/config.hpp" 35 typedef ::fwRenderVTK::factory::Key
Key;
49 ::fwRenderVTK::registry::get()->addFactory(functorKey, &::fwRenderVTK::factory::New<T>);
56 typedef
std::
string FactoryRegistryKeyType;
58 FWRENDERVTK_API static const FactoryRegistryKeyType REGISTRY_KEY;
66 FWRENDERVTK_API virtual ~IVtkRenderWindowInteractorManager();
69 FWRENDERVTK_API virtual
void installInteractor( ::
fwGui::container::fwContainer::sptr _parent ) = 0;
72 FWRENDERVTK_API virtual
void uninstallInteractor() = 0;
75 FWRENDERVTK_API virtual ::vtkRenderWindowInteractor * getInteractor() = 0;
77 virtual
void setRenderService(::
fwServices::IService::sptr srv)
79 m_renderService = srv;
84 ::fwServices::IService::wptr m_renderService;
89 #endif // __FWRENDERVTK_IVTKRENDERWINDOWINTERACTORMANAGER_HPP__ #define fwCoreNonInstanciableClassDefinitionsMacro(_classinfo_)
Generate common code for Non Instanciable classes (Interfaces, Abstract classes, ...)
Base class for all FW4SPL's classes.
The namespace fwGui contains the base interface for IHM services.
Class used to register a class factory in factory registry. This class defines also the object factor...
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
Defines a class to manage vtkRenderWindowInteractor in a window.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
The namespace fwRenderVTK contains classes for rendering with VTK.