Slicer
5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Data/qSlicerSceneReader.h>
Public Types | |
typedef qSlicerFileReader | Superclass |
Public Types inherited from qSlicerFileReader | |
typedef qSlicerIO | Superclass |
Public Types inherited from qSlicerIO | |
typedef QString | IOFileType |
typedef QVariantMap | IOProperties |
typedef QObject | Superclass |
Public Member Functions | |
QString | description () const override |
Unique name of the reader/writer. More... | |
QStringList | extensions () const override |
Support only .mrml files. More... | |
qSlicerIO::IOFileType | fileType () const override |
Support QString("SceneFile") More... | |
bool | load (const qSlicerIO::IOProperties &properties) override |
qSlicerIOOptions * | options () const override |
Options to control scene loading. More... | |
qSlicerSceneReader (vtkSlicerCamerasModuleLogic *camerasLogic, QObject *_parent=nullptr) | |
~qSlicerSceneReader () override | |
Public Member Functions inherited from qSlicerFileReader | |
virtual bool | canLoadFile (const QString &file) const |
virtual bool | examineFileInfoList (QFileInfoList &fileInfoList, QFileInfo &archetypeFileInfo, qSlicerIO::IOProperties &ioProperties) const |
virtual QStringList | loadedNodes () const |
qSlicerFileReader (QObject *parent=nullptr) | |
QStringList | supportedNameFilters (const QString &fileName, int *longestExtensionMatchPtr=nullptr) const |
~qSlicerFileReader () override | |
Public Member Functions inherited from qSlicerIO | |
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 Attributes | |
QScopedPointer< qSlicerSceneReaderPrivate > | d_ptr |
Protected Attributes inherited from qSlicerFileReader | |
QScopedPointer< qSlicerFileReaderPrivate > | d_ptr |
Protected Attributes inherited from qSlicerIO | |
QScopedPointer< qSlicerIOPrivate > | d_ptr |
Protected Attributes inherited from qSlicerObject | |
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
Additional Inherited Members | |
Protected Member Functions inherited from qSlicerFileReader | |
virtual void | setLoadedNodes (const QStringList &nodes) |
qSlicerSceneReader is the IO class that handle MRML scene It internally call vtkMRMLScene::Connect() or vtkMRMLScene::Import() depending on the clear flag.
Definition at line 36 of file qSlicerSceneReader.h.
Definition at line 41 of file qSlicerSceneReader.h.
qSlicerSceneReader::qSlicerSceneReader | ( | vtkSlicerCamerasModuleLogic * | camerasLogic, |
QObject * | _parent = nullptr |
||
) |
|
override |
|
overridevirtual |
Unique name of the reader/writer.
Implements qSlicerIO.
|
overridevirtual |
Support only .mrml files.
Reimplemented from qSlicerFileReader.
|
overridevirtual |
Support QString("SceneFile")
Implements qSlicerIO.
|
overridevirtual |
the supported properties are: QString fileName: the path of the mrml scene to load bool clear: whether the current should be cleared or not
Reimplemented from qSlicerFileReader.
|
overridevirtual |
Options to control scene loading.
Reimplemented from qSlicerIO.
|
protected |
Definition at line 60 of file qSlicerSceneReader.h.