11 #ifndef CXTESTVIDEOSOURCE_H_ 12 #define CXTESTVIDEOSOURCE_H_ 14 #include "cxResourceExport.h" 16 #include "vtkSmartPointer.h" 18 #include <boost/shared_ptr.hpp> 49 virtual QString
getUid() {
return mUid; }
50 virtual QString
getName() {
return mName; }
52 virtual double getTimestamp();
53 virtual TimeInfo getAdvancedTimeInfo();
55 virtual QString
getInfoString()
const {
return QString(
"TestVideo Info"); }
61 virtual bool validData()
const {
return isStreaming() && mInitialized && mValidData; }
63 virtual bool isStreaming()
const {
return mConnected && mStreaming; }
68 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
Namespace for all CustusX production code.