Panda3D
|
This class supervises the construction of an EggData structure from a VRML file. More...
#include "vrmlToEggConverter.h"
Public Member Functions | |
VRMLToEggConverter (const VRMLToEggConverter ©) | |
virtual bool | convert_file (const Filename &filename) |
Handles the reading of the input file and converting it to egg. | |
virtual string | get_extension () const |
Returns the common extension of the file type this converter supports. | |
virtual string | get_name () const |
Returns the English name of the file type this converter supports. | |
virtual SomethingToEggConverter * | make_copy () |
Allocates and returns a new copy of the converter. | |
virtual bool | supports_compressed () const |
Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise. |
This class supervises the construction of an EggData structure from a VRML file.
Definition at line 34 of file vrmlToEggConverter.h.
bool VRMLToEggConverter::convert_file | ( | const Filename & | filename | ) | [virtual] |
Handles the reading of the input file and converting it to egg.
Returns true if successful, false otherwise.
Implements SomethingToEggConverter.
Definition at line 108 of file vrmlToEggConverter.cxx.
References SomethingToEggConverter::clear_error(), SomethingToEggConverter::get_egg_data(), SomethingToEggConverter::had_error(), and LMatrix4d::ident_mat().
string VRMLToEggConverter::get_extension | ( | ) | const [virtual] |
Returns the common extension of the file type this converter supports.
Implements SomethingToEggConverter.
Definition at line 84 of file vrmlToEggConverter.cxx.
string VRMLToEggConverter::get_name | ( | ) | const [virtual] |
Returns the English name of the file type this converter supports.
Implements SomethingToEggConverter.
Definition at line 73 of file vrmlToEggConverter.cxx.
SomethingToEggConverter * VRMLToEggConverter::make_copy | ( | ) | [virtual] |
Allocates and returns a new copy of the converter.
Implements SomethingToEggConverter.
Definition at line 61 of file vrmlToEggConverter.cxx.
bool VRMLToEggConverter::supports_compressed | ( | ) | const [virtual] |
Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise.
Reimplemented from SomethingToEggConverter.
Definition at line 96 of file vrmlToEggConverter.cxx.