33 return "3D Image File";
38 return "image_file_streamer";
43 std::vector<PropertyPtr> retval;
46 std::copy(opencvArgs.begin(), opencvArgs.end(), back_inserter(retval));
49 std::copy(localsvrArgs.begin(), localsvrArgs.end(), back_inserter(retval));
61 QString filename = args[
"--filename"];
63 if(!QFileInfo(filename).exists())
65 CX_LOG_WARNING() <<
"ImageFileStreamerService::createStreamer() Filename missing or not valid, streamer will not be started.";
71 if (localServerStreamer)
73 return localServerStreamer;
81 streamer->initialize(filename, secondary);
82 localServerStreamer = streamer;
83 return localServerStreamer;
virtual StreamerPtr createStreamer(QDomElement root)
virtual QString getName()
FilePathPropertyPtr getFilenameOption(QDomElement root)
static StreamerPtr createStreamerIfEnabled(QDomElement root, StringMap args)
virtual std::vector< PropertyPtr > getSettings(QDomElement root)
virtual std::vector< PropertyPtr > getSettings(QDomElement root)
virtual QString getType() const
std::map< QString, QString > StringMap
StringMap convertToCommandLineArguments(QDomElement root)
BoolPropertyBasePtr getSecondaryOption(QDomElement root)
boost::shared_ptr< class Streamer > StreamerPtr
std::vector< PropertyPtr > getSettings(QDomElement root)
Namespace for all CustusX production code.