34#include "qSlicerBaseQTCoreExport.h"
38class qSlicerIOPrivate;
103 QScopedPointer<qSlicerIOPrivate>
d_ptr;
void setMRMLScene(vtkMRMLScene *scene) override
Set the scene of this object.
virtual Q_INVOKABLE vtkMRMLMessageCollection * userMessages() const
Additional warning or error messages occurred during IO operation.
QScopedPointer< qSlicerIOPrivate > d_ptr
static IOProperties fromVTKProperties(vtkMRMLIOProperties *vtkProperties)
virtual Q_INVOKABLE qSlicerIO::IOFileType fileType() const =0
Multiple readers can share the same file type.
virtual Q_INVOKABLE vtkMRMLFileIOHandler * ioHandler() const
virtual Q_INVOKABLE qSlicerIOOptions * options() const
qSlicerIO(QObject *parent=nullptr)
static void toVTKProperties(const IOProperties &properties, vtkMRMLIOProperties *vtkProperties)
static bool qImageToVTKImageData(const QImage &image, vtkImageData *imageData)
Convert Qt image to VTK image (RGBA, unsigned char).
static QImage vtkImageDataToQImage(vtkImageData *imageData)
Convert VTK image (unsigned char, 1, 3, or 4 components) to Qt image.
virtual Q_INVOKABLE QString description() const =0
Unique name of the reader/writer.
A set of MRML Nodes that supports serialization and undo/redo.
Q_DECLARE_METATYPE(qSlicerExtensionsManagerModel::ServerAPI)