32 #ifndef CXTESTVIDEOSOURCE_H_
33 #define CXTESTVIDEOSOURCE_H_
35 #include "cxResourceExport.h"
37 #include "vtkSmartPointer.h"
39 #include <boost/shared_ptr.hpp>
70 virtual QString
getUid() {
return mUid; }
71 virtual QString
getName() {
return mName; }
73 virtual double getTimestamp();
74 virtual TimeInfo getAdvancedTimeInfo();
76 virtual QString
getInfoString()
const {
return QString(
"TestVideo Info"); }
82 virtual bool validData()
const {
return isStreaming() && mInitialized && mValidData; }
84 virtual bool isStreaming()
const {
return mConnected && mStreaming; }
89 virtual void setResolution(
double resolution);
vtkSmartPointer< class vtkImageImport > vtkImageImportPtr
test video source generator
virtual bool isStreaming() const
return true when the source is streaming data.
virtual QString getInfoString() const
an information text intended to be visible along with the data stream at all times ...
virtual bool isConnected() const
return true when a connection to the data source is established.
boost::shared_ptr< class TestVideoSource > TestVideoSourcePtr
virtual bool validData() const
return true is data stream is ok to display. This is a heuristic based on the data rate...
virtual void setConnected(bool state)
virtual QString getName()
vtkSmartPointer< class vtkImageImport > vtkImageImportPtr
virtual void setValidData(bool valid)
virtual QString getStatusString() const
status text describing the stream state, display instead of stream when the stream is invalid...
vtkSmartPointer< class vtkImageData > vtkImageDataPtr