20 #ifndef CXVIDEOSOURCESHM_H_
21 #define CXVIDEOSOURCESHM_H_
23 #include "cxResourceExport.h"
28 #include <boost/shared_ptr.hpp>
30 #include "vtkSmartPointer.h"
61 int width()
const {
return mImageWidth; }
62 int height()
const {
return mImageHeight; }
63 int depth()
const {
return mImageColorDepth; }
65 virtual QString getUid();
66 virtual QString getName();
68 virtual double getTimestamp();
70 virtual QString getInfoString()
const;
71 virtual QString getStatusString()
const;
76 virtual bool validData()
const;
77 virtual bool isConnected()
const;
78 virtual bool isStreaming()
const;
80 void connectServer(
const QString& key);
81 void disconnectServer();
82 virtual void setResolution(
double resolution);
103 bool mImportInitialized;
104 bool mStartWhenConnected;
110 void serverPollSlot();