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
qSlicerSegmentationsReader Class Reference

#include <Modules/Loadable/Segmentations/qSlicerSegmentationsReader.h>

Inheritance diagram for qSlicerSegmentationsReader:
Inheritance graph
Collaboration diagram for qSlicerSegmentationsReader:
Collaboration graph

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...
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...
qSlicerIOOptionsoptions () const override
 qSlicerSegmentationsReader (vtkSlicerSegmentationsModuleLogic *segmentationsLogic=nullptr, QObject *parent=nullptr)
vtkSlicerSegmentationsModuleLogicsegmentationsLogic () const
void setSegmentationsLogic (vtkSlicerSegmentationsModuleLogic *segmentationsLogic)
 ~qSlicerSegmentationsReader () override
- Public Member Functions inherited from qSlicerFileReader
bool canLoadFile (const QString &file) const
virtual bool examineFileInfoList (QFileInfoList &fileInfoList, QFileInfo &archetypeFileInfo, qSlicerIO::IOProperties &ioProperties) const
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)
 ~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< qSlicerSegmentationsReaderPrivate > 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

Definition at line 33 of file qSlicerSegmentationsReader.h.

Member Typedef Documentation

◆ Superclass

Definition at line 38 of file qSlicerSegmentationsReader.h.

Constructor & Destructor Documentation

◆ qSlicerSegmentationsReader()

qSlicerSegmentationsReader::qSlicerSegmentationsReader ( vtkSlicerSegmentationsModuleLogic segmentationsLogic = nullptr,
QObject *  parent = nullptr 

◆ ~qSlicerSegmentationsReader()

qSlicerSegmentationsReader::~qSlicerSegmentationsReader ( )

Member Function Documentation

◆ description()

QString qSlicerSegmentationsReader::description ( ) const

Unique name of the reader/writer.

Implements qSlicerIO.

◆ extensions()

QStringList qSlicerSegmentationsReader::extensions ( ) const

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 qSlicerSegmentationsReader::fileType ( ) const

Multiple readers can share the same file type.

Implements qSlicerIO.

◆ load()

bool qSlicerSegmentationsReader::load ( const IOProperties properties)

Properties availables : fileMode, multipleFiles, fileType.

Reimplemented from qSlicerFileReader.

◆ options()

qSlicerIOOptions* qSlicerSegmentationsReader::options ( ) const

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.

◆ segmentationsLogic()

vtkSlicerSegmentationsModuleLogic* qSlicerSegmentationsReader::segmentationsLogic ( ) const

◆ setSegmentationsLogic()

void qSlicerSegmentationsReader::setSegmentationsLogic ( vtkSlicerSegmentationsModuleLogic segmentationsLogic)

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerSegmentationsReaderPrivate> qSlicerSegmentationsReader::d_ptr

Definition at line 53 of file qSlicerSegmentationsReader.h.

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