![]() |
NorMIT-nav
22.09
An IGT application
|
Provides access to all video sources in the system, and connection stuff for the sources. More...
#include <cxVideoService.h>
Signals | |
void | connected (bool on) |
void | connectionMethodChanged () |
void | activeVideoSourceChanged () |
void | fps (int) |
void | StreamerServiceAdded (StreamerService *service) |
void | StreamerServiceRemoved (StreamerService *service) |
Public Member Functions | |
virtual void | setActiveVideoSource (QString uid)=0 |
virtual VideoSourcePtr | getActiveVideoSource ()=0 |
virtual std::vector< VideoSourcePtr > | getVideoSources ()=0 |
virtual void | setConnectionMethod (QString connectionMethod)=0 |
virtual QString | getConnectionMethod ()=0 |
virtual void | openConnection ()=0 |
virtual void | closeConnection ()=0 |
virtual bool | isConnected () const =0 |
virtual void | setPlaybackMode (PlaybackTimePtr controller)=0 |
virtual std::vector< TimelineEvent > | getPlaybackEvents ()=0 |
virtual StreamerServicePtr | getStreamerService (QString uid)=0 |
virtual QList< StreamerServicePtr > | getStreamerServices ()=0 |
virtual bool | isNull ()=0 |
Static Public Member Functions | |
static VideoServicePtr | getNullObject () |
Provides access to all video sources in the system, and connection stuff for the sources.
VideoService provides a simple image stream class to its users, hiding details. VideoService receives images over OpenIGTLink from an external server.
Time synchronization using Network Time Protocol (NTP) and temporal calibration.
The diagram displays all major classes concerned with realtime streaming. VideoSource is the core interface that provides connection to a realtime streaming source.
VideoSource has to main users: Rendering to screen and recording to disk. VideoGraphics contains the visualization functionality that the Reps uses when rendering in the Views. VideoGraphics needs a Probe to provide position information. Probe also wraps the VideoSource with its own ProbeAdapterVideoSource (using the adapter pattern) in order to add special information not known to the VideoSource, such as pixel spacing. The recording functionality is not shown. VideoSourceRecorder handles this on the basic level.
VideoConnectionManager manages the connection to the streaming source. The implementation class OpenIGTLinkVideoSource uses the OpenIGTLink protocol to receive data over TCP/IP. The actual data retrieval is done in the internal thread class IGTLinkClient.
The OpenIGTLinkRTSource is dependent on an external IGTLink server. Optionally, the VideoConnectionManager can create this server on the local machine.
Definition at line 75 of file cxVideoService.h.
|
signal |
Emitted when a video source is set to active, OR when the available set of sources are changed.
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
signal |
|
signal |
|
signal |
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
static |
Definition at line 19 of file cxVideoService.cpp.
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
pure virtual |
Implemented in cx::VideoServiceProxy, cx::VideoServiceNull, and cx::VideoImplService.
|
pure virtual |
Implemented in cx::VideoServiceProxy, cx::VideoServiceNull, and cx::VideoImplService.
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
pure virtual |
Implemented in cx::VideoServiceNull, cx::VideoImplService, and cx::VideoServiceProxy.
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
pure virtual |
Implemented in cx::VideoImplService, cx::VideoServiceProxy, and cx::VideoServiceNull.
|
signal |
|
signal |