Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Models/qSlicerScalarOverlayReader.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 |
virtual IOFileType | fileType () const |
Multiple readers can share the same file type. More... | |
virtual bool | load (const IOProperties &properties) |
Properties availables : fileMode, multipleFiles, fileType. More... | |
vtkSlicerModelsLogic * | modelsLogic () const |
virtual qSlicerIOOptions * | options () const |
qSlicerScalarOverlayReader (vtkSlicerModelsLogic *modelsLogic, QObject *parent=0) | |
void | setModelsLogic (vtkSlicerModelsLogic *modelsLogic) |
virtual | ~qSlicerScalarOverlayReader () |
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 | |
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< qSlicerScalarOverlayReaderPrivate > | 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) |
Definition at line 32 of file qSlicerScalarOverlayReader.h.
Definition at line 37 of file qSlicerScalarOverlayReader.h.
qSlicerScalarOverlayReader::qSlicerScalarOverlayReader | ( | vtkSlicerModelsLogic * | modelsLogic, |
QObject * | parent = 0 |
||
) |
|
virtual |
|
virtual |
Unique name of the reader/writer.
Implements qSlicerIO.
|
virtual |
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.
|
virtual |
Multiple readers can share the same file type.
Implements qSlicerIO.
|
virtual |
Properties availables : fileMode, multipleFiles, fileType.
Reimplemented from qSlicerFileReader.
vtkSlicerModelsLogic* qSlicerScalarOverlayReader::modelsLogic | ( | ) | const |
|
virtual |
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 qSlicerScalarOverlayReader::setModelsLogic | ( | vtkSlicerModelsLogic * | modelsLogic | ) |
|
protected |
Definition at line 52 of file qSlicerScalarOverlayReader.h.