21 #ifndef __qSlicerCoreIOManager_h 22 #define __qSlicerCoreIOManager_h 29 #include <QVariantMap> 36 #include "qSlicerBaseQTCoreExport.h" 43 class qSlicerCoreIOManagerPrivate;
61 Q_INVOKABLE QStringList fileDescriptions(
const QString& file)
const;
68 Q_INVOKABLE QStringList fileWriterExtensions(vtkObject*
object)
const;
71 Q_INVOKABLE QStringList allWritableFileExtensions()
const;
74 Q_INVOKABLE QStringList allReadableFileExtensions()
const;
78 qSlicerIOOptions* fileWriterOptions(vtkObject*
object,
const QString& extension)
const;
97 #if QT_VERSION < 0x040700 100 vtkCollection* loadedNodes = 0);
104 vtkCollection* loadedNodes = 0);
110 vtkCollection* loadedNodes = 0);
121 Q_INVOKABLE
bool loadScene(
const QString& fileName,
bool clear =
true);
125 Q_INVOKABLE
bool loadFile(
const QString& fileName);
134 #if QT_VERSION < 0x040700 146 Q_INVOKABLE
bool saveScene(
const QString& fileName, QImage screenShot);
158 Q_INVOKABLE
void emitNewFileLoaded(
const QVariantMap& loadedFileParameters);
184 QScopedPointer<qSlicerCoreIOManagerPrivate>
d_ptr;
QScopedPointer< qSlicerCoreIOManagerPrivate > d_ptr
MRML node to represent a 3D surface model.
A supercalss for other storage nodes.
Base class for qSlicerFileReader and qSlicerFileWriter.
Abstract Superclass for all specific types of MRML nodes.