21 #ifndef __qSlicerScriptedFileWriter_h 22 #define __qSlicerScriptedFileWriter_h 26 #include "qSlicerBaseQTCoreExport.h" 33 class qSlicerScriptedFileWriterPrivate;
45 QString pythonSource()
const;
48 bool setPythonSource(
const QString& newPythonSource,
const QString& className = QLatin1String(
""));
67 virtual QStringList
extensions(vtkObject*
object)
const;
74 QScopedPointer<qSlicerScriptedFileWriterPrivate>
d_ptr;
virtual QStringList extensions(vtkObject *object) const =0
virtual QString description() const =0
Unique name of the reader/writer.
virtual bool write(const qSlicerIO::IOProperties &properties)
virtual IOFileType fileType() const =0
Multiple readers can share the same file type.
qSlicerFileWriter Superclass
QScopedPointer< qSlicerScriptedFileWriterPrivate > d_ptr
virtual bool canWriteObject(vtkObject *object) const
Return true if the object is handled by the writer.