Fraxinus
22.04-rc5
An IGT application
|
VideoSource that applies the parameters from a Probe to the VideoSource. More...
#include <cxProbeAdapterRTSource.h>
Public Member Functions | |
ProbeAdapterRTSource (QString uid, ProbePtr probe, VideoSourcePtr source) | |
virtual | ~ProbeAdapterRTSource () |
virtual QString | getUid () |
virtual QString | getName () |
virtual vtkImageDataPtr | getVtkImageData () |
virtual double | getTimestamp () |
virtual TimeInfo | getAdvancedTimeInfo () |
virtual QString | getInfoString () const |
an information text intended to be visible along with the data stream at all times More... | |
virtual QString | getStatusString () const |
status text describing the stream state, display instead of stream when the stream is invalid. More... | |
virtual void | start () |
start streaming More... | |
virtual void | stop () |
stop streaming More... | |
virtual bool | validData () const |
return true is data stream is ok to display. This is a heuristic based on the data rate. More... | |
virtual bool | isConnected () const |
return true when a connection to the data source is established. More... | |
virtual bool | isStreaming () const |
return true when the source is streaming data. More... | |
VideoSourcePtr | getBaseSource () |
Public Member Functions inherited from cx::VideoSource | |
virtual | ~VideoSource () |
virtual void | setResolution (double mmPerPixel) |
Additional Inherited Members | |
Signals inherited from cx::VideoSource | |
void | streaming (bool on) |
emitted when streaming started/stopped More... | |
void | connected (bool on) |
emitted when source is connected/disconnected More... | |
void | newFrame () |
emitted when a new frame has arrived (getVtkImageData() returns something new). info/status/name/valid might also have changed More... | |
VideoSource that applies the parameters from a Probe to the VideoSource.
Some metadata such as pixel spacing might not be correct when read directly from the video source. The ProbeAdapterRTSource overrides some methods of a VideoSource and inserts info from a Probe instead.
Definition at line 40 of file cxProbeAdapterRTSource.h.
cx::ProbeAdapterRTSource::ProbeAdapterRTSource | ( | QString | uid, |
ProbePtr | probe, | ||
VideoSourcePtr | source | ||
) |
Definition at line 26 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Definition at line 41 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 74 of file cxProbeAdapterRTSource.cpp.
VideoSourcePtr cx::ProbeAdapterRTSource::getBaseSource | ( | ) |
Definition at line 116 of file cxProbeAdapterRTSource.cpp.
|
virtual |
an information text intended to be visible along with the data stream at all times
Implements cx::VideoSource.
Definition at line 81 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 54 of file cxProbeAdapterRTSource.cpp.
|
virtual |
status text describing the stream state, display instead of stream when the stream is invalid.
Implements cx::VideoSource.
Definition at line 86 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 64 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 49 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 59 of file cxProbeAdapterRTSource.cpp.
|
virtual |
return true when a connection to the data source is established.
Implements cx::VideoSource.
Definition at line 106 of file cxProbeAdapterRTSource.cpp.
|
virtual |
return true when the source is streaming data.
Implements cx::VideoSource.
Definition at line 111 of file cxProbeAdapterRTSource.cpp.
|
virtual |
start streaming
Implements cx::VideoSource.
Definition at line 91 of file cxProbeAdapterRTSource.cpp.
|
virtual |
stop streaming
Implements cx::VideoSource.
Definition at line 96 of file cxProbeAdapterRTSource.cpp.
|
virtual |
return true is data stream is ok to display. This is a heuristic based on the data rate.
Implements cx::VideoSource.
Definition at line 101 of file cxProbeAdapterRTSource.cpp.