15 #ifndef EGGXFMANIMDATA_H 16 #define EGGXFMANIMDATA_H 18 #include "pandabase.h" 20 #include "eggAnimData.h" 21 #include "eggXfmSAnim.h" 35 CoordinateSystem cs = CS_default);
38 INLINE EggXfmAnimData(
const EggXfmAnimData ©);
39 INLINE EggXfmAnimData &operator = (
const EggXfmAnimData ©);
41 INLINE
void set_order(
const string &order);
42 INLINE
void clear_order();
43 INLINE
bool has_order()
const;
44 INLINE
const string &get_order()
const;
45 INLINE
static const string &get_standard_order();
47 INLINE
void set_contents(
const string &contents);
48 INLINE
void clear_contents();
49 INLINE
bool has_contents()
const;
50 INLINE
const string &get_contents()
const;
52 INLINE CoordinateSystem get_coordinate_system()
const;
54 INLINE
int get_num_rows()
const;
55 INLINE
int get_num_cols()
const;
56 INLINE
double get_value(
int row,
int col)
const;
58 void get_value(
int row,
LMatrix4d &mat)
const;
61 virtual void write(ostream &out,
int indent_level)
const;
65 CoordinateSystem to_cs);
66 virtual void r_mark_coordsys(CoordinateSystem cs);
71 CoordinateSystem _coordsys;
78 static void init_type() {
79 EggAnimData::init_type();
80 register_type(_type_handle,
"EggXfmAnimData",
81 EggAnimData::get_class_type());
84 return get_class_type();
86 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
92 #include "eggXfmAnimData.I" This is a 4-by-4 transform matrix.
virtual bool is_anim_matrix() const
Returns true if this node represents a table of animation transformation data, false otherwise...
This corresponds to an <Xfm$Anim_S$> entry, which is a collection of up to nine <S$Anim> entries that...
A base class for EggSAnimData and EggXfmAnimData, which contain rows and columns of numbers...
Corresponding to an <Xfm$Anim> entry, this stores a two-dimensional table with up to nine columns...
TypeHandle is the identifier used to differentiate C++ class types.