#include <eggData.h>
Inheritance diagram for EggData:
Public Member Functions | |
INLINE | EggData () |
INLINE | EggData (const EggData ©) |
INLINE EggData & | operator= (const EggData ©) |
bool | read (Filename filename) |
bool | read (istream &in) |
void | merge (EggData &other) |
bool | load_externals (const DSearchPath &searchpath=DSearchPath()) |
int | collapse_equivalent_textures () |
int | collapse_equivalent_materials () |
bool | write_egg (Filename filename) |
bool | write_egg (ostream &out) |
INLINE void | set_auto_resolve_externals (bool resolve) |
INLINE bool | get_auto_resolve_externals () const |
void | set_coordinate_system (CoordinateSystem coordsys) |
INLINE CoordinateSystem | get_coordinate_system () const |
INLINE void | set_egg_filename (const Filename &egg_filenamea) |
INLINE const Filename & | get_egg_filename () const |
INLINE void | recompute_vertex_normals (double threshold) |
INLINE void | recompute_polygon_normals () |
INLINE void | strip_normals () |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
bool | resolve_egg_filename (Filename &egg_filename, const DSearchPath &searchpath=DSearchPath()) |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
virtual void | write (ostream &out, int indent_level=0) const |
Private Member Functions | |
void | post_read () |
void | pre_write () |
Private Attributes | |
bool | _auto_resolve_externals |
CoordinateSystem | _coordsys |
Filename | _egg_filename |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Referenced by read(). |
|
|
|
Definition at line 228 of file eggData.cxx. References EggMaterialCollection::collapse_equivalent_materials(), EggMaterial::E_mref_name, and EggMaterialCollection::find_used_materials(). |
|
Definition at line 210 of file eggData.cxx. References EggTexture::E_tref_name, and textures. |
|
Reimplemented from EggGroupNode. Definition at line 102 of file eggData.h. References EggGroupNode::get_class_type(), and EggGroupNode::init_type(). |
|
Referenced by post_read(). |
|
Reimplemented from EggGroupNode. |
|
Referenced by load_externals(), and merge(). |
|
Referenced by EggLoader::build_graph(), post_read(), and read(). |
|
Reimplemented from EggGroupNode. Definition at line 99 of file eggData.h. References EggGroupNode::get_class_type(). |
|
Reimplemented from EggGroupNode. Definition at line 94 of file eggData.h. References EggGroupNode::get_class_type(), EggGroupNode::init_type(), and register_type(). Referenced by init_libegg(). |
|
Definition at line 194 of file eggData.cxx. References get_coordinate_system(), and EggGroupNode::r_load_externals(). Referenced by EggGroupNode::r_load_externals(). |
|
Definition at line 167 of file eggData.cxx. References CS_default, get_coordinate_system(), set_coordinate_system(), and EggGroupNode::steal_children(). |
|
|
|
Definition at line 316 of file eggData.cxx. References _coordsys, CoordinateSystem, CS_default, CS_invalid, CS_yup_right, EggGroupNode::find_coordsys_entry(), get_auto_resolve_externals(), get_egg_filename(), EggGroupNode::r_mark_coordsys(), EggGroupNode::resolve_filenames(), and set_coordinate_system(). |
|
|
Definition at line 139 of file eggData.cxx. References EggGroupNode::clear(), data, egg_cleanup_parser(), egg_error_count(), egg_init_parser(), EggData(), eggyyparse(), get_egg_filename(), EggGroupNode::PT(), and EggGroupNode::steal_children(). |
|
Definition at line 89 of file eggData.cxx. References VirtualFileSystem::get_global_ptr(), NULL, VirtualFileSystem::open_read_file(), and set_egg_filename(). Referenced by EggGroupNode::r_load_externals(). |
|
|
|
|
|
Definition at line 49 of file eggData.cxx. References VirtualFileSystem::exists(), get_egg_path(), VirtualFileSystem::get_global_ptr(), get_model_path(), and VirtualFileSystem::resolve_filename(). Referenced by EggGroupNode::r_load_externals(). |
|
Referenced by EggGroupNode::r_load_externals(). |
|
Definition at line 275 of file eggData.cxx. References _coordsys, CS_default, CS_invalid, default_coordinate_system, EggGroupNode::r_transform(), and EggGroupNode::update_under(). Referenced by EggLoader::EggLoader(), merge(), post_read(), and EggGroupNode::r_load_externals(). |
|
Referenced by read(). |
|
Reimplemented from EggGroupNode. |
|
Reimplemented from EggGroupNode. Definition at line 301 of file eggData.cxx. References _coordsys, EggGroupNode::write(), and EggCoordinateSystem::write(). Referenced by write_egg(). |
|
Definition at line 260 of file eggData.cxx. References pre_write(), and write(). |
|
Definition at line 241 of file eggData.cxx. |
|
|
|
Definition at line 87 of file eggData.h. Referenced by post_read(), set_coordinate_system(), and write(). |
|
|
|
Reimplemented from EggGroupNode. Definition at line 37 of file eggData.cxx. |