20 EggAnimData(
const std::string &name) :
EggNode(name) {
30 EggNode(copy), _data(copy._data),
31 _fps(copy._fps), _has_fps(copy._has_fps) {
40 EggNode::operator = (copy);
43 _has_fps = copy._has_fps;
52 INLINE
void EggAnimData::
62 INLINE
void EggAnimData::
70 INLINE
bool EggAnimData::
80 nassertr(has_fps(), 0.0);
98 _data.push_back(value);
void add_data(double value)
Adds a single element to the table.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
int get_size() const
Returns the number of elements in the table.
PTA_double get_data() const
Returns the entire table of data.
void clear_data()
Removes all data and empties the table.
void set_data(const PTA_double &data)
Replaces the entire table of data.
double get_fps() const
This is only valid if has_fps() returns true.
A base class for EggSAnimData and EggXfmAnimData, which contain rows and columns of numbers.
A base class for things that may be directly added into the egg hierarchy.