15 #ifndef EGGSCALARTABLEPOINTER_H 16 #define EGGSCALARTABLEPOINTER_H 18 #include "pandatoolbase.h" 20 #include "eggSliderPointer.h" 22 #include "eggSAnimData.h" 23 #include "pointerTo.h" 41 virtual void set_name(
const string &name);
50 static void init_type() {
51 EggSliderPointer::init_type();
52 register_type(_type_handle,
"EggScalarTablePointer",
53 EggSliderPointer::get_class_type());
56 return get_class_type();
58 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
virtual void extend_to(int num_frames)
Extends the table to the indicated number of frames.
This stores a pointer back to an EggSAnimData table (i.e.
Corresponding to an <S$Anim> entry, this stores a single column of numbers, for instance for a morph ...
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 a base class for EggVertexPointer and EggScalarTablePointer.
virtual double get_frame(int n) const
Returns the value corresponding to this slider position in the nth frame.
virtual int get_num_frames() const
Returns the number of frames of animation for this particular slider.
TypeHandle is the identifier used to differentiate C++ class types.
The highest-level base class in the egg directory.