Convert an obj file to egg data. More...
#include "eggToObjConverter.h"
Public Member Functions | |
EggToObjConverter (const EggToObjConverter ©) | |
virtual std::string | get_extension () const |
Returns the common extension of the file type this converter supports. More... | |
virtual std::string | get_name () const |
Returns the English name of the file type this converter supports. More... | |
virtual EggToSomethingConverter * | make_copy () |
Allocates and returns a new copy of the converter. More... | |
virtual bool | supports_compressed () const |
Returns true if this file type can transparently save compressed files (with a .pz extension), false otherwise. More... | |
virtual bool | write_file (const Filename &filename) |
Handles the conversion of the internal EggData to the target file format, written to the specified filename. More... | |
Public Member Functions inherited from EggToSomethingConverter | |
EggToSomethingConverter (const EggToSomethingConverter ©) | |
void | clear_egg_data () |
Sets the EggData to NULL and makes the converter invalid. More... | |
void | clear_error () |
Resets the error flag to the no-error state. More... | |
virtual std::string | get_additional_extensions () const |
Returns a space-separated list of extension, in addition to the one returned by get_extension(), that are recognized by this converter. More... | |
EggData * | get_egg_data () |
Returns the EggData structure. More... | |
CoordinateSystem | get_output_coordinate_system () const |
DistanceUnit | get_output_units () const |
Returns the value supplied to set_output_units(). More... | |
bool | had_error () const |
Returns true if an error was detected during the conversion process, false otherwise. More... | |
void | set_egg_data (EggData *egg_data) |
Sets the egg data that will be filled in when convert_file() is called. More... | |
void | set_output_coordinate_system (CoordinateSystem output_coordinate_system) const |
void | set_output_units (DistanceUnit output_units) |
Specifies the units that the EggData has already been scaled to. More... | |
Convert an obj file to egg data.
Definition at line 26 of file eggToObjConverter.h.
|
virtual |
Returns the common extension of the file type this converter supports.
Implements EggToSomethingConverter.
Definition at line 73 of file eggToObjConverter.cxx.
|
virtual |
Returns the English name of the file type this converter supports.
Implements EggToSomethingConverter.
Definition at line 65 of file eggToObjConverter.cxx.
|
virtual |
Allocates and returns a new copy of the converter.
Implements EggToSomethingConverter.
Definition at line 56 of file eggToObjConverter.cxx.
|
virtual |
Returns true if this file type can transparently save compressed files (with a .pz extension), false otherwise.
Reimplemented from EggToSomethingConverter.
Definition at line 82 of file eggToObjConverter.cxx.
|
virtual |
Handles the conversion of the internal EggData to the target file format, written to the specified filename.
Implements EggToSomethingConverter.
Definition at line 91 of file eggToObjConverter.cxx.
References EggToSomethingConverter::clear_error().