14 #ifndef EGGSCALARTABLEPOINTER_H 15 #define EGGSCALARTABLEPOINTER_H 38 virtual void set_name(
const std::string &name);
47 static void init_type() {
48 EggSliderPointer::init_type();
50 EggSliderPointer::get_class_type());
53 return get_class_type();
55 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
virtual void set_name(const std::string &name)
Applies the indicated name change to the egg file.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
Corresponding to an <S$Anim> entry, this stores a single column of numbers, for instance for a morph ...
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
The highest-level base class in the egg directory.