Panda3D
Classes | Public Types | Public Member Functions | Public Attributes

XFileAnimationSet Class Reference

This represents a tree of EggTables, corresponding to Animation entries in the X file. More...

#include "xFileAnimationSet.h"

Inheritance diagram for XFileAnimationSet:
Namable MemoryBase

List of all members.

Classes

class  FrameData
class  FrameEntry
class  TablePair

Public Types

enum  FrameDataFlags { FDF_scale = 0x01, FDF_rot = 0x02, FDF_trans = 0x04, FDF_mat = 0x08 }
typedef epvector< FrameEntryFrameEntries

Public Member Functions

FrameDatacreate_frame_data (const string &joint_name)
 Returns a reference to a new FrameData table corresponding to the indicated joint.
bool create_hierarchy (XFileToEggConverter *converter)
 Sets up the hierarchy of EggTables corresponding to this AnimationSet.
EggXfmSAnimget_table (const string &joint_name) const
 Returns the table associated with the indicated joint name.

Public Attributes

double _frame_rate

Detailed Description

This represents a tree of EggTables, corresponding to Animation entries in the X file.

There is one EggTable for each joint in the character's joint set, and the whole tree is structured as a mirror of the joint set.

Definition at line 37 of file xFileAnimationSet.h.


Member Function Documentation

XFileAnimationSet::FrameData & XFileAnimationSet::create_frame_data ( const string &  joint_name)

Returns a reference to a new FrameData table corresponding to the indicated joint.

Definition at line 128 of file xFileAnimationSet.cxx.

bool XFileAnimationSet::create_hierarchy ( XFileToEggConverter converter)
EggXfmSAnim * XFileAnimationSet::get_table ( const string &  joint_name) const

Returns the table associated with the indicated joint name.

Definition at line 112 of file xFileAnimationSet.cxx.

Referenced by create_hierarchy().


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