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

AnimBundleMaker Class Reference

#include <animBundleMaker.h>

List of all members.

Public Member Functions

 AnimBundleMaker (EggTable *root)
AnimBundleNodemake_node ()

Private Member Functions

AnimBundlemake_bundle ()
void inspect_tree (EggNode *node)
void build_hierarchy (EggTable *egg_table, AnimGroup *parent)
AnimChannelScalarTablecreate_s_channel (EggSAnimData *egg_anim, const string &name, AnimGroup *parent)
AnimChannelMatrixXfmTablecreate_xfm_channel (EggNode *egg_node, const string &name, AnimGroup *parent)
AnimChannelMatrixXfmTablecreate_xfm_channel (EggXfmSAnim *egg_anim, const string &name, AnimGroup *parent)

Private Attributes

float _fps
int _num_frames
bool _ok_fps
bool _ok_num_frames
EggTable_root


Constructor & Destructor Documentation

AnimBundleMaker::AnimBundleMaker EggTable root  ) 
 

Definition at line 39 of file animBundleMaker.cxx.

References _fps, _num_frames, _ok_fps, _ok_num_frames, _root, inspect_tree(), and root.


Member Function Documentation

void AnimBundleMaker::build_hierarchy EggTable egg_table,
AnimGroup parent
[private]
 

Definition at line 186 of file animBundleMaker.cxx.

References EggGroupNode::begin(), EggGroupNode::const_iterator, create_s_channel(), create_xfm_channel(), DCAST, EggGroupNode::end(), EggTable::get_class_type(), EggSAnimData::get_class_type(), and NULL.

Referenced by make_bundle().

AnimChannelScalarTable * AnimBundleMaker::create_s_channel EggSAnimData egg_anim,
const string &  name,
AnimGroup parent
[private]
 

Definition at line 236 of file animBundleMaker.cxx.

References PointerToArray< float >::empty_array(), EggSAnimData::get_num_rows(), EggSAnimData::get_value(), and table.

Referenced by build_hierarchy().

AnimChannelMatrixXfmTable * AnimBundleMaker::create_xfm_channel EggXfmSAnim egg_anim,
const string &  name,
AnimGroup parent
[private]
 

Definition at line 288 of file animBundleMaker.cxx.

References EggGroupNode::begin(), EggGroupNode::const_iterator, DCAST, PointerToArray< float >::empty_array(), EggGroupNode::end(), EggSAnimData::get_class_type(), EggSAnimData::get_num_rows(), EggSAnimData::get_value(), EggXfmSAnim::optimize_to_standard_order(), and table.

AnimChannelMatrixXfmTable * AnimBundleMaker::create_xfm_channel EggNode egg_node,
const string &  name,
AnimGroup parent
[private]
 

Definition at line 262 of file animBundleMaker.cxx.

References DCAST, EggXfmSAnim::get_class_type(), EggXfmAnimData::get_class_type(), TypedObject::is_of_type(), and NULL.

Referenced by build_hierarchy().

void AnimBundleMaker::inspect_tree EggNode node  )  [private]
 

Definition at line 107 of file animBundleMaker.cxx.

References _fps, _num_frames, _ok_fps, _ok_num_frames, EggGroupNode::begin(), EggGroupNode::const_iterator, DCAST, EggGroupNode::end(), EggGroupNode::get_class_type(), EggXfmAnimData::get_class_type(), EggSAnimData::get_class_type(), EggXfmSAnim::get_class_type(), EggAnimData::get_class_type(), EggXfmSAnim::get_fps(), EggAnimData::get_fps(), EggXfmAnimData::get_num_rows(), EggSAnimData::get_num_rows(), EggXfmSAnim::has_fps(), EggAnimData::has_fps(), TypedObject::is_of_type(), and num_frames.

Referenced by AnimBundleMaker().

AnimBundle * AnimBundleMaker::make_bundle  )  [private]
 

Definition at line 83 of file animBundleMaker.cxx.

References _fps, _num_frames, _root, EggGroupNode::begin(), build_hierarchy(), EggGroupNode::const_iterator, DCAST, EggGroupNode::end(), EggTable::get_class_type(), and AnimGroup::sort_descendants().

Referenced by make_node().

AnimBundleNode * AnimBundleMaker::make_node  ) 
 

Definition at line 73 of file animBundleMaker.cxx.

References make_bundle().

Referenced by EggLoader::make_node().


Member Data Documentation

float AnimBundleMaker::_fps [private]
 

Definition at line 63 of file animBundleMaker.h.

Referenced by AnimBundleMaker(), inspect_tree(), and make_bundle().

int AnimBundleMaker::_num_frames [private]
 

Definition at line 64 of file animBundleMaker.h.

Referenced by AnimBundleMaker(), inspect_tree(), and make_bundle().

bool AnimBundleMaker::_ok_fps [private]
 

Definition at line 65 of file animBundleMaker.h.

Referenced by AnimBundleMaker(), and inspect_tree().

bool AnimBundleMaker::_ok_num_frames [private]
 

Definition at line 66 of file animBundleMaker.h.

Referenced by AnimBundleMaker(), and inspect_tree().

EggTable* AnimBundleMaker::_root [private]
 

Definition at line 68 of file animBundleMaker.h.

Referenced by AnimBundleMaker(), and make_bundle().


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