Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Protected Attributes
qSlicerSceneReader Class Reference

#include <Modules/Loadable/Data/qSlicerSceneReader.h>

Inheritance diagram for qSlicerSceneReader:
Inheritance graph
[legend]
Collaboration diagram for qSlicerSceneReader:
Collaboration graph
[legend]

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 .mrml files. More...
 
virtual qSlicerIO::IOFileType fileType () const
 Support QString("SceneFile") More...
 
virtual bool load (const qSlicerIO::IOProperties &properties)
 
virtual qSlicerIOOptionsoptions () const
 Options to control scene loading. More...
 
 qSlicerSceneReader (vtkSlicerCamerasModuleLogic *camerasLogic, QObject *_parent=0)
 
virtual ~qSlicerSceneReader ()
 
- 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
 qSlicerIO (QObject *parent=0)
 
virtual ~qSlicerIO ()
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () 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 qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 

Additional Inherited Members

- Protected Member Functions inherited from qSlicerFileReader
void setLoadedNodes (const QStringList &nodes)
 

Detailed Description

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.

Member Typedef Documentation

◆ Superclass

Definition at line 41 of file qSlicerSceneReader.h.

Constructor & Destructor Documentation

◆ qSlicerSceneReader()

qSlicerSceneReader::qSlicerSceneReader ( vtkSlicerCamerasModuleLogic camerasLogic,
QObject *  _parent = 0 
)

◆ ~qSlicerSceneReader()

virtual qSlicerSceneReader::~qSlicerSceneReader ( )
virtual

Member Function Documentation

◆ description()

virtual QString qSlicerSceneReader::description ( ) const
virtual

Unique name of the reader/writer.

Implements qSlicerIO.

◆ extensions()

virtual QStringList qSlicerSceneReader::extensions ( ) const
virtual

Support only .mrml files.

Reimplemented from qSlicerFileReader.

◆ fileType()

virtual qSlicerIO::IOFileType qSlicerSceneReader::fileType ( ) const
virtual

Support QString("SceneFile")

Implements qSlicerIO.

◆ load()

virtual bool qSlicerSceneReader::load ( const qSlicerIO::IOProperties properties)
virtual

the supported properties are: QString fileName: the path of the mrml scene to load bool clear: wether the current should be cleared or not

Reimplemented from qSlicerFileReader.

◆ options()

virtual qSlicerIOOptions* qSlicerSceneReader::options ( ) const
virtual

Options to control scene loading.

Reimplemented from qSlicerIO.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerSceneReaderPrivate> qSlicerSceneReader::d_ptr
protected

Definition at line 60 of file qSlicerSceneReader.h.


The documentation for this class was generated from the following file: