Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
QmitkRenderingManagerFactory.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#include "
QmitkRenderingManagerFactory.h
"
18
#include "
QmitkRenderingManager.h
"
19
20
QmitkRenderingManagerFactory::QmitkRenderingManagerFactory
()
21
{
22
mitk::RenderingManager::SetFactory
(
this
);
23
}
24
25
QmitkRenderingManagerFactory::~QmitkRenderingManagerFactory
()
26
{
27
}
28
29
mitk::RenderingManager::Pointer
QmitkRenderingManagerFactory::CreateRenderingManager
()
const
30
{
31
QmitkRenderingManager::Pointer
specificSmartPtr =
QmitkRenderingManager::New
();
32
mitk::RenderingManager::Pointer
smartPtr = specificSmartPtr.GetPointer();
33
return
smartPtr;
34
}
QmitkRenderingManagerFactory::~QmitkRenderingManagerFactory
~QmitkRenderingManagerFactory()
Definition:
QmitkRenderingManagerFactory.cpp:25
QmitkRenderingManager::New
static Pointer New()
QmitkRenderingManagerFactory::QmitkRenderingManagerFactory
QmitkRenderingManagerFactory()
Definition:
QmitkRenderingManagerFactory.cpp:20
QmitkRenderingManagerFactory.h
QmitkRenderingManager.h
itk::SmartPointer< Self >
QmitkRenderingManagerFactory::CreateRenderingManager
virtual mitk::RenderingManager::Pointer CreateRenderingManager() const override
Factory method to create platform specific instances of RenderingManager.
Definition:
QmitkRenderingManagerFactory.cpp:29
mitk::RenderingManager::SetFactory
static void SetFactory(RenderingManagerFactory *factory)
Definition:
mitkRenderingManager.cpp:79
git
MITK
Modules
QtWidgets
src
QmitkRenderingManagerFactory.cpp
Generated on Fri Feb 3 2017 20:52:14 for Medical Imaging Interaction Toolkit by
1.8.9.1