27class EXPCL_PANDA_EGG EggTable :
public EggGroupNode {
35 INLINE
explicit EggTable(
const std::string &name =
"");
36 INLINE EggTable(
const EggTable ©);
37 INLINE EggTable &operator = (
const EggTable ©);
39 INLINE
void set_table_type(TableType type);
40 INLINE TableType get_table_type()
const;
43 virtual void write(std::ostream &out,
int indent_level)
const;
48 virtual void r_transform(
const LMatrix4d &mat,
const LMatrix4d &inv,
49 CoordinateSystem to_cs);
60 static void init_type() {
61 EggGroupNode::init_type();
63 EggGroupNode::get_class_type());
66 return get_class_type();
68 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
74std::ostream &operator << (std::ostream &out, EggTable::TableType t);
virtual void write(std::ostream &out, int indent_level) const
Writes the group and all of its children to the indicated output stream in Egg format.
static TableType string_table_type(const std::string &string)
Returns the TableType value associated with the given string representation, or TT_invalid if the str...
bool has_transform() const
Returns true if the table contains a transform description, false otherwise.
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(),...