13 #ifndef mitkRenderingManagerFactory_h
14 #define mitkRenderingManagerFactory_h
86 RenderingManager::Pointer smartPtr = specificSmartPtr.GetPointer();
Factory interface for facilitating the usage of a platform-specific mitk::RenderingManager instance.
virtual ~RenderingManagerFactory()
virtual RenderingManager::Pointer CreateRenderingManager() const =0
Factory method to create platform specific instances of RenderingManager.
RenderingManagerFactory()
static bool HasFactory()
Check whether a factory has already been set.
static void SetFactory(RenderingManagerFactory *factory)
Set the factory that produces platform-specific RenderingManager instances.
Factory that creates TestingRenderingManager instances.
~TestingRenderingManagerFactory() override
Destructor.
TestingRenderingManagerFactory()
Constructor. Registers this factory with RenderingManager if no factory is set yet.
mitk::RenderingManager::Pointer CreateRenderingManager() const override
Creates a new TestingRenderingManager instance.
Find image slices visible on a given plane.