A base class for EggSAnimData and EggXfmAnimData, which contain rows and columns of numbers.
More...
#include "eggAnimData.h"
List of all members.
Public Member Functions |
|
| EggAnimData (const string &name="") |
|
| EggAnimData (const EggAnimData ©) |
| void | add_data (double value) |
| | Adds a single element to the table.
|
| void | clear_data () |
| | Removes all data and empties the table.
|
|
void | clear_fps () |
|
virtual TypeHandle | force_init_type () |
| PTA_double | get_data () const |
| | Returns the entire table of data.
|
| double | get_fps () const |
| | This is only valid if has_fps() returns true.
|
| int | get_size () const |
| | Returns the number of elements in the table.
|
|
virtual TypeHandle | get_type () const |
|
bool | has_fps () const |
|
EggAnimData & | operator= (const EggAnimData ©) |
| void | quantize (double quantum) |
| | Rounds each element of the table to the nearest multiple of quantum.
|
| void | set_data (const PTA_double &data) |
| | Replaces the entire table of data.
|
|
void | set_fps (double type) |
Static Public Member Functions |
|
static TypeHandle | get_class_type () |
| static void | init_type () |
| | This function is declared non-inline to work around a compiler bug in g++ 2.96.
|
Protected Attributes |
|
PTA_double | _data |
Detailed Description
A base class for EggSAnimData and EggXfmAnimData, which contain rows and columns of numbers.
Definition at line 32 of file eggAnimData.h.
Member Function Documentation
| void EggAnimData::add_data |
( |
double |
value | ) |
[inline] |
| void EggAnimData::clear_data |
( |
| ) |
[inline] |
Removes all data and empties the table.
Definition at line 106 of file eggAnimData.I.
| PTA_double EggAnimData::get_data |
( |
| ) |
const [inline] |
| double EggAnimData::get_fps |
( |
| ) |
const [inline] |
| int EggAnimData::get_size |
( |
| ) |
const [inline] |
| static void EggAnimData::init_type |
( |
| ) |
[inline, static] |
| void EggAnimData::quantize |
( |
double |
quantum | ) |
|
| void EggAnimData::set_data |
( |
const PTA_double & |
data | ) |
[inline] |
Replaces the entire table of data.
Definition at line 150 of file eggAnimData.I.
The documentation for this class was generated from the following files: