#include <eggXfmSAnim.h>
Inheritance diagram for EggXfmSAnim:
Public Member Functions | |
INLINE | EggXfmSAnim (const string &name="", CoordinateSystem cs=CS_default) |
EggXfmSAnim (const EggXfmAnimData &convert_from) | |
INLINE | EggXfmSAnim (const EggXfmSAnim ©) |
INLINE EggXfmSAnim & | operator= (const EggXfmSAnim ©) |
INLINE void | set_fps (double type) |
INLINE void | clear_fps () |
INLINE bool | has_fps () const |
INLINE double | get_fps () const |
INLINE void | set_order (const string &order) |
INLINE void | clear_order () |
INLINE bool | has_order () const |
INLINE const string & | get_order () const |
INLINE CoordinateSystem | get_coordinate_system () const |
void | optimize () |
void | optimize_to_standard_order () |
void | normalize () |
int | get_num_rows () const |
void | get_value (int row, LMatrix4d &mat) const |
bool | set_value (int row, const LMatrix4d &mat) |
INLINE void | clear_data () |
bool | add_data (const LMatrix4d &mat) |
virtual void | write (ostream &out, int indent_level) const |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
INLINE const string & | get_standard_order () |
void | compose_with_order (LMatrix4d &mat, const LVecBase3d &scale, const LVecBase3d &hpr, const LVecBase3d &trans, const string &order, CoordinateSystem cs) |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
virtual void | r_transform (const LMatrix4d &mat, const LMatrix4d &inv, CoordinateSystem to_cs) |
virtual void | r_mark_coordsys (CoordinateSystem cs) |
Private Member Functions | |
void | normalize_by_rebuilding () |
void | normalize_by_expanding () |
Private Attributes | |
double | _fps |
bool | _has_fps |
string | _order |
CoordinateSystem | _coordsys |
Static Private Attributes | |
string | _standard_order = "sphrt" |
TypeHandle | _type_handle |
|
|
|
Definition at line 48 of file eggXfmSAnim.cxx. References _coordsys, _has_fps, EggAnimData::add_data(), row, set_fps(), and set_order(). |
|
|
|
Definition at line 489 of file eggXfmSAnim.cxx. References _coordsys, EggAnimData::add_data(), EggGroupNode::begin(), EggGroupNode::const_iterator, DCAST, decompose_matrix(), EggGroupNode::empty(), EggGroupNode::end(), EggSAnimData::get_class_type(), EggSAnimData::get_num_rows(), get_order(), get_standard_order(), p, scale, and set_order(). Referenced by normalize_by_rebuilding(), r_transform(), and EggXfmAnimData::r_transform(). |
|
|
|
|
|
|
|
Definition at line 188 of file eggXfmSAnim.cxx. References cs, egg_support_old_anims, and scale. Referenced by get_value(), and EggXfmAnimData::get_value(). |
|
Reimplemented from EggGroupNode. Definition at line 110 of file eggXfmSAnim.h. References EggGroupNode::get_class_type(), and EggGroupNode::init_type(). |
|
Reimplemented from EggGroupNode. Definition at line 99 of file eggXfmSAnim.h. Referenced by AnimBundleMaker::create_xfm_channel(), and AnimBundleMaker::inspect_tree(). |
|
|
|
Referenced by AnimBundleMaker::inspect_tree(), and write(). |
|
Definition at line 250 of file eggXfmSAnim.cxx. References EggGroupNode::begin(), EggGroupNode::const_iterator, DCAST, EggGroupNode::end(), EggSAnimData::get_class_type(), and EggSAnimData::get_num_rows(). Referenced by get_value(), normalize_by_rebuilding(), and r_transform(). |
|
Referenced by add_data(), get_value(), normalize(), optimize_to_standard_order(), set_value(), and write(). |
|
Referenced by add_data(), normalize(), optimize_to_standard_order(), and set_value(). |
|
Reimplemented from EggGroupNode. Definition at line 107 of file eggXfmSAnim.h. References EggGroupNode::get_class_type(). |
|
Definition at line 284 of file eggXfmSAnim.cxx. References _coordsys, EggGroupNode::begin(), compose_with_order(), EggGroupNode::const_iterator, DCAST, EggGroupNode::end(), EggSAnimData::get_class_type(), get_num_rows(), EggSAnimData::get_num_rows(), get_order(), EggSAnimData::get_value(), row, and scale. Referenced by normalize_by_rebuilding(), and r_transform(). |
|
Referenced by AnimBundleMaker::inspect_tree(), and write(). |
|
Referenced by write(). |
|
Reimplemented from EggGroupNode. Definition at line 102 of file eggXfmSAnim.h. References EggGroupNode::get_class_type(), EggGroupNode::init_type(), and register_type(). Referenced by init_libegg(). |
|
Definition at line 138 of file eggXfmSAnim.cxx. References get_order(), get_standard_order(), normalize_by_expanding(), and normalize_by_rebuilding(). |
|
Definition at line 680 of file eggXfmSAnim.cxx. References EggAnimData::add_data(), EggGroupNode::begin(), DCAST, EggGroupNode::end(), EggSAnimData::get_class_type(), EggSAnimData::get_num_rows(), EggSAnimData::get_value(), EggGroupNode::iterator, and p. Referenced by normalize(). |
|
Definition at line 649 of file eggXfmSAnim.cxx. References add_data(), get_num_rows(), get_value(), r, and EggGroupNode::steal_children(). Referenced by normalize(), and optimize_to_standard_order(). |
|
|
|
Definition at line 78 of file eggXfmSAnim.cxx. References EggParameters::_table_threshold, EggGroupNode::begin(), DCAST, egg_parameters, EggGroupNode::end(), EggGroupNode::erase(), EggSAnimData::get_class_type(), EggSAnimData::get_num_rows(), EggSAnimData::get_value(), EggGroupNode::iterator, NULL, and EggSAnimData::optimize(). Referenced by optimize_to_standard_order(), r_transform(), and EggXfmAnimData::r_transform(). |
|
Definition at line 121 of file eggXfmSAnim.cxx. References get_order(), get_standard_order(), normalize_by_rebuilding(), and optimize(). Referenced by AnimBundleMaker::create_xfm_channel(). |
|
Reimplemented from EggGroupNode. Definition at line 634 of file eggXfmSAnim.cxx. |
|
Reimplemented from EggGroupNode. Definition at line 591 of file eggXfmSAnim.cxx. References _coordsys, add_data(), CS_default, get_num_rows(), get_value(), optimize(), r, and EggGroupNode::steal_children(). |
|
Referenced by EggXfmSAnim(), and EggXfmAnimData::r_transform(). |
|
Referenced by add_data(), EggXfmSAnim(), and EggXfmAnimData::r_transform(). |
|
Definition at line 374 of file eggXfmSAnim.cxx. References _coordsys, EggGroupNode::begin(), EggGroupNode::const_iterator, DCAST, decompose_matrix(), EggGroupNode::end(), EggSAnimData::get_class_type(), EggSAnimData::get_num_rows(), get_order(), get_standard_order(), row, scale, and EggSAnimData::set_value(). |
|
Reimplemented from EggGroupNode. Definition at line 160 of file eggXfmSAnim.cxx. References get_fps(), get_order(), has_fps(), has_order(), indent(), EggNode::test_under_integrity(), EggGroupNode::write(), and EggNamedObject::write_header(). |
|
Definition at line 93 of file eggXfmSAnim.h. Referenced by add_data(), EggXfmSAnim(), get_value(), r_mark_coordsys(), r_transform(), and set_value(). |
|
Definition at line 90 of file eggXfmSAnim.h. |
|
Definition at line 91 of file eggXfmSAnim.h. Referenced by EggXfmSAnim(). |
|
Definition at line 92 of file eggXfmSAnim.h. |
|
Definition at line 38 of file eggXfmSAnim.cxx. |
|
Reimplemented from EggGroupNode. Definition at line 30 of file eggXfmSAnim.cxx. |