Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
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]

List of all members.

Public Types

typedef qSlicerFileWriter Superclass

Public Member Functions

virtual bool canWriteObject (vtkObject *object) const
 Return true if the object is handled by the writer.
virtual QString description () const
 Unique name of the reader/writer.
virtual QStringList extensions (vtkObject *object) const
virtual IOFileType fileType () const
 Multiple readers can share the same file type.
 qSlicerSceneWriter (QObject *parent=0)
virtual bool write (const qSlicerIO::IOProperties &properties)
virtual ~qSlicerSceneWriter ()

Protected Member Functions

bool writeToDirectory (const qSlicerIO::IOProperties &properties)
bool writeToMRB (const qSlicerIO::IOProperties &properties)
bool writeToMRML (const qSlicerIO::IOProperties &properties)

Detailed Description

Definition at line 30 of file qSlicerSceneWriter.h.


Member Typedef Documentation

Reimplemented from qSlicerIO.

Definition at line 35 of file qSlicerSceneWriter.h.


Constructor & Destructor Documentation

qSlicerSceneWriter::qSlicerSceneWriter ( QObject *  parent = 0)
virtual qSlicerSceneWriter::~qSlicerSceneWriter ( ) [virtual]

Member Function Documentation

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

Return true if the object is handled by the writer.

Reimplemented from qSlicerFileWriter.

virtual QString qSlicerSceneWriter::description ( ) const [virtual]

Unique name of the reader/writer.

Implements qSlicerIO.

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.

virtual IOFileType qSlicerSceneWriter::fileType ( ) const [virtual]

Multiple readers can share the same file type.

Implements qSlicerIO.

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.

bool qSlicerSceneWriter::writeToDirectory ( const qSlicerIO::IOProperties properties) [protected]
bool qSlicerSceneWriter::writeToMRB ( const qSlicerIO::IOProperties properties) [protected]
bool qSlicerSceneWriter::writeToMRML ( const qSlicerIO::IOProperties properties) [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines