fw4spl
visu/fwRenderVTK/include/fwRenderVTK/registry/macros.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
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 #ifndef __FWRENDERVTK_REGISTRY_MACROS_HPP__
8 #define __FWRENDERVTK_REGISTRY_MACROS_HPP__
9 
10 #include <boost/preprocessor/cat.hpp>
11 
12 #include "fwRenderVTK/IVtkRenderWindowInteractorManager.hpp"
13 #include "fwRenderVTK/registry/detail.hpp"
14 
15 namespace fwRenderVTK
16 {
17 namespace registry
18 {
19 
20 #define fwRenderVTKRegisterMacro( VTKRenderInteractorMngClassname, FunctorKey ) \
21  static ::fwRenderVTK::IVtkRenderWindowInteractorManager::Registrar< VTKRenderInteractorMngClassname > \
22  BOOST_PP_CAT( s__factory__record__, __LINE__) ( FunctorKey );
23 
24 } // end namespace registry
25 } // end namespace fwRenderVTK
26 
27 #endif /*__FWRENDERVTK_REGISTRY_MACROS_HPP__*/
Contains fwAtomsFilter::registry details.
The namespace fwRenderVTK contains classes for rendering with VTK.