12 #ifndef CXMHDIMAGESTREAMER_H_ 13 #define CXMHDIMAGESTREAMER_H_ 15 #include "cxGrabberExport.h" 17 #include "boost/shared_ptr.hpp" 61 QStringList getArgumentDescription();
62 virtual std::vector<PropertyPtr> getSettings(QDomElement root);
63 StringMap convertToCommandLineArguments(QDomElement root);
65 FilePathPropertyPtr getFilenameOption(QDomElement root);
86 virtual void initialize(QString filename,
bool secondaryStream,
bool sendonce =
false);
87 virtual void initialize(
StringMap arguments);
88 virtual void startStreaming(
SenderPtr sender);
89 virtual void stopStreaming();
90 virtual bool isStreaming();
92 virtual QString getType();
93 virtual QStringList getArgumentDescription();
96 virtual void streamSlot();
100 QString getFileName();
101 void setSendOnce(
bool sendonce);
105 bool shouldSetupSecondaryDataSource();
106 vtkSmartPointer<vtkImageData> hasSecondaryData();
108 void sendTestDataFrames();
110 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)
Namespace for all CustusX production code.