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

EggTopstrip Class Reference

#include <eggTopstrip.h>

Inheritance diagram for EggTopstrip:

EggCharacterFilter EggMultiFilter EggMultiBase ProgramBase List of all members.

Public Member Functions

 EggTopstrip ()
void run ()
void check_transform_channels ()
void strip_anim (EggJointData *joint_data, int from_model, EggJointData *top_joint)
void strip_anim_vertices (EggNode *egg_node, int into_model, int from_model, EggJointData *top_joint)
void adjust_transform (LMatrix4d &mat) const

Public Attributes

string _top_joint_name
bool _got_invert_transform
bool _invert_transform
string _transform_channels
Filename _channel_filename

Constructor & Destructor Documentation

EggTopstrip::EggTopstrip  ) 
 

Definition at line 35 of file eggTopstrip.cxx.

References _channel_filename, _got_invert_transform, _invert_transform, _top_joint_name, _transform_channels, ProgramBase::add_option(), ProgramBase::dispatch_false(), ProgramBase::dispatch_filename(), ProgramBase::dispatch_string(), ProgramBase::dispatch_true(), NULL, and ProgramBase::set_program_description().


Member Function Documentation

void EggTopstrip::adjust_transform LMatrix4d &  mat  )  const
 

Definition at line 310 of file eggTopstrip.cxx.

References EggMultiBase::_coordinate_system, _transform_channels, compose_matrix(), decompose_matrix(), nout, scale, and size_t.

Referenced by strip_anim(), and strip_anim_vertices().

void EggTopstrip::check_transform_channels  ) 
 

Definition at line 196 of file eggTopstrip.cxx.

References _transform_channels, nassertv, nout, p, and size_t.

Referenced by run().

void EggTopstrip::run  ) 
 

Definition at line 88 of file eggTopstrip.cxx.

References _channel_filename, EggCharacterFilter::_collection, _got_invert_transform, _invert_transform, _top_joint_name, EggCharacterCollection::add_egg(), check_transform_channels(), EggJointData::do_rebuild(), Filename::empty(), EggCharacterData::find_joint(), EggCharacterCollection::get_character(), EggCharacterCollection::get_character_by_model_index(), EggJointData::get_child(), EggTable::get_class_type(), EggCharacterCollection::get_first_model_index(), EggCharacterData::get_model_index(), EggCharacterData::get_model_root(), Namable::get_name(), EggCharacterCollection::get_num_characters(), EggJointData::get_num_children(), EggCharacterCollection::get_num_eggs(), EggCharacterData::get_num_models(), EggCharacterData::get_root_joint(), TypedObject::is_of_type(), nassertv, nout, NULL, EggMultiBase::PT(), strip_anim(), strip_anim_vertices(), and EggCharacterFilter::write_eggs().

Referenced by main().

void EggTopstrip::strip_anim EggJointData joint_data,
int  from_model,
EggJointData top_joint
 

Definition at line 234 of file eggTopstrip.cxx.

References EggJointPointer::add_rebuild_frame(), adjust_transform(), EggJointPointer::begin_rebuild(), DCAST_INTO_V, EggJointData::get_frame(), EggComponentData::get_model(), Namable::get_name(), EggJointData::get_net_frame(), EggJointData::get_num_frames(), EggComponentData::get_num_models(), EggComponentData::has_model(), nassertv, nout, NULL, and num_frames.

Referenced by run().

void EggTopstrip::strip_anim_vertices EggNode egg_node,
int  into_model,
int  from_model,
EggJointData top_joint
 

Definition at line 286 of file eggTopstrip.cxx.

References adjust_transform(), Namable::get_name(), EggJointData::get_net_frame(), EggComponentData::has_model(), nout, and EggNode::transform_vertices_only().

Referenced by run().


Member Data Documentation

Filename EggTopstrip::_channel_filename
 

Definition at line 59 of file eggTopstrip.h.

Referenced by EggTopstrip(), and run().

bool EggTopstrip::_got_invert_transform
 

Definition at line 56 of file eggTopstrip.h.

Referenced by EggTopstrip(), and run().

bool EggTopstrip::_invert_transform
 

Definition at line 57 of file eggTopstrip.h.

Referenced by EggTopstrip(), and run().

string EggTopstrip::_top_joint_name
 

Definition at line 55 of file eggTopstrip.h.

Referenced by EggTopstrip(), and run().

string EggTopstrip::_transform_channels
 

Definition at line 58 of file eggTopstrip.h.

Referenced by adjust_transform(), check_transform_channels(), and EggTopstrip().


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