17 INLINE EggXfmAnimData::
18 EggXfmAnimData(
const std::string &name, CoordinateSystem cs) :
EggAnimData(name) {
26 INLINE EggXfmAnimData::
30 _contents(copy._contents),
31 _coordsys(copy._coordsys) {
40 EggAnimData::operator = (copy);
42 _contents = copy._contents;
43 _coordsys = copy._coordsys;
52 INLINE
void EggXfmAnimData::
53 set_order(
const std::string &order) {
60 INLINE
void EggXfmAnimData::
68 INLINE
bool EggXfmAnimData::
70 return !_order.empty();
76 INLINE
const std::string &EggXfmAnimData::
99 INLINE
void EggXfmAnimData::
100 set_contents(
const std::string &contents) {
101 _contents = contents;
107 INLINE
void EggXfmAnimData::
115 INLINE
bool EggXfmAnimData::
116 has_contents()
const {
117 return !_contents.empty();
123 INLINE
const std::string &EggXfmAnimData::
124 get_contents()
const {
157 return _contents.length();
int get_num_cols() const
Returns the number of columns in the table.
int get_num_rows() const
Returns the number of rows in the table.
CoordinateSystem get_coordinate_system() const
Returns the coordinate system this table believes it is defined within.
int get_size() const
Returns the number of elements in the table.
static const std::string & get_standard_order()
Returns the standard order of matrix component composition.
double get_value(int row, int col) const
Returns the value at the indicated row.
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,...
static const std::string & get_standard_order()
Returns the standard order of matrix component composition.