NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
niftk-nightly
MITK
Modules
CoreGui
Rendering
niftkSharedOGLContext.h
Go to the documentation of this file.
1
/*=============================================================================
2
3
NifTK: A software platform for medical image computing.
4
5
Copyright (c) University College London (UCL). All rights reserved.
6
7
This software is distributed WITHOUT ANY WARRANTY; without even
8
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9
PURPOSE.
10
11
See LICENSE.txt in the top level directory for details.
12
13
=============================================================================*/
14
15
#ifndef niftkSharedOGLContext_h
16
#define niftkSharedOGLContext_h
17
18
#include <niftkCoreGuiExports.h>
19
#include <QtOpenGL/QGLWidget>
20
#include <QMutex>
21
22
namespace
niftk
23
{
24
25
// forward-decl
26
class
SharedOGLContext;
27
28
class
NIFTKCOREGUI_EXPORT
SharedOGLContext
29
{
30
31
public
:
32
static
QGLWidget* GetShareWidget();
33
34
protected
:
35
SharedOGLContext
();
36
~
SharedOGLContext
();
37
38
private
:
39
QGLWidget* m_ShareWidget;
40
static
SharedOGLContext
* s_Instance;
41
static
QMutex s_Lock;
42
};
43
44
}
// end namespace
45
46
#endif // niftkSharedOGLContext_h
niftk::SharedOGLContext
Definition:
niftkSharedOGLContext.h:28
niftk
Definition:
niftkExceptionObject.h:21
Generated on Thu Aug 4 2016 06:02:51 for NifTK by
1.8.8