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