Panda3D
Public Member Functions | Public Attributes

EggRetargetAnim Class Reference

Retargets one or more animation files from one particular skeleton to a similar, but differently scaled skeleton by preserving the rotation information but discarding translation and/or scale. More...

#include "eggRetargetAnim.h"

Inheritance diagram for EggRetargetAnim:
EggCharacterFilter EggMultiFilter EggMultiBase EggBase ProgramBase

List of all members.

Public Member Functions

void retarget_anim (EggCharacterData *char_data, EggJointData *joint_data, int reference_model, const pset< string > &keep_names, EggCharacterDb &db)
 Recursively replaces the scale and translate information on all of the joints in the char_data hierarchy wiht this from reference_char.
void run ()

Public Attributes

vector_string _keep_joints
Filename _reference_filename

Detailed Description

Retargets one or more animation files from one particular skeleton to a similar, but differently scaled skeleton by preserving the rotation information but discarding translation and/or scale.

Definition at line 36 of file eggRetargetAnim.h.


Member Function Documentation

void EggRetargetAnim::retarget_anim ( EggCharacterData char_data,
EggJointData joint_data,
int  reference_model,
const pset< string > &  keep_names,
EggCharacterDb db 
)

Recursively replaces the scale and translate information on all of the joints in the char_data hierarchy wiht this from reference_char.

Definition at line 144 of file eggRetargetAnim.cxx.

References EggJointData::get_frame(), EggComponentData::get_model(), EggCharacterData::get_num_frames(), EggComponentData::get_num_models(), EggComponentData::has_model(), and EggCharacterDb::set_matrix().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations