25class EXPCL_PANDA_EGG EggSAnimData :
public EggAnimData {
27 INLINE
explicit EggSAnimData(
const std::string &name =
"");
28 INLINE EggSAnimData(
const EggSAnimData ©);
29 INLINE EggSAnimData &operator = (
const EggSAnimData ©);
33 INLINE
void set_value(
int row,
double value);
37 virtual void write(std::ostream &out,
int indent_level)
const;
44 static void init_type() {
45 EggAnimData::init_type();
47 EggAnimData::get_class_type());
50 return get_class_type();
52 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
double get_value(int row) const
Returns the value at the indicated row.
void optimize()
Optimizes the data by collapsing a long table of duplicate values into a single value.
int get_num_rows() const
Returns the number of rows in the table.
virtual void write(std::ostream &out, int indent_level) const
Writes the data to the indicated output stream in Egg format.
void set_value(int row, double value)
Changes the value at the indicated row.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...