Fraxinus
16.5.0-fx-rc9
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 61 of file cxProbeAdapterRTSource.h.
cx::ProbeAdapterRTSource::ProbeAdapterRTSource | ( | QString | uid, |
ProbePtr | probe, | ||
VideoSourcePtr | source | ||
) |
Definition at line 47 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Definition at line 62 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 95 of file cxProbeAdapterRTSource.cpp.
VideoSourcePtr cx::ProbeAdapterRTSource::getBaseSource | ( | ) |
Definition at line 137 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 102 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 75 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 107 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 85 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 70 of file cxProbeAdapterRTSource.cpp.
|
virtual |
Implements cx::VideoSource.
Definition at line 80 of file cxProbeAdapterRTSource.cpp.
|
virtual |
return true when a connection to the data source is established.
Implements cx::VideoSource.
Definition at line 127 of file cxProbeAdapterRTSource.cpp.
|
virtual |
return true when the source is streaming data.
Implements cx::VideoSource.
Definition at line 132 of file cxProbeAdapterRTSource.cpp.
|
virtual |
start streaming
Implements cx::VideoSource.
Definition at line 112 of file cxProbeAdapterRTSource.cpp.
|
virtual |
stop streaming
Implements cx::VideoSource.
Definition at line 117 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 122 of file cxProbeAdapterRTSource.cpp.