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

EggJointData Class Reference

#include <eggJointData.h>

Inheritance diagram for EggJointData:

EggComponentData Namable List of all members.

Public Member Functions

 EggJointData (EggCharacterCollection *collection, EggCharacterData *char_data)
INLINE int get_num_children () const
INLINE EggJointData * get_child (int n) const
EggJointData * find_joint (const string &name)
int get_num_frames (int model_index) const
LMatrix4d get_frame (int model_index, int n) const
LMatrix4d get_net_frame (int model_index, int n) const
bool do_rebuild ()
void optimize ()
virtual void add_back_pointer (int model_index, EggObject *egg_object)
virtual void write (ostream &out, int indent_level=0) const

Protected Types

typedef pvector< EggJointData * > Children

Protected Attributes

Children _children
EggJointData * _parent

Friends

class EggCharacterCollection

Member Typedef Documentation

typedef pvector<EggJointData *> EggJointData::Children [protected]
 

Definition at line 56 of file eggJointData.h.


Constructor & Destructor Documentation

EggJointData::EggJointData EggCharacterCollection collection,
EggCharacterData char_data
 

Definition at line 35 of file eggJointData.cxx.

References _parent, and NULL.


Member Function Documentation

void EggJointData::add_back_pointer int  model_index,
EggObject egg_object
[virtual]
 

Implements EggComponentData.

Definition at line 186 of file eggJointData.cxx.

References EggTable::get_class_type(), EggGroup::get_class_type(), TypedObject::is_of_type(), nout, and EggComponentData::set_model().

Referenced by EggCharacterCollection::found_egg_match().

bool EggJointData::do_rebuild  ) 
 

Definition at line 128 of file eggJointData.cxx.

References EggComponentData::_back_pointers, _children, DCAST_INTO_R, EggJointPointer::do_rebuild(), and NULL.

Referenced by EggTopstrip::run().

EggJointData * EggJointData::find_joint const string &  name  ) 
 

Definition at line 49 of file eggJointData.cxx.

References _children, Namable::get_name(), and NULL.

INLINE EggJointData* EggJointData::get_child int  n  )  const
 

Referenced by EggTopstrip::run().

LMatrix4d EggJointData::get_frame int  model_index,
int  n
const
 

Definition at line 92 of file eggJointData.cxx.

References DCAST_INTO_R, EggJointPointer::get_frame(), EggComponentData::get_model(), n, and NULL.

Referenced by get_net_frame(), and EggTopstrip::strip_anim().

LMatrix4d EggJointData::get_net_frame int  model_index,
int  n
const
 

Definition at line 112 of file eggJointData.cxx.

References _parent, get_frame(), n, and NULL.

Referenced by EggTopstrip::strip_anim(), and EggTopstrip::strip_anim_vertices().

INLINE int EggJointData::get_num_children  )  const
 

Referenced by EggTopstrip::run().

int EggJointData::get_num_frames int  model_index  )  const
 

Definition at line 72 of file eggJointData.cxx.

References DCAST_INTO_R, EggComponentData::get_model(), EggJointPointer::get_num_frames(), and NULL.

Referenced by EggTopstrip::strip_anim().

void EggJointData::optimize  ) 
 

Definition at line 161 of file eggJointData.cxx.

References EggComponentData::_back_pointers, _children, DCAST_INTO_V, NULL, and EggJointPointer::optimize().

Referenced by EggCharacterFilter::write_eggs().

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

Implements EggComponentData.

Definition at line 208 of file eggJointData.cxx.

References _children, Namable::get_name(), EggComponentData::get_num_models(), EggComponentData::has_model(), and indent().

Referenced by EggCharacterData::write().


Friends And Related Function Documentation

friend class EggCharacterCollection [friend]
 

Definition at line 60 of file eggJointData.h.


Member Data Documentation

Children EggJointData::_children [protected]
 

Definition at line 57 of file eggJointData.h.

Referenced by do_rebuild(), find_joint(), EggCharacterCollection::match_egg_nodes(), optimize(), and write().

EggJointData* EggJointData::_parent [protected]
 

Definition at line 58 of file eggJointData.h.

Referenced by EggJointData(), and get_net_frame().


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