32 #ifndef CXOPENIGTLINKRTSOURCE_H_ 33 #define CXOPENIGTLINKRTSOURCE_H_ 35 #include "org_custusx_core_video_Export.h" 39 #include <boost/array.hpp> 82 virtual bool isConnected()
const;
83 void disconnectServer();
84 void runDirectLinkClient(StreamerServicePtr service);
85 std::vector<VideoSourcePtr> getVideoSources();
89 void fps(QString source,
int fps);
90 void videoSourcesChanged();
94 void onDisconnected();
95 void imageReceivedSlot();
96 void statusReceivedSlot();
97 void fpsSlot(QString,
double fps);
98 void connectVideoToProbe();
99 void useUnusedProbeDefinitionSlot();
102 void waitForClientFinished();
103 StreamerServicePtr getStreamerInterface();
107 void updateStatus(ProbeDefinitionPtr message);
108 void startAllSources();
109 void stopAllSources();
110 void removeSourceFromProbe(
ToolPtr tool);
112 QPointer<ImageReceiverThread> mClient;
113 QPointer<QThread> mThread;
116 std::vector<ProbeDefinitionPtr> mUnusedProbeDefinitionVector;
117 std::vector<BasicVideoSourcePtr> mSources;
118 VideoServiceBackendPtr mBackend;
119 StreamerServicePtr mStreamerInterface;
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< VideoConnection > VideoConnectionPtr
boost::shared_ptr< class VideoServiceBackend > VideoServiceBackendPtr
vtkSmartPointer< class vtkImageAlgorithm > vtkImageAlgorithmPtr
boost::shared_ptr< QThread > QThreadPtr
vtkSmartPointer< class vtkImageImport > vtkImageImportPtr
Represent one video grabber connection.
boost::shared_ptr< class StreamerService > StreamerServicePtr
boost::shared_ptr< class ImageReceiverThread > ImageReceiverThreadPtr
boost::shared_ptr< class BasicVideoSource > BasicVideoSourcePtr
boost::shared_ptr< class ProbeDefinition > ProbeDefinitionPtr
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr