33 #ifndef CXMHDIMAGESTREAMER_H_
34 #define CXMHDIMAGESTREAMER_H_
36 #include "cxGrabberExport.h"
38 #include "boost/shared_ptr.hpp"
82 QStringList getArgumentDescription();
83 virtual std::vector<PropertyPtr> getSettings(QDomElement root);
84 StringMap convertToCommandLineArguments(QDomElement root);
107 virtual void initialize(QString filename,
bool secondaryStream,
bool sendonce =
false);
108 virtual void initialize(
StringMap arguments);
109 virtual void startStreaming(
SenderPtr sender);
110 virtual void stopStreaming();
111 virtual bool isStreaming();
113 virtual QString getType();
114 virtual QStringList getArgumentDescription();
117 virtual void streamSlot();
121 QString getFileName();
122 void setSendOnce(
bool sendonce);
126 bool shouldSetupSecondaryDataSource();
127 vtkSmartPointer<vtkImageData> hasSecondaryData();
129 void sendTestDataFrames();
131 bool mUseSecondaryStream;
boost::shared_ptr< class ImageTestData > ImageTestDataPtr
vtkLookupTablePtr createLookupTable(int numberOfTableValues)
vtkImageDataPtr mImageData
virtual ~DummyImageStreamer()
std::map< QString, QString > StringMap
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
vtkSmartPointer< class vtkLookupTable > vtkLookupTablePtr
vtkImageDataPtr applyLUTToImage(vtkImageDataPtr input, vtkLookupTablePtr lut)
boost::shared_ptr< struct Package > PackagePtr
boost::shared_ptr< class SplitFramesContainer > mDataSource
vtkImageDataPtr convertToTestColorImage(vtkImageDataPtr image)
boost::shared_ptr< class FilePathProperty > FilePathPropertyPtr
boost::shared_ptr< class DummyImageStreamer > DummyImageStreamerPtr
boost::shared_ptr< Sender > SenderPtr
vtkImageDataPtr loadImage(QString filename)