Slicer
5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Volumes/qSlicerVolumesReader.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... | |
bool | examineFileInfoList (QFileInfoList &fileInfoList, QFileInfo &archetypeFileInfo, qSlicerIO::IOProperties &ioProperties) const override |
QStringList | extensions () const override |
IOFileType | fileType () const override |
Multiple readers can share the same file type. More... | |
bool | load (const IOProperties &properties) override |
Properties availables : fileMode, multipleFiles, fileType. More... | |
vtkSlicerVolumesLogic * | logic () const |
qSlicerIOOptions * | options () const override |
qSlicerVolumesReader (QObject *parent=nullptr) | |
qSlicerVolumesReader (vtkSlicerVolumesLogic *logic, QObject *parent=nullptr) | |
void | setLogic (vtkSlicerVolumesLogic *logic) |
~qSlicerVolumesReader () override | |
Public Member Functions inherited from qSlicerFileReader | |
virtual bool | canLoadFile (const QString &file) 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< qSlicerVolumesReaderPrivate > | 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) |
Definition at line 31 of file qSlicerVolumesReader.h.
Definition at line 36 of file qSlicerVolumesReader.h.
qSlicerVolumesReader::qSlicerVolumesReader | ( | QObject * | parent = nullptr | ) |
qSlicerVolumesReader::qSlicerVolumesReader | ( | vtkSlicerVolumesLogic * | logic, |
QObject * | parent = nullptr |
||
) |
|
override |
|
overridevirtual |
Unique name of the reader/writer.
Implements qSlicerIO.
|
overridevirtual |
Implements the file list examination for the corresponding method in the core IO manager.
Reimplemented from qSlicerFileReader.
|
overridevirtual |
Return a list of the supported extensions. Please read QFileDialog::nameFilters for the allowed formats Example: "Image (*.jpg *.png *.tiff)", "Model (*.vtk)"
Reimplemented from qSlicerFileReader.
|
overridevirtual |
Multiple readers can share the same file type.
Implements qSlicerIO.
|
overridevirtual |
Properties availables : fileMode, multipleFiles, fileType.
Reimplemented from qSlicerFileReader.
vtkSlicerVolumesLogic* qSlicerVolumesReader::logic | ( | ) | const |
|
overridevirtual |
Returns a list of options for the reader. qSlicerIOOptions can be derived and have a UI associated to it (i.e. qSlicerIOOptionsWidget). Warning: you are responsible for freeing the memory of the returned options
Reimplemented from qSlicerIO.
void qSlicerVolumesReader::setLogic | ( | vtkSlicerVolumesLogic * | logic | ) |
|
protected |
Definition at line 57 of file qSlicerVolumesReader.h.