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 QStringList
extensions(vtkObject*
object)
const override;
67 virtual vtkMRMLNode* getNodeByID(
const char *
id)
const;
73 void setNodeClassNames(
const QStringList& nodeClassNames);
74 QStringList nodeClassNames()
const;
77 QScopedPointer<qSlicerNodeWriterPrivate>
d_ptr;
virtual Q_INVOKABLE qSlicerIOOptions * options() const
virtual QStringList extensions(vtkObject *object) const =0
Utility class that is ready to use for most of the nodes.
QScopedPointer< qSlicerNodeWriterPrivate > d_ptr
virtual bool write(const qSlicerIO::IOProperties &properties)
virtual Q_INVOKABLE IOFileType fileType() const =0
Multiple readers can share the same file type.
virtual Q_INVOKABLE QString description() const =0
Unique name of the reader/writer.
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.