Utility class that is ready to use for most of the nodes.
More...
#include <Base/QTGUI/qSlicerNodeWriter.h>
|
QScopedPointer< qSlicerNodeWriterPrivate > | d_ptr |
|
QScopedPointer< qSlicerFileWriterPrivate > | d_ptr |
|
QScopedPointer< qSlicerIOPrivate > | d_ptr |
|
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
|
Utility class that is ready to use for most of the nodes.
Definition at line 31 of file qSlicerNodeWriter.h.
◆ Superclass
◆ supportUseCompression
bool qSlicerNodeWriter::supportUseCompression |
|
readwrite |
Some storage nodes don't support the compression option.
Definition at line 36 of file qSlicerNodeWriter.h.
◆ qSlicerNodeWriter()
qSlicerNodeWriter::qSlicerNodeWriter |
( |
const QString & |
description, |
|
|
const qSlicerIO::IOFileType & |
fileType, |
|
|
const QStringList & |
nodeTags, |
|
|
bool |
useCompression, |
|
|
QObject * |
parent |
|
) |
| |
◆ ~qSlicerNodeWriter()
qSlicerNodeWriter::~qSlicerNodeWriter |
( |
| ) |
|
|
override |
◆ canWriteObject()
bool qSlicerNodeWriter::canWriteObject |
( |
vtkObject * |
object | ) |
const |
|
overridevirtual |
Return true if the object is handled by the writer.
Reimplemented from qSlicerFileWriter.
◆ description()
QString qSlicerNodeWriter::description |
( |
| ) |
const |
|
overridevirtual |
Unique name of the reader/writer.
Implements qSlicerIO.
◆ extensions()
QStringList qSlicerNodeWriter::extensions |
( |
vtkObject * |
object | ) |
const |
|
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.
Reimplemented in qSlicerMarkupsWriter.
◆ fileType()
Multiple readers can share the same file type.
Implements qSlicerIO.
◆ getNodeByID()
virtual vtkMRMLNode* qSlicerNodeWriter::getNodeByID |
( |
const char * |
id | ) |
const |
|
virtual |
◆ nodeClassNames()
QStringList qSlicerNodeWriter::nodeClassNames |
( |
| ) |
const |
|
protected |
◆ options()
◆ setNodeClassNames()
void qSlicerNodeWriter::setNodeClassNames |
( |
const QStringList & |
nodeClassNames | ) |
|
|
protected |
◆ setSupportUseCompression()
void qSlicerNodeWriter::setSupportUseCompression |
( |
bool |
useCompression | ) |
|
◆ supportUseCompression()
bool qSlicerNodeWriter::supportUseCompression |
( |
| ) |
const |
◆ write()
◆ d_ptr
QScopedPointer<qSlicerNodeWriterPrivate> qSlicerNodeWriter::d_ptr |
|
protected |
The documentation for this class was generated from the following file: