fw4spl
IVtkRenderWindowInteractorManager.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2016.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include "fwRenderVTK/IVtkRenderWindowInteractorManager.hpp"
8 
9 namespace fwRenderVTK
10 {
11 
12 //-----------------------------------------------------------------------------
13 
14 const IVtkRenderWindowInteractorManager::FactoryRegistryKeyType IVtkRenderWindowInteractorManager::REGISTRY_KEY =
15  "::fwRenderVTK::IVtkRenderWindowInteractorManager::REGISTRY_KEY";
16 
17 //-----------------------------------------------------------------------------
18 
19 IVtkRenderWindowInteractorManager::sptr IVtkRenderWindowInteractorManager::createManager()
20 {
21  IVtkRenderWindowInteractorManager::sptr manager = ::fwRenderVTK::factory::New(
22  ::fwRenderVTK::IVtkRenderWindowInteractorManager::REGISTRY_KEY );
23  SLM_ASSERT("The factory process to create an IVtkRenderWindowInteractorManager, failed."
24  "Missing Qt or Wx component ?", manager );
25  return manager;
26 }
27 
28 //-----------------------------------------------------------------------------
29 
31 {
32 }
33 
34 //-----------------------------------------------------------------------------
35 
37 {
38 }
39 
40 //-----------------------------------------------------------------------------
41 
42 } // namespace fwRenderVTK
43 
44 
45 
virtual FWRENDERVTK_API ~IVtkRenderWindowInteractorManager()
Destructor. Do nothing.
FWRENDERVTK_API IVtkRenderWindowInteractorManager()
Constructor. Do nothing.
#define SLM_ASSERT(message, cond)
work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel) ...
Definition: spyLog.hpp:308
The namespace fwRenderVTK contains classes for rendering with VTK.