Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTCore/qSlicerSceneBundleReader.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 | |
virtual QString | description () const |
Unique name of the reader/writer. More... | |
virtual QStringList | extensions () const |
Support only .mrb files. More... | |
virtual qSlicerIO::IOFileType | fileType () const |
Support QString("SceneFile") More... | |
virtual bool | load (const qSlicerIO::IOProperties &properties) |
qSlicerSceneBundleReader (QObject *_parent=0) | |
Public Member Functions inherited from qSlicerFileReader | |
bool | canLoadFile (const QString &file) const |
QStringList | loadedNodes () const |
qSlicerFileReader (QObject *parent=0) | |
QStringList | supportedNameFilters (const QString &fileName, int *longestExtensionMatchPtr=NULL) const |
virtual | ~qSlicerFileReader () |
Public Member Functions inherited from qSlicerIO | |
virtual qSlicerIOOptions * | options () const |
qSlicerIO (QObject *parent=0) | |
virtual | ~qSlicerIO () |
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 () |
Additional Inherited Members | |
Protected Member Functions inherited from qSlicerFileReader | |
void | setLoadedNodes (const QStringList &nodes) |
Protected Attributes inherited from qSlicerFileReader | |
QScopedPointer< qSlicerFileReaderPrivate > | d_ptr |
Protected Attributes inherited from qSlicerObject | |
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
qSlicerSceneBundleReader is the IO class that handle MRML scene embedded in a zip file (called a Slicer Data Bundle). The extension is mrb (for Medical Reality Bundle) It internally calls vtkMRMLScene::Connect() or vtkMRMLScene::Import() depending on the clear flag.
Definition at line 33 of file qSlicerSceneBundleReader.h.
Definition at line 38 of file qSlicerSceneBundleReader.h.
qSlicerSceneBundleReader::qSlicerSceneBundleReader | ( | QObject * | _parent = 0 | ) |
|
virtual |
Unique name of the reader/writer.
Implements qSlicerIO.
|
virtual |
Support only .mrb files.
Reimplemented from qSlicerFileReader.
|
virtual |
Support QString("SceneFile")
Implements qSlicerIO.
|
virtual |
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.