Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EggBase Class Reference

#include <eggBase.h>

Inheritance diagram for EggBase:

ProgramBase EggReader EggWriter EggFilter EggFilter EggMakeFont EggTextureCards EggConverter EggCrop EggTrans EggConverter EggCrop EggTrans EggToSomething SomethingToEgg EggToSomething SomethingToEgg EggToBam EggToC EggToX BamToEgg FltToEgg LwoToEgg MayaToEgg XFileToEgg EggToBam EggToC EggToX BamToEgg FltToEgg LwoToEgg MayaToEgg XFileToEgg List of all members.

Public Member Functions

 EggBase ()
virtual EggReaderas_reader ()
virtual EggWriteras_writer ()

Static Public Member Functions

void convert_paths (EggNode *node, PathReplace *path_replace, const DSearchPath &additional_path)

Protected Member Functions

virtual bool post_command_line ()
void append_command_comment (EggData &_data)

Static Protected Member Functions

void append_command_comment (EggData &_data, const string &comment)

Protected Attributes

bool _got_coordinate_system
CoordinateSystem _coordinate_system
EggData _data

Constructor & Destructor Documentation

EggBase::EggBase  ) 
 

Definition at line 33 of file eggBase.cxx.

References _coordinate_system, _got_coordinate_system, ProgramBase::add_option(), CS_yup_right, and ProgramBase::dispatch_coordinate_system().


Member Function Documentation

void EggBase::append_command_comment EggData _data,
const string &  comment
[static, protected]
 

Definition at line 162 of file eggBase.cxx.

References data.

void EggBase::append_command_comment EggData _data  )  [protected]
 

Definition at line 146 of file eggBase.cxx.

References data, and ProgramBase::get_exec_command().

Referenced by EggWriter::post_command_line().

EggReader * EggBase::as_reader  )  [virtual]
 

Reimplemented in EggReader.

Definition at line 57 of file eggBase.cxx.

References NULL.

EggWriter * EggBase::as_writer  )  [virtual]
 

Reimplemented in EggWriter.

Definition at line 74 of file eggBase.cxx.

References NULL.

Referenced by EggMakeFont::dispatch_dimensions(), EggWriter::dispatch_normals(), EggWriter::dispatch_rotate_axis(), and EggWriter::dispatch_rotate_xyz().

void EggBase::convert_paths EggNode node,
PathReplace path_replace,
const DSearchPath additional_path
[static]
 

Definition at line 86 of file eggBase.cxx.

References EggGroupNode::begin(), EggGroupNode::const_iterator, DCAST, EggGroupNode::end(), EggTexture::get_alpha_filename(), EggGroupNode::get_class_type(), EggFilenameNode::get_class_type(), EggTexture::get_class_type(), EggFilenameNode::get_filename(), EggTexture::has_alpha_filename(), TypedObject::is_of_type(), PathReplace::match_path(), EggTexture::set_alpha_filename(), EggTexture::set_alpha_fullpath(), EggFilenameNode::set_filename(), EggFilenameNode::set_fullpath(), and PathReplace::store_path().

Referenced by EggReader::handle_args(), and PT().

bool EggBase::post_command_line  )  [protected, virtual]
 

Reimplemented from ProgramBase.

Reimplemented in EggFilter, EggReader, EggWriter, SomethingToEgg, and EggCrop.

Definition at line 125 of file eggBase.cxx.

References _coordinate_system, _data, ProgramBase::post_command_line(), and EggData::set_coordinate_system().

Referenced by EggWriter::post_command_line(), and EggReader::post_command_line().


Member Data Documentation

CoordinateSystem EggBase::_coordinate_system [protected]
 

Definition at line 60 of file eggBase.h.

Referenced by BamToEgg::BamToEgg(), EggBase(), EggToX::EggToX(), FltToEgg::FltToEgg(), LwoToEgg::LwoToEgg(), EggMakeFont::make_vertex(), EggWriter::ns_dispatch_rotate_axis(), EggWriter::ns_dispatch_rotate_xyz(), post_command_line(), XFileToEgg::run(), MayaToEgg::run(), LwoToEgg::run(), FltToEgg::run(), BamToEgg::run(), and XFileToEgg::XFileToEgg().

EggData EggBase::_data [protected]
 

Definition at line 61 of file eggBase.h.

Referenced by EggReader::copy_textures(), EggReader::do_reader_options(), EggReader::handle_args(), EggWriter::post_command_line(), post_command_line(), SomethingToEgg::post_process_egg_file(), EggWriter::post_process_egg_file(), XFileToEgg::run(), MayaToEgg::run(), LwoToEgg::run(), FltToEgg::run(), EggTrans::run(), EggToX::run(), EggToC::run(), EggToBam::run(), EggTextureCards::run(), EggMakeFont::run(), EggCrop::run(), BamToEgg::run(), and EggWriter::write_egg_file().

bool EggBase::_got_coordinate_system [protected]
 

Definition at line 59 of file eggBase.h.

Referenced by EggBase(), EggToX::EggToX(), MayaToEgg::run(), and EggToBam::run().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:00:48 2003 for Panda-Tool by doxygen1.3