version 3.3

VRS::FColladaWriter Class Reference

Experimental COLLADA exporter based on FCollada library v3.02. More...

#include <vrs/io/fcolladawriter.h>

Inheritance diagram for VRS::FColladaWriter:

VRS::ObjectWriter VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 VRS_TYPEINFO (FColladaWriter, ObjectWriter)
virtual bool canHandle (SharedObj *obj) const
virtual void write (SharedObj *obj, const std::string &filename) const
virtual const char * objectFormatName () const
virtual const char * objectFileSuffix () const
virtual double priority () const

Static Public Member Functions

static bool writeFile (SO< SharedObj > obj, const std::string &filename)


Detailed Description

Experimental COLLADA exporter based on FCollada library v3.02.

Exports the following nodes:


Member Function Documentation

VRS::FColladaWriter::VRS_TYPEINFO ( FColladaWriter  ,
ObjectWriter   
)

virtual bool VRS::FColladaWriter::canHandle ( SharedObj obj  )  const [virtual]

Implements VRS::ObjectWriter.

virtual void VRS::FColladaWriter::write ( SharedObj obj,
const std::string &  filename 
) const [inline, virtual]

`canHandle' checks whether a concrete writer class can handle a given object or not. `write' will output the object to a file with filename. In the case of i/o errors, an exception of type IOError is thrown. 'write' assumes that the object passed can be handled, i.e., 'canHandle' must return true for that object.

Implements VRS::ObjectWriter.

virtual const char* VRS::FColladaWriter::objectFormatName ( void   )  const [inline, virtual]

Implements VRS::ObjectWriter.

virtual const char* VRS::FColladaWriter::objectFileSuffix (  )  const [inline, virtual]

`objectFormatName' gives a verbose description of the file format that is written to. `objectFileSuffix' is the most widely used suffix used for this format.

Implements VRS::ObjectWriter.

virtual double VRS::FColladaWriter::priority (  )  const [inline, virtual]

Reimplemented from VRS::ObjectWriter.

static bool VRS::FColladaWriter::writeFile ( SO< SharedObj obj,
const std::string &  filename 
) [static]


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

Generated on Mon May 21 06:00:18 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact