Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Data/qSlicerSceneWriter.h>
Public Types | |
typedef qSlicerFileWriter | Superclass |
Public Types inherited from qSlicerIO | |
typedef QString | IOFileType |
typedef QVariantMap | IOProperties |
typedef QObject | Superclass |
Public Member Functions | |
bool | canWriteObject (vtkObject *object) const override |
Return true if the object is handled by the writer. More... | |
QString | description () const override |
Unique name of the reader/writer. More... | |
QStringList | extensions (vtkObject *object) const override |
IOFileType | fileType () const override |
Multiple readers can share the same file type. More... | |
qSlicerSceneWriter (QObject *parent=nullptr) | |
bool | write (const qSlicerIO::IOProperties &properties) override |
~qSlicerSceneWriter () override | |
Public Member Functions inherited from qSlicerFileWriter | |
qSlicerFileWriter (QObject *parent=nullptr) | |
virtual QStringList | writtenNodes () const |
~qSlicerFileWriter () override | |
Public Member Functions inherited from qSlicerIO | |
virtual Q_INVOKABLE qSlicerIOOptions * | options () const |
qSlicerIO (QObject *parent=nullptr) | |
Q_INVOKABLE vtkMRMLMessageCollection * | userMessages () const |
Additional warning or error messages occurred during IO operation. More... | |
~qSlicerIO () override | |
Public Member Functions inherited from qSlicerObject | |
vtkMRMLScene * | mrmlScene () const |
Return a pointer on the MRML scene. More... | |
qSlicerObject () | |
virtual void | setMRMLScene (vtkMRMLScene *) |
Set the current MRML scene to the widget. More... | |
virtual | ~qSlicerObject () |
Protected Member Functions | |
bool | writeToDirectory (const qSlicerIO::IOProperties &properties) |
bool | writeToMRB (const qSlicerIO::IOProperties &properties) |
bool | writeToMRML (const qSlicerIO::IOProperties &properties) |
Protected Member Functions inherited from qSlicerFileWriter | |
virtual void | setWrittenNodes (const QStringList &nodes) |
Additional Inherited Members | |
Protected Attributes inherited from qSlicerFileWriter | |
QScopedPointer< qSlicerFileWriterPrivate > | d_ptr |
Protected Attributes inherited from qSlicerIO | |
QScopedPointer< qSlicerIOPrivate > | d_ptr |
Protected Attributes inherited from qSlicerObject | |
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
Definition at line 30 of file qSlicerSceneWriter.h.
Definition at line 35 of file qSlicerSceneWriter.h.
qSlicerSceneWriter::qSlicerSceneWriter | ( | QObject * | parent = nullptr | ) |
|
override |
|
overridevirtual |
Return true if the object is handled by the writer.
Reimplemented from qSlicerFileWriter.
|
overridevirtual |
Unique name of the reader/writer.
Implements qSlicerIO.
|
overridevirtual |
Return a list of the supported extensions for a particuliar object. Please read QFileDialog::nameFilters for the allowed formats Example: "Image (*.jpg *.png *.tiff)", "Model (*.vtk)"
Implements qSlicerFileWriter.
|
overridevirtual |
Multiple readers can share the same file type.
Implements qSlicerIO.
|
overridevirtual |
Write the node identified by nodeID into the fileName file. Returns true on success.
Reimplemented from qSlicerFileWriter.
|
protected |
|
protected |
|
protected |