Slicer  4.10
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
qSlicerIO Class Referenceabstract

Base class for qSlicerFileReader and qSlicerFileWriter. More...

#include <Base/QTCore/qSlicerIO.h>

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

Public Types

typedef QString IOFileType
 
typedef QVariantMap IOProperties
 
typedef QObject Superclass
 

Public Member Functions

virtual QString description () const =0
 Unique name of the reader/writer. More...
 
virtual IOFileType fileType () const =0
 Multiple readers can share the same file type. More...
 
virtual qSlicerIOOptionsoptions () const
 
 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 

Detailed Description

Base class for qSlicerFileReader and qSlicerFileWriter.

Definition at line 39 of file qSlicerIO.h.

Member Typedef Documentation

◆ IOFileType

typedef QString qSlicerIO::IOFileType

Definition at line 50 of file qSlicerIO.h.

◆ IOProperties

Definition at line 51 of file qSlicerIO.h.

◆ Superclass

typedef QObject qSlicerIO::Superclass

Definition at line 46 of file qSlicerIO.h.

Constructor & Destructor Documentation

◆ qSlicerIO()

qSlicerIO::qSlicerIO ( QObject *  parent = 0)
explicit

◆ ~qSlicerIO()

virtual qSlicerIO::~qSlicerIO ( )
virtual

Member Function Documentation

◆ description()

virtual QString qSlicerIO::description ( ) const
pure virtual

◆ fileType()

virtual IOFileType qSlicerIO::fileType ( ) const
pure virtual

◆ options()

virtual qSlicerIOOptions* qSlicerIO::options ( ) 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 in qSlicerNodeWriter, qSlicerSceneReader, qSlicerAnnotationsReader, qSlicerSegmentationsReader, qSlicerScalarOverlayReader, and qSlicerVolumesReader.


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