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

EggCharacterData Class Reference

#include <eggCharacterData.h>

Inheritance diagram for EggCharacterData:

Namable List of all members.

Public Member Functions

 EggCharacterData (EggCharacterCollection *collection)
virtual ~EggCharacterData ()
void add_model (int model_index, EggNode *model_root)
INLINE int get_num_models () const
INLINE int get_model_index (int n) const
INLINE EggNodeget_model_root (int n) const
INLINE EggJointDataget_root_joint () const
INLINE EggJointDatafind_joint (const string &name) const
EggSliderDatamake_slider (const string &name)
virtual void write (ostream &out, int indent_level=0) const

Protected Types

typedef pvector< ModelModels
typedef pmap< string, EggSliderData * > Sliders

Protected Attributes

Models _models
EggCharacterCollection_collection
EggJointData_root_joint
Sliders _sliders

Member Typedef Documentation

typedef pvector<Model> EggCharacterData::Models [protected]
 

Definition at line 85 of file eggCharacterData.h.

typedef pmap<string, EggSliderData *> EggCharacterData::Sliders [protected]
 

Definition at line 91 of file eggCharacterData.h.


Constructor & Destructor Documentation

EggCharacterData::EggCharacterData EggCharacterCollection collection  ) 
 

Definition at line 32 of file eggCharacterData.cxx.

References _collection, _root_joint, and EggCharacterCollection::make_joint_data().

EggCharacterData::~EggCharacterData  )  [virtual]
 

Definition at line 43 of file eggCharacterData.cxx.

References _root_joint, and _sliders.


Member Function Documentation

void EggCharacterData::add_model int  model_index,
EggNode model_root
 

Definition at line 67 of file eggCharacterData.cxx.

References EggCharacterData::Model::_model_index, and _models.

Referenced by EggCharacterCollection::add_egg().

INLINE EggJointData* EggCharacterData::find_joint const string &  name  )  const
 

Referenced by EggTopstrip::run().

INLINE int EggCharacterData::get_model_index int  n  )  const
 

Referenced by EggTopstrip::run().

INLINE EggNode* EggCharacterData::get_model_root int  n  )  const
 

Referenced by EggTopstrip::run().

INLINE int EggCharacterData::get_num_models  )  const
 

Referenced by EggTopstrip::run().

INLINE EggJointData* EggCharacterData::get_root_joint  )  const
 

Referenced by EggCharacterCollection::add_egg(), EggTopstrip::run(), write(), and EggCharacterFilter::write_eggs().

EggSliderData * EggCharacterData::make_slider const string &  name  ) 
 

Definition at line 81 of file eggCharacterData.cxx.

References _collection, _sliders, EggCharacterCollection::make_slider_data(), and Namable::set_name().

Referenced by EggCharacterCollection::add_morph_back_pointers(), EggCharacterCollection::scan_for_morphs(), and EggCharacterCollection::scan_for_sliders().

void EggCharacterData::write ostream &  out,
int  indent_level = 0
const [virtual]
 

Definition at line 100 of file eggCharacterData.cxx.

References _sliders, Namable::get_name(), get_root_joint(), indent(), EggSliderData::write(), and EggJointData::write().

Referenced by EggCharacterCollection::write().


Member Data Documentation

EggCharacterCollection* EggCharacterData::_collection [protected]
 

Definition at line 88 of file eggCharacterData.h.

Referenced by EggCharacterData(), and make_slider().

Models EggCharacterData::_models [protected]
 

Definition at line 86 of file eggCharacterData.h.

Referenced by add_model().

EggJointData* EggCharacterData::_root_joint [protected]
 

Definition at line 89 of file eggCharacterData.h.

Referenced by EggCharacterData(), and ~EggCharacterData().

Sliders EggCharacterData::_sliders [protected]
 

Definition at line 92 of file eggCharacterData.h.

Referenced by make_slider(), write(), and ~EggCharacterData().


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