#include <bamToEgg.h>
Inheritance diagram for BamToEgg:
Public Member Functions | |
BamToEgg () | |
void | run () |
Private Member Functions | |
void | convert_node (const WorkingNodePath &node_path, EggGroupNode *egg_parent, bool has_decal) |
void | convert_lod_node (LODNode *node, const WorkingNodePath &node_path, EggGroupNode *egg_parent, bool has_decal) |
void | convert_geom_node (GeomNode *node, const WorkingNodePath &node_path, EggGroupNode *egg_parent, bool has_decal) |
void | convert_geom_tri (GeomTri *geom, const RenderState *net_state, const LMatrix4f &net_mat, EggGroupNode *egg_parent) |
void | recurse_nodes (const WorkingNodePath &node_path, EggGroupNode *egg_parent, bool has_decal) |
bool | apply_node_properties (EggGroup *egg_group, PandaNode *node) |
EggTexture * | get_egg_texture (Texture *tex) |
Private Attributes | |
EggVertexPool * | _vpool |
EggTextureCollection | _textures |
EggMaterialCollection | _materials |
|
|
|
Definition at line 209 of file bamToEgg.cxx. References apply_node_properties(), convert_geom_tri(), CPT, DCAST, Geom::explode(), Geom::get_class_type(), PandaNode::get_effects(), GeomNode::get_geom(), GeomNode::get_geom_state(), Namable::get_name(), WorkingNodePath::get_node_path(), EggNode::get_vertex_frame_inv(), RenderEffects::has_decal(), LCAST, ProgramBase::PT(), and recurse_nodes(). Referenced by convert_node(). |
|
|
Definition at line 161 of file bamToEgg.cxx. References apply_node_properties(), convert_node(), DCAST, LODNode::get_center(), PandaNode::get_child(), EggGroup::get_class_type(), LODNode::get_in(), Namable::get_name(), PandaNode::get_num_children(), LODNode::get_num_switches(), LODNode::get_out(), TypedObject::is_of_type(), LCAST, and ProgramBase::PT(). Referenced by convert_node(). |
|
Definition at line 135 of file bamToEgg.cxx. References apply_node_properties(), convert_geom_node(), convert_lod_node(), DCAST, LODNode::get_class_type(), Namable::get_name(), PandaNode::is_geom_node(), TypedObject::is_of_type(), WorkingNodePath::node(), and recurse_nodes(). Referenced by convert_lod_node(), recurse_nodes(), and run(). |
|
|
Definition at line 398 of file bamToEgg.cxx. References convert_node(), PandaNode::get_child(), PandaNode::get_num_children(), and WorkingNodePath::node(). Referenced by convert_geom_node(), and convert_node(). |
|
Definition at line 80 of file bamToEgg.cxx. References EggBase::_coordinate_system, EggBase::_data, SomethingToEgg::_input_filename, _vpool, BamFile::close(), convert_node(), DCAST, EggVertexPool::empty(), PandaNode::get_class_type(), BamFile::get_file_major_ver(), BamFile::get_file_minor_ver(), BamFile::is_eof(), nout, NULL, BamFile::open_read(), BamFile::read_object(), BamFile::resolve(), root, EggData::set_coordinate_system(), and EggWriter::write_egg_file(). Referenced by main(). |
|
Definition at line 70 of file bamToEgg.h. |
|
Definition at line 69 of file bamToEgg.h. Referenced by get_egg_texture(). |
|
Definition at line 68 of file bamToEgg.h. Referenced by convert_geom_tri(), and run(). |