EggXfmAnimData

from panda3d.egg import EggXfmAnimData
class EggXfmAnimData

Bases: EggAnimData

Corresponding to an <Xfm$Anim> entry, this stores a two-dimensional table with up to nine columns, one for each component of a transformation. This is an older syntax of egg anim table, not often used currently–it’s replaced by EggXfmSAnim.

Inheritance diagram

Inheritance diagram of EggXfmAnimData

__init__(*args, **kwargs)
assign()

C++ Interface: assign(const EggXfmAnimData self, const EggXfmAnimData copy)

/**

*/

clearContents()

C++ Interface: clear_contents(const EggXfmAnimData self)

/**

*/

clearOrder()

C++ Interface: clear_order(const EggXfmAnimData self)

/**

*/

clear_contents()

C++ Interface: clear_contents(const EggXfmAnimData self)

/**

*/

clear_order()

C++ Interface: clear_order(const EggXfmAnimData self)

/**

*/

getClassType()

C++ Interface: get_class_type()

getContents()

C++ Interface: get_contents(EggXfmAnimData self)

/**

*/

getCoordinateSystem()

C++ Interface: get_coordinate_system(EggXfmAnimData self)

/**
  • Returns the coordinate system this table believes it is defined within.

  • This should always match the coordinate system of the EggData structure

  • that owns it. It is necessary to store it here because the meaning of the

  • h, p, and r columns depends on the coordinate system.

*/

getNumCols()

C++ Interface: get_num_cols(EggXfmAnimData self)

/**
  • Returns the number of columns in the table. This is set according to the

  • “contents” string, which defines the meaning of each column.

*/

getNumRows()

C++ Interface: get_num_rows(EggXfmAnimData self)

/**
  • Returns the number of rows in the table.

*/

getOrder()

C++ Interface: get_order(EggXfmAnimData self)

/**

*/

getStandardOrder()

C++ Interface: get_standard_order()

/**
  • Returns the standard order of matrix component composition. This is what

  • the order string must be set to in order to use set_value() or add_data()

  • successfully.

*/

getValue()

C++ Interface: get_value(EggXfmAnimData self, int row, LMatrix4d mat) get_value(EggXfmAnimData self, int row, int col)

/**
  • Returns the value at the indicated row. Row must be in the range 0 <= row

  • < get_num_rows(); col must be in the range 0 <= col < get_num_cols().

*/

/**
  • Returns the value of the aggregate row of the table as a matrix. This is a

  • convenience function that treats the 2-d table as if it were a single table

  • of matrices.

*/

get_class_type()

C++ Interface: get_class_type()

get_contents()

C++ Interface: get_contents(EggXfmAnimData self)

/**

*/

get_coordinate_system()

C++ Interface: get_coordinate_system(EggXfmAnimData self)

/**
  • Returns the coordinate system this table believes it is defined within.

  • This should always match the coordinate system of the EggData structure

  • that owns it. It is necessary to store it here because the meaning of the

  • h, p, and r columns depends on the coordinate system.

*/

get_num_cols()

C++ Interface: get_num_cols(EggXfmAnimData self)

/**
  • Returns the number of columns in the table. This is set according to the

  • “contents” string, which defines the meaning of each column.

*/

get_num_rows()

C++ Interface: get_num_rows(EggXfmAnimData self)

/**
  • Returns the number of rows in the table.

*/

get_order()

C++ Interface: get_order(EggXfmAnimData self)

/**

*/

get_standard_order()

C++ Interface: get_standard_order()

/**
  • Returns the standard order of matrix component composition. This is what

  • the order string must be set to in order to use set_value() or add_data()

  • successfully.

*/

get_value()

C++ Interface: get_value(EggXfmAnimData self, int row, LMatrix4d mat) get_value(EggXfmAnimData self, int row, int col)

/**
  • Returns the value at the indicated row. Row must be in the range 0 <= row

  • < get_num_rows(); col must be in the range 0 <= col < get_num_cols().

*/

/**
  • Returns the value of the aggregate row of the table as a matrix. This is a

  • convenience function that treats the 2-d table as if it were a single table

  • of matrices.

*/

hasContents()

C++ Interface: has_contents(EggXfmAnimData self)

/**

*/

hasOrder()

C++ Interface: has_order(EggXfmAnimData self)

/**

*/

has_contents()

C++ Interface: has_contents(EggXfmAnimData self)

/**

*/

has_order()

C++ Interface: has_order(EggXfmAnimData self)

/**

*/

setContents()

C++ Interface: set_contents(const EggXfmAnimData self, str contents)

/**

*/

setOrder()

C++ Interface: set_order(const EggXfmAnimData self, str order)

/**

*/

set_contents()

C++ Interface: set_contents(const EggXfmAnimData self, str contents)

/**

*/

set_order()

C++ Interface: set_order(const EggXfmAnimData self, str order)

/**

*/