NorMIT-nav
22.09
An IGT application
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
i
l
m
o
p
q
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
a
b
c
d
e
f
i
j
l
m
n
o
p
r
s
t
v
Enumerations
Enumerator
a
c
d
g
h
i
l
n
p
r
s
t
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Variables
c
f
i
l
m
o
p
q
r
s
t
v
Typedefs
c
d
f
h
m
o
p
q
s
u
v
Macros
_
a
b
c
d
e
f
g
i
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
cxLayoutVideoSource.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
#ifndef CXLAYOUTVIDEOSOURCE_H
12
#define CXLAYOUTVIDEOSOURCE_H
13
14
#include "
cxVideoSource.h
"
15
#include "org_custusx_webserver_Export.h"
16
#include <QPointer>
17
18
namespace
cx
19
{
20
class
ViewCollectionWidget;
21
25
class
org_custusx_webserver_EXPORT
LayoutVideoSource
:
public
VideoSource
26
{
27
Q_OBJECT
28
public
:
29
explicit
LayoutVideoSource
(
ViewCollectionWidget
* widget);
30
31
32
virtual
QString getUid();
33
virtual
QString getName();
34
virtual
vtkImageDataPtr
getVtkImageData();
35
virtual
double
getTimestamp();
36
virtual
TimeInfo
getAdvancedTimeInfo();
37
38
virtual
QString
getInfoString
()
const
{
return
""
; }
39
virtual
QString
getStatusString
()
const
{
return
""
; }
40
41
virtual
void
start();
42
virtual
void
stop();
43
44
virtual
bool
validData()
const
;
45
virtual
bool
isConnected()
const
;
46
virtual
bool
isStreaming()
const
;
47
48
private
:
49
QPointer<ViewCollectionWidget> mWidget;
50
void
onRendered();
51
vtkImageDataPtr
mGrabbed;
52
QDateTime mTimestamp;
53
bool
mStreaming;
54
};
55
56
}
// namespace cx
57
58
#endif // CXLAYOUTVIDEOSOURCE_H
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::VideoSource
video source interface.
Definition:
cxVideoSource.h:43
vtkImageDataPtr
vtkSmartPointer< class vtkImageData > vtkImageDataPtr
Definition:
cxVideoConnectionWidget.h:30
cx::LayoutVideoSource::getInfoString
virtual QString getInfoString() const
an information text intended to be visible along with the data stream at all times
Definition:
cxLayoutVideoSource.h:38
cxVideoSource.h
cx::TimeInfo
Definition:
cxData.h:43
cx::LayoutVideoSource::getStatusString
virtual QString getStatusString() const
status text describing the stream state, display instead of stream when the stream is invalid.
Definition:
cxLayoutVideoSource.h:39
cx::LayoutVideoSource
Definition:
cxLayoutVideoSource.h:25
cx::ViewCollectionWidget
Definition:
cxViewCollectionWidget.h:39
CX
source
plugins
org.custusx.webserver
cxLayoutVideoSource.h
Generated on Tue Sep 13 2022 11:06:15 for NorMIT-nav by
1.8.17