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
QmitkRegisterClasses.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 "
QmitkRegisterClasses.h
"
18
19
#include "
QmitkApplicationCursor.h
"
20
#include "
QmitkRenderingManagerFactory.h
"
21
22
#include <iostream>
23
24
void
QmitkRegisterClasses
()
25
{
26
static
bool
alreadyDone =
false
;
27
if
(!alreadyDone)
28
{
29
MITK_DEBUG
<<
"QmitkRegisterClasses()"
;
30
31
// We have to put this in a file containing a class that is directly used
32
// somewhere. Otherwise, e.g. when put in VtkRenderWindowInteractor.cpp,
33
// it is removed by the linker.
34
35
// Create and register RenderingManagerFactory for this platform.
36
static
QmitkRenderingManagerFactory
qmitkRenderingManagerFactory;
37
static
QmitkApplicationCursor
globalQmitkApplicationCursor;
// create one instance
38
39
alreadyDone =
true
;
40
}
41
}
QmitkApplicationCursor.h
QmitkRenderingManagerFactory
Qt specific implementation of mitk::RenderingManagerFactory.
Definition:
QmitkRenderingManagerFactory.h:35
MITK_DEBUG
#define MITK_DEBUG
Definition:
mitkLogMacros.h:26
QmitkRegisterClasses
void QmitkRegisterClasses()
Definition:
QmitkRegisterClasses.cpp:24
QmitkRenderingManagerFactory.h
QmitkApplicationCursor
Qt specific implementation of ApplicationCursorImplementation.
Definition:
QmitkApplicationCursor.h:30
QmitkRegisterClasses.h
git
MITK
Modules
QtWidgets
src
QmitkRegisterClasses.cpp
Generated on Fri Feb 3 2017 20:52:14 for Medical Imaging Interaction Toolkit by
1.8.9.1