#include <eggJointPointer.h>
Inheritance diagram for EggJointPointer:
Public Member Functions | |
virtual int | get_num_frames () const=0 |
virtual LMatrix4d | get_frame (int n) const=0 |
virtual void | set_frame (int n, const LMatrix4d &mat)=0 |
virtual bool | add_frame (const LMatrix4d &mat) |
Appends a new frame onto the end of the data, if possible; returns true if not possible, or false otherwise (e.g. | |
void | begin_rebuild () |
Resets the set of rebuild frames in preparation for rebuilding the complete table of frames. | |
virtual bool | add_rebuild_frame (const LMatrix4d &mat) |
Adds a new frame to the set of rebuild frames. | |
virtual bool | do_rebuild () |
Rebuilds the entire table all at once, based on the frames added by repeated calls to add_rebuild_frame() since the last call to begin_rebuild(). | |
virtual void | optimize () |
Resets the table before writing to disk so that redundant rows (e.g. | |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
int | get_type_index () const |
bool | is_of_type (TypeHandle handle) const |
bool | is_exact_type (TypeHandle handle) const |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Protected Types | |
typedef pvector< LMatrix4d > | RebuildFrames |
Protected Attributes | |
RebuildFrames | _rebuild_frames |
Static Private Attributes | |
TypeHandle | _type_handle |
It stores a back pointer to either a entry or an xform
Definition at line 48 of file eggJointPointer.h.
|
Definition at line 62 of file eggJointPointer.h. |
|
Appends a new frame onto the end of the data, if possible; returns true if not possible, or false otherwise (e.g. for a static joint). Reimplemented in EggMatrixTablePointer. Definition at line 41 of file eggJointPointer.cxx. References _rebuild_frames. |
|
Adds a new frame to the set of rebuild frames. See begin_rebuild() and do_rebuild(). Returns true if this is valid, false otherwise (e.g. adding multiple frames to a static joint). Reimplemented in EggJointNodePointer. Definition at line 83 of file eggJointPointer.cxx. Referenced by EggJointNodePointer::get_frame(). |
|
Resets the set of rebuild frames in preparation for rebuilding the complete table of frames. Repeated calls to add_rebuild_frame() will build up the frames without changing the values returned by get_frame(); the table will eventually be updated when do_rebuild is called. Definition at line 64 of file eggJointPointer.cxx. |
|
Rebuilds the entire table all at once, based on the frames added by repeated calls to add_rebuild_frame() since the last call to begin_rebuild(). Until do_rebuild() is called, the animation table is not changed. The return value is true if all frames are acceptable, or false if there is some problem. Reimplemented in EggJointNodePointer, and EggMatrixTablePointer. Definition at line 113 of file eggJointPointer.cxx. |
|
Reimplemented from EggBackPointer. Reimplemented in EggJointNodePointer, and EggMatrixTablePointer. Definition at line 77 of file eggJointPointer.h. |
|
Reimplemented from EggBackPointer. Reimplemented in EggJointNodePointer, and EggMatrixTablePointer. Definition at line 66 of file eggJointPointer.h. References init_type(). |
|
Implemented in EggJointNodePointer, and EggMatrixTablePointer. Referenced by EggJointData::get_num_frames(). |
|
Implemented in EggJointNodePointer, and EggMatrixTablePointer. |
|
Reimplemented from EggBackPointer. Reimplemented in EggJointNodePointer, and EggMatrixTablePointer. Definition at line 74 of file eggJointPointer.h. |
|
Reimplemented from EggBackPointer. Reimplemented in EggJointNodePointer, and EggMatrixTablePointer. Definition at line 69 of file eggJointPointer.h. References _type_handle. Referenced by ConfigureFn(), and get_class_type(). |
|
Resets the table before writing to disk so that redundant rows (e.g. i { 1 1 1 1 1 1 1 1 }) are collapsed out. Reimplemented in EggMatrixTablePointer. Definition at line 134 of file eggJointPointer.cxx. Referenced by EggJointData::do_rebuild(). |
|
Implemented in EggJointNodePointer, and EggMatrixTablePointer. |
|
Definition at line 63 of file eggJointPointer.h. Referenced by EggMatrixTablePointer::add_frame(), add_frame(), EggJointNodePointer::get_frame(), and EggJointNodePointer::set_frame(). |
|
Reimplemented from EggBackPointer. Reimplemented in EggJointNodePointer, and EggMatrixTablePointer. Definition at line 25 of file eggJointPointer.cxx. Referenced by init_type(). |