Slicer  4.11
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
qSlicerSlicer2SceneReader Class Reference

#include <Base/QTCore/qSlicerSlicer2SceneReader.h>

Inheritance diagram for qSlicerSlicer2SceneReader:
Inheritance graph
[legend]
Collaboration diagram for qSlicerSlicer2SceneReader:
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

vtkSlicerApplicationLogicapplicationLogic () const
 
QString description () const override
 Unique name of the reader/writer. More...
 
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...
 
 qSlicerSlicer2SceneReader (QObject *parent=nullptr)
 
 qSlicerSlicer2SceneReader (vtkSlicerApplicationLogic *logic, QObject *parent=nullptr)
 
void setApplicationLogic (vtkSlicerApplicationLogic *logic)
 
 ~qSlicerSlicer2SceneReader () 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
virtual qSlicerIOOptionsoptions () const
 
 qSlicerIO (QObject *parent=nullptr)
 
vtkMRMLMessageCollectionuserMessages () const
 Additional warning or error messages occurred during IO operation. More...
 
 ~qSlicerIO () override
 
- 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< qSlicerSlicer2SceneReaderPrivate > 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)
 

Detailed Description

Definition at line 32 of file qSlicerSlicer2SceneReader.h.

Member Typedef Documentation

◆ Superclass

Definition at line 37 of file qSlicerSlicer2SceneReader.h.

Constructor & Destructor Documentation

◆ qSlicerSlicer2SceneReader() [1/2]

qSlicerSlicer2SceneReader::qSlicerSlicer2SceneReader ( QObject *  parent = nullptr)

◆ qSlicerSlicer2SceneReader() [2/2]

qSlicerSlicer2SceneReader::qSlicerSlicer2SceneReader ( vtkSlicerApplicationLogic logic,
QObject *  parent = nullptr 
)

◆ ~qSlicerSlicer2SceneReader()

qSlicerSlicer2SceneReader::~qSlicerSlicer2SceneReader ( )
override

Member Function Documentation

◆ applicationLogic()

vtkSlicerApplicationLogic* qSlicerSlicer2SceneReader::applicationLogic ( ) const

◆ description()

QString qSlicerSlicer2SceneReader::description ( ) const
overridevirtual

Unique name of the reader/writer.

Implements qSlicerIO.

◆ extensions()

QStringList qSlicerSlicer2SceneReader::extensions ( ) const
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.

◆ fileType()

IOFileType qSlicerSlicer2SceneReader::fileType ( ) const
overridevirtual

Multiple readers can share the same file type.

Implements qSlicerIO.

◆ load()

bool qSlicerSlicer2SceneReader::load ( const IOProperties properties)
overridevirtual

Properties availables : fileMode, multipleFiles, fileType.

Reimplemented from qSlicerFileReader.

◆ setApplicationLogic()

void qSlicerSlicer2SceneReader::setApplicationLogic ( vtkSlicerApplicationLogic logic)

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerSlicer2SceneReaderPrivate> qSlicerSlicer2SceneReader::d_ptr
protected

Definition at line 51 of file qSlicerSlicer2SceneReader.h.


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