#include <animChannelMatrixXfmTable.h>
Inheritance diagram for AnimChannelMatrixXfmTable:
Public Member Functions | |
AnimChannelMatrixXfmTable (AnimGroup *parent, const string &name) | |
virtual bool | has_changed (int last_frame, int this_frame) |
virtual void | get_value (int frame, LMatrix4f &mat) |
virtual void | get_value_no_scale (int frame, LMatrix4f &value) |
virtual void | get_scale (int frame, float scale[3]) |
void | clear_all_tables () |
void | set_table (char table_id, const CPTA_float &table) |
INLINE bool | has_table (char table_id) const |
INLINE CPTA_float | get_table (char table_id) const |
INLINE void | clear_table (char table_id) |
virtual void | write (ostream &out, int indent_level) const |
virtual void | write_datagram (BamWriter *manager, Datagram &me) |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
INLINE bool | is_valid_id (char table_id) |
void | register_with_read_factory (void) |
TypedWritable * | make_AnimChannelMatrixXfmTable (const FactoryParams ¶ms) |
TypeHandle | get_class_type () |
void | init_type () |
Protected Types | |
enum | { num_tables = 9 } |
Protected Member Functions | |
AnimChannelMatrixXfmTable (void) | |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Static Protected Member Functions | |
INLINE char | get_table_id (int table_index) |
int | get_table_index (char table_id) |
INLINE float | get_default_value (int table_index) |
Protected Attributes | |
CPTA_float | _tables [num_tables] |
Static Private Attributes | |
const char | _table_ids [num_tables] |
const float | _default_values [num_tables] |
TypeHandle | _type_handle |
|
Definition at line 62 of file animChannelMatrixXfmTable.h. |
|
Definition at line 48 of file animChannelMatrixXfmTable.cxx. |
|
Definition at line 54 of file animChannelMatrixXfmTable.cxx. |
|
Definition at line 149 of file animChannelMatrixXfmTable.cxx. References _tables, NULL, and num_tables. Referenced by fillin(). |
|
|
|
Reimplemented from AnimChannelBase. Definition at line 303 of file animChannelMatrixXfmTable.cxx. References _tables, clear_all_tables(), PointerToArray< float >::empty_array(), AnimChannelBase::fillin(), DatagramIterator::get_bool(), DatagramIterator::get_float32(), DatagramIterator::get_uint16(), num_tables, PointerToArray< float >::push_back(), read_compressed_channels, FFTCompressor::read_header(), FFTCompressor::read_hprs(), FFTCompressor::read_reals(), and PointerToArray< float >::v(). Referenced by make_AnimChannelMatrixXfmTable(). |
|
Reimplemented from AnimChannel< ACMatrixSwitchType >. Definition at line 83 of file animChannelMatrixXfmTable.h. References AnimChannel< ACMatrixSwitchType >::get_class_type(), and AnimChannel< ACMatrixSwitchType >::init_type(). |
|
Reimplemented from AnimChannel< ACMatrixSwitchType >. Definition at line 84 of file animChannelMatrixXfmTable.h. Referenced by register_with_read_factory(). |
|
Referenced by get_scale(), get_value(), and get_value_no_scale(). |
|
Reimplemented from AnimChannel< ACMatrixSwitchType >. Definition at line 131 of file animChannelMatrixXfmTable.cxx. References _tables, ConstPointerToArray< float >::empty(), get_default_value(), scale, and ConstPointerToArray< float >::size(). |
|
|
|
Referenced by get_table_index(), and write(). |
|
Definition at line 223 of file animChannelMatrixXfmTable.cxx. References get_table_id(), and num_tables. Referenced by set_table(). |
|
Reimplemented from AnimChannel< ACMatrixSwitchType >. Definition at line 80 of file animChannelMatrixXfmTable.h. References AnimChannel< ACMatrixSwitchType >::get_class_type(). Referenced by write(). |
|
Definition at line 87 of file animChannelMatrixXfmTable.cxx. References _tables, compose_matrix(), ConstPointerToArray< float >::empty(), get_default_value(), num_tables, and ConstPointerToArray< float >::size(). |
|
Definition at line 108 of file animChannelMatrixXfmTable.cxx. References _tables, compose_matrix(), ConstPointerToArray< float >::empty(), get_default_value(), num_tables, and ConstPointerToArray< float >::size(). |
|
Reimplemented from AnimChannelBase. Definition at line 68 of file animChannelMatrixXfmTable.cxx. References _tables, num_tables, and ConstPointerToArray< float >::size(). |
|
|
|
Reimplemented from AnimChannel< ACMatrixSwitchType >. Definition at line 87 of file animChannelMatrixXfmTable.h. References AnimChannel< ACMatrixSwitchType >::init_type(), and register_type(). Referenced by ConfigureFn(). |
|
|
|
Definition at line 371 of file animChannelMatrixXfmTable.cxx. References fillin(), params, and parse_params(). Referenced by register_with_read_factory(). |
|
Reimplemented from AnimGroup. Definition at line 388 of file animChannelMatrixXfmTable.cxx. References get_class_type(), BamReader::get_factory(), make_AnimChannelMatrixXfmTable(), and Factory< TypedWritable >::register_factory(). Referenced by ConfigureFn(). |
|
Definition at line 164 of file animChannelMatrixXfmTable.cxx. References AnimGroup::_root, _tables, AnimBundle::get_num_frames(), get_table_index(), num_frames, and table. |
|
Reimplemented from AnimGroup. Definition at line 188 of file animChannelMatrixXfmTable.cxx. References AnimGroup::_children, _tables, ConstPointerToArray< float >::empty(), Namable::get_name(), get_table_id(), get_type(), indent(), num_tables, ConstPointerToArray< float >::size(), and AnimGroup::write_descendants(). |
|
|
Initial value: { 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f } Definition at line 39 of file animChannelMatrixXfmTable.cxx. |
|
Initial value: { 'i', 'j', 'k', 'h', 'p', 'r', 'x', 'y', 'z' } Definition at line 35 of file animChannelMatrixXfmTable.cxx. |
|
Definition at line 64 of file animChannelMatrixXfmTable.h. Referenced by clear_all_tables(), fillin(), get_scale(), get_value(), get_value_no_scale(), has_changed(), set_table(), write(), and write_datagram(). |
|
Reimplemented from AnimChannel< ACMatrixSwitchType >. Definition at line 32 of file animChannelMatrixXfmTable.cxx. |