#include <Modules/Loadable/Segmentations/qSlicerSegmentationsReader.h>
|
QScopedPointer< qSlicerSegmentationsReaderPrivate > | d_ptr |
|
QScopedPointer< qSlicerFileReaderPrivate > | d_ptr |
|
QScopedPointer< qSlicerIOPrivate > | d_ptr |
|
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
|
◆ Superclass
◆ qSlicerSegmentationsReader()
◆ ~qSlicerSegmentationsReader()
qSlicerSegmentationsReader::~qSlicerSegmentationsReader |
( |
| ) |
|
|
override |
◆ canLoadFileConfidence()
double qSlicerSegmentationsReader::canLoadFileConfidence |
( |
const QString & | file | ) |
const |
|
overridevirtual |
Returns a positive number (>0) if the reader can load this file. In case the file uses a generic file extension (such as .nrrd) then the confidence value is adjusted based on the file content: if the file contains segmentation information then confidence is increased to 0.6, otherwise the confidence is decreased to 0.4.
Reimplemented from qSlicerFileReader.
◆ description()
QString qSlicerSegmentationsReader::description |
( |
| ) |
const |
|
overridevirtual |
Unique name of the reader/writer.
Implements qSlicerIO.
◆ extensions()
QStringList qSlicerSegmentationsReader::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 qSlicerSegmentationsReader::fileType |
( |
| ) |
const |
|
overridevirtual |
Multiple readers can share the same file type.
Implements qSlicerIO.
◆ load()
bool qSlicerSegmentationsReader::load |
( |
const IOProperties & | properties | ) |
|
|
overridevirtual |
Properties available: fileMode, multipleFiles, fileType.
Reimplemented from qSlicerFileReader.
◆ options()
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()
◆ setSegmentationsLogic()
◆ d_ptr
QScopedPointer<qSlicerSegmentationsReaderPrivate> qSlicerSegmentationsReader::d_ptr |
|
protected |
The documentation for this class was generated from the following file: