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 | Protected Attributes
qSlicerColorsReader Class Reference

#include <Modules/Loadable/Colors/qSlicerColorsReader.h>

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

vtkSlicerColorLogiccolorLogic () const
 
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...
 
 qSlicerColorsReader (vtkSlicerColorLogic *colorLogic=0, QObject *parent=0)
 
void setColorLogic (vtkSlicerColorLogic *colorLogic)
 
virtual ~qSlicerColorsReader ()
 
- 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
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 ()
 

Protected Attributes

QScopedPointer< qSlicerColorsReaderPrivate > 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 32 of file qSlicerColorsReader.h.

Member Typedef Documentation

◆ Superclass

Definition at line 37 of file qSlicerColorsReader.h.

Constructor & Destructor Documentation

◆ qSlicerColorsReader()

qSlicerColorsReader::qSlicerColorsReader ( vtkSlicerColorLogic colorLogic = 0,
QObject *  parent = 0 
)

◆ ~qSlicerColorsReader()

virtual qSlicerColorsReader::~qSlicerColorsReader ( )
virtual

Member Function Documentation

◆ colorLogic()

vtkSlicerColorLogic* qSlicerColorsReader::colorLogic ( ) const

◆ description()

virtual QString qSlicerColorsReader::description ( ) const
virtual

Unique name of the reader/writer.

Implements qSlicerIO.

◆ extensions()

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

◆ fileType()

virtual IOFileType qSlicerColorsReader::fileType ( ) const
virtual

Multiple readers can share the same file type.

Implements qSlicerIO.

◆ load()

virtual bool qSlicerColorsReader::load ( const IOProperties properties)
virtual

Properties availables : fileMode, multipleFiles, fileType.

Reimplemented from qSlicerFileReader.

◆ setColorLogic()

void qSlicerColorsReader::setColorLogic ( vtkSlicerColorLogic colorLogic)

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerColorsReaderPrivate> qSlicerColorsReader::d_ptr
protected

Definition at line 50 of file qSlicerColorsReader.h.


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