14 #ifndef EGGBACKPOINTER_H 15 #define EGGBACKPOINTER_H 36 virtual int get_num_frames()
const=0;
40 virtual void set_name(
const std::string &name);
46 static void init_type() {
49 TypedObject::get_class_type());
52 return get_class_type();
54 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
virtual void set_name(const std::string &name)
Applies the indicated name change to the egg file.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
virtual bool has_vertices() const
Returns true if there are any vertices referenced by the node this points to, false otherwise.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual double get_frame_rate() const
Returns the stated frame rate of this particular joint, or 0.0 if it doesn't state.
virtual void extend_to(int num_frames)
Extends the table to the indicated number of frames.
TypeHandle is the identifier used to differentiate C++ class types.
This stores a pointer from an EggJointData or EggSliderData object back to the referencing data in an...