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

EggComponentData Class Reference

#include <eggComponentData.h>

Inheritance diagram for EggComponentData:

Namable EggJointData EggSliderData List of all members.

Public Member Functions

 EggComponentData (EggCharacterCollection *collection, EggCharacterData *char_data)
virtual ~EggComponentData ()
void add_name (const string &name)
bool matches_name (const string &name) const
virtual void add_back_pointer (int model_index, EggObject *egg_object)=0
virtual void write (ostream &out, int indent_level=0) const=0
INLINE int get_num_models () const
INLINE bool has_model (int model_index) const
INLINE EggBackPointerget_model (int model_index) const
void set_model (int model_index, EggBackPointer *back)

Protected Types

typedef pvector< EggBackPointer * > BackPointers

Protected Attributes

BackPointers _back_pointers
EggCharacterCollection_collection
EggCharacterData_char_data

Member Typedef Documentation

typedef pvector<EggBackPointer *> EggComponentData::BackPointers [protected]
 

Definition at line 60 of file eggComponentData.h.


Constructor & Destructor Documentation

EggComponentData::EggComponentData EggCharacterCollection collection,
EggCharacterData char_data
 

Definition at line 31 of file eggComponentData.cxx.

EggComponentData::~EggComponentData  )  [virtual]
 

Definition at line 44 of file eggComponentData.cxx.

References _back_pointers, and NULL.


Member Function Documentation

virtual void EggComponentData::add_back_pointer int  model_index,
EggObject egg_object
[pure virtual]
 

Implemented in EggJointData, and EggSliderData.

void EggComponentData::add_name const string &  name  ) 
 

Definition at line 65 of file eggComponentData.cxx.

References Namable::has_name(), and Namable::set_name().

Referenced by EggCharacterCollection::found_egg_match().

INLINE EggBackPointer* EggComponentData::get_model int  model_index  )  const
 

Referenced by EggSliderData::add_back_pointer(), EggJointData::get_frame(), EggJointData::get_num_frames(), and EggTopstrip::strip_anim().

INLINE int EggComponentData::get_num_models  )  const
 

Referenced by EggTopstrip::strip_anim(), EggSliderData::write(), and EggJointData::write().

INLINE bool EggComponentData::has_model int  model_index  )  const
 

Referenced by EggTopstrip::strip_anim(), EggTopstrip::strip_anim_vertices(), EggSliderData::write(), and EggJointData::write().

bool EggComponentData::matches_name const string &  name  )  const
 

Definition at line 79 of file eggComponentData.cxx.

void EggComponentData::set_model int  model_index,
EggBackPointer back
 

Definition at line 90 of file eggComponentData.cxx.

References _back_pointers, nout, and NULL.

Referenced by EggSliderData::add_back_pointer(), and EggJointData::add_back_pointer().

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

Implemented in EggJointData, and EggSliderData.


Member Data Documentation

BackPointers EggComponentData::_back_pointers [protected]
 

Definition at line 61 of file eggComponentData.h.

Referenced by EggJointData::do_rebuild(), EggJointData::optimize(), set_model(), and ~EggComponentData().

EggCharacterData* EggComponentData::_char_data [protected]
 

Definition at line 65 of file eggComponentData.h.

EggCharacterCollection* EggComponentData::_collection [protected]
 

Definition at line 64 of file eggComponentData.h.


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