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 Member Functions
qSlicerSceneWriter Class Reference

#include <Modules/Loadable/Data/qSlicerSceneWriter.h>

Inheritance diagram for qSlicerSceneWriter:
Inheritance graph
[legend]
Collaboration diagram for qSlicerSceneWriter:
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
 Return true if the object is handled by the writer. More...
 
virtual QString description () const
 Unique name of the reader/writer. More...
 
virtual QStringList extensions (vtkObject *object) const
 
virtual IOFileType fileType () const
 Multiple readers can share the same file type. More...
 
 qSlicerSceneWriter (QObject *parent=0)
 
virtual bool write (const qSlicerIO::IOProperties &properties)
 
virtual ~qSlicerSceneWriter ()
 
- 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 Member Functions

bool writeToDirectory (const qSlicerIO::IOProperties &properties)
 
bool writeToMRB (const qSlicerIO::IOProperties &properties)
 
bool writeToMRML (const qSlicerIO::IOProperties &properties)
 
- Protected Member Functions inherited from qSlicerFileWriter
void setWrittenNodes (const QStringList &nodes)
 

Additional Inherited Members

- Protected Attributes inherited from qSlicerFileWriter
QScopedPointer< qSlicerFileWriterPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 

Detailed Description

Definition at line 30 of file qSlicerSceneWriter.h.

Member Typedef Documentation

◆ Superclass

Definition at line 35 of file qSlicerSceneWriter.h.

Constructor & Destructor Documentation

◆ qSlicerSceneWriter()

qSlicerSceneWriter::qSlicerSceneWriter ( QObject *  parent = 0)

◆ ~qSlicerSceneWriter()

virtual qSlicerSceneWriter::~qSlicerSceneWriter ( )
virtual

Member Function Documentation

◆ canWriteObject()

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

Return true if the object is handled by the writer.

Reimplemented from qSlicerFileWriter.

◆ description()

virtual QString qSlicerSceneWriter::description ( ) const
virtual

Unique name of the reader/writer.

Implements qSlicerIO.

◆ extensions()

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

Return a list of the supported extensions for a particuliar object. Please read QFileDialog::nameFilters for the allowed formats Example: "Image (*.jpg *.png *.tiff)", "Model (*.vtk)"

Implements qSlicerFileWriter.

◆ fileType()

virtual IOFileType qSlicerSceneWriter::fileType ( ) const
virtual

Multiple readers can share the same file type.

Implements qSlicerIO.

◆ write()

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

Write the node identified by nodeID into the fileName file. Returns true on success.

Reimplemented from qSlicerFileWriter.

◆ writeToDirectory()

bool qSlicerSceneWriter::writeToDirectory ( const qSlicerIO::IOProperties properties)
protected

◆ writeToMRB()

bool qSlicerSceneWriter::writeToMRB ( const qSlicerIO::IOProperties properties)
protected

◆ writeToMRML()

bool qSlicerSceneWriter::writeToMRML ( const qSlicerIO::IOProperties properties)
protected

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