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

#include <Base/QTCore/qSlicerScriptedFileWriter.h>

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

Public Types

typedef qSlicerFileWriter Superclass
 
- Public Types inherited from qSlicerIO
typedef QString IOFileType
 
typedef QVariantMap IOProperties
 
typedef QObject Superclass
 

Public Member Functions

virtual bool canWriteObject (vtkObject *object) const
 
virtual QString description () const
 
virtual QStringList extensions (vtkObject *object) const
 
virtual IOFileType fileType () const
 
QString pythonSource () const
 
 qSlicerScriptedFileWriter (QObject *parent=0)
 
Q_INVOKABLE PyObjectself () const
 Convenience method allowing to retrieve the associated scripted instance. More...
 
bool setPythonSource (const QString &newPythonSource, const QString &className=QLatin1String(""))
 
virtual bool write (const qSlicerIO::IOProperties &properties)
 
virtual ~qSlicerScriptedFileWriter ()
 
- Public Member Functions inherited from qSlicerFileWriter
 qSlicerFileWriter (QObject *parent=0)
 
QStringList writtenNodes () const
 
virtual ~qSlicerFileWriter ()
 
- 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< qSlicerScriptedFileWriterPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerFileWriter
QScopedPointer< qSlicerFileWriterPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 

Additional Inherited Members

- Protected Member Functions inherited from qSlicerFileWriter
void setWrittenNodes (const QStringList &nodes)
 

Detailed Description

Definition at line 35 of file qSlicerScriptedFileWriter.h.

Member Typedef Documentation

◆ Superclass

Definition at line 41 of file qSlicerScriptedFileWriter.h.

Constructor & Destructor Documentation

◆ qSlicerScriptedFileWriter()

qSlicerScriptedFileWriter::qSlicerScriptedFileWriter ( QObject *  parent = 0)

◆ ~qSlicerScriptedFileWriter()

virtual qSlicerScriptedFileWriter::~qSlicerScriptedFileWriter ( )
virtual

Member Function Documentation

◆ canWriteObject()

virtual bool qSlicerScriptedFileWriter::canWriteObject ( vtkObject *  object) const
virtual

Reimplemented to propagate to python methods

See also
qSlicerFileWriter::canWriteObject()

Reimplemented from qSlicerFileWriter.

◆ description()

virtual QString qSlicerScriptedFileWriter::description ( ) const
virtual

Reimplemented to propagate to python methods

See also
qSlicerIO::description()

Implements qSlicerIO.

◆ extensions()

virtual QStringList qSlicerScriptedFileWriter::extensions ( vtkObject *  object) const
virtual

Reimplemented to propagate to python methods

See also
qSlicerFileWriter::extensions()

Implements qSlicerFileWriter.

◆ fileType()

virtual IOFileType qSlicerScriptedFileWriter::fileType ( ) const
virtual

Reimplemented to propagate to python methods

See also
qSlicerIO::fileType()

Implements qSlicerIO.

◆ pythonSource()

QString qSlicerScriptedFileWriter::pythonSource ( ) const

◆ self()

Q_INVOKABLE PyObject* qSlicerScriptedFileWriter::self ( ) const

Convenience method allowing to retrieve the associated scripted instance.

◆ setPythonSource()

bool qSlicerScriptedFileWriter::setPythonSource ( const QString &  newPythonSource,
const QString &  className = QLatin1String("") 
)
Warning
Setting the source is a no-op. See detailed comment in the source code.

◆ write()

virtual bool qSlicerScriptedFileWriter::write ( const qSlicerIO::IOProperties properties)
virtual

Reimplemented to propagate to python methods

See also
qSlicerFileWriter::write()

Reimplemented from qSlicerFileWriter.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerScriptedFileWriterPrivate> qSlicerScriptedFileWriter::d_ptr
protected

Definition at line 74 of file qSlicerScriptedFileWriter.h.


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