21 #ifndef __qSlicerNodeWriter_h 22 #define __qSlicerNodeWriter_h 25 #include "qSlicerBaseQTGUIExport.h" 27 class qSlicerNodeWriterPrivate;
36 Q_PROPERTY(
bool supportUseCompression READ supportUseCompression WRITE setSupportUseCompression);
41 const QStringList& nodeTags,
47 void setSupportUseCompression(
bool useCompression);
48 bool supportUseCompression()
const;
59 virtual QStringList
extensions(vtkObject*
object)
const;
67 virtual vtkMRMLNode* getNodeByID(
const char *
id)
const;
73 void setNodeClassNames(
const QStringList& nodeClassNames);
74 QStringList nodeClassNames()
const;
77 QScopedPointer<qSlicerNodeWriterPrivate>
d_ptr;
virtual QStringList extensions(vtkObject *object) const =0
virtual QString description() const =0
Unique name of the reader/writer.
Utility class that is ready to use for most of the nodes.
QScopedPointer< qSlicerNodeWriterPrivate > d_ptr
virtual bool write(const qSlicerIO::IOProperties &properties)
virtual IOFileType fileType() const =0
Multiple readers can share the same file type.
virtual qSlicerIOOptions * options() const
virtual bool canWriteObject(vtkObject *object) const
Return true if the object is handled by the writer.
Abstract Superclass for all specific types of MRML nodes.