7 #ifndef __FWRENDERVTK_FACTORY_NEW_HPP__ 8 #define __FWRENDERVTK_FACTORY_NEW_HPP__ 10 #include "fwRenderVTK/config.hpp" 11 #include "fwRenderVTK/registry/detail.hpp" 23 template<
class CLASSNAME >
SPTR( CLASSNAME ) New();
31 template<
typename CLASSNAME>
32 friend SPTR( CLASSNAME ) fwRenderVTK::factory::New();
40 const ::fwRenderVTK::registry::KeyType & classname );
42 template<
class CLASSNAME >
SPTR( CLASSNAME ) New()
44 SPTR(CLASSNAME) obj = std::make_shared< CLASSNAME >(
Key() );
Contains fwAtomsFilter::factory utilities.
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.