15 #ifndef EGGBACKPOINTER_H
16 #define EGGBACKPOINTER_H
18 #include "pandatoolbase.h"
20 #include "typedObject.h"
40 virtual int get_num_frames()
const=0;
44 virtual void set_name(
const string &name);
50 static void init_type() {
52 register_type(_type_handle,
"EggBackPointer",
53 TypedObject::get_class_type());
56 return get_class_type();
58 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.
virtual void set_name(const string &name)
Applies the indicated name change to the egg file.
virtual double get_frame_rate() const
Returns the stated frame rate of this particular joint, or 0.0 if it doesn't state.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
virtual void extend_to(int num_frames)
Extends the table to the indicated number of frames.
virtual bool has_vertices() const
Returns true if there are any vertices referenced by the node this points to, false otherwise...
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...