Fraxinus
16.5.0-fx-rc1
An IGT application
|
video source interface. More...
#include <cxVideoSource.h>
Signals | |
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... | |
Public Member Functions | |
virtual | ~VideoSource () |
virtual QString | getUid ()=0 |
virtual QString | getName ()=0 |
virtual vtkImageDataPtr | getVtkImageData ()=0 |
virtual double | getTimestamp ()=0 |
virtual TimeInfo | getAdvancedTimeInfo ()=0 |
virtual QString | getInfoString () const =0 |
an information text intended to be visible along with the data stream at all times More... | |
virtual QString | getStatusString () const =0 |
status text describing the stream state, display instead of stream when the stream is invalid. More... | |
virtual void | start ()=0 |
start streaming More... | |
virtual void | stop ()=0 |
stop streaming More... | |
virtual bool | validData () const =0 |
return true is data stream is ok to display. This is a heuristic based on the data rate. More... | |
virtual bool | isConnected () const =0 |
return true when a connection to the data source is established. More... | |
virtual bool | isStreaming () const =0 |
return true when the source is streaming data. More... | |
virtual void | setResolution (double mmPerPixel) |
video source interface.
Synchronize data with source, provide data as a vtkImageData.
Definition at line 64 of file cxVideoSource.h.
|
inlinevirtual |
Definition at line 69 of file cxVideoSource.h.
|
signal |
emitted when source is connected/disconnected
|
pure virtual |
Implemented in cx::BasicVideoSource, cx::TestVideoSource, and cx::ProbeAdapterRTSource.
|
pure virtual |
an information text intended to be visible along with the data stream at all times
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
pure virtual |
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
pure virtual |
status text describing the stream state, display instead of stream when the stream is invalid.
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
pure virtual |
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
pure virtual |
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
pure virtual |
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
pure virtual |
return true when a connection to the data source is established.
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
pure virtual |
return true when the source is streaming data.
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
signal |
emitted when a new frame has arrived (getVtkImageData() returns something new). info/status/name/valid might also have changed
|
inlinevirtual |
Set the resolution of the incoming video in mm/pixel
Reimplemented in cx::VideoSourceSHM, cx::BasicVideoSource, and cx::TestVideoSource.
Definition at line 90 of file cxVideoSource.h.
|
pure virtual |
start streaming
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
pure virtual |
stop streaming
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.
|
signal |
emitted when streaming started/stopped
|
pure virtual |
return true is data stream is ok to display. This is a heuristic based on the data rate.
Implemented in cx::VideoSourceSHM, cx::BasicVideoSource, cx::TestVideoSource, cx::ProbeAdapterRTSource, and cx::LayoutVideoSource.