|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
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);
virtual bool isConnected() const
return true when a connection to the data source is established.
Namespace for all CustusX production code.
vtkSmartPointer< class vtkImageImport > vtkImageImportPtr
virtual QString getInfoString() const
an information text intended to be visible along with the data stream at all times
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()
test video source generator
virtual void setValidData(bool valid)
vtkSmartPointer< class vtkImageImport > vtkImageImportPtr
vtkSmartPointer< class vtkImageData > vtkImageDataPtr
virtual bool isStreaming() const
return true when the source is streaming data.
virtual QString getStatusString() const
status text describing the stream state, display instead of stream when the stream is invalid.
boost::shared_ptr< class TestVideoSource > TestVideoSourcePtr