Panda3D
|
This stores a pointer back to an EggSAnimData table (i.e. More...
#include "eggScalarTablePointer.h"
Public Member Functions | |
EggScalarTablePointer (EggObject *object) | |
virtual void | extend_to (int num_frames) |
Extends the table to the indicated number of frames. | |
virtual TypeHandle | force_init_type () |
virtual double | get_frame (int n) const |
Returns the value corresponding to this slider position in the nth frame. | |
virtual double | get_frame_rate () const |
Returns the stated frame rate of this particular joint, or 0.0 if it doesn't state. | |
virtual int | get_num_frames () const |
Returns the number of frames of animation for this particular slider. | |
virtual TypeHandle | get_type () const |
virtual void | set_name (const std::string &name) |
Applies the indicated name change to the egg file. | |
![]() | |
virtual bool | has_vertices () const |
Returns true if there are any vertices referenced by the node this points to, false otherwise. | |
![]() | |
TypedObject (const TypedObject ©)=default | |
TypedObject * | as_typed_object () |
Returns the object, upcast (if necessary) to a TypedObject pointer. | |
const TypedObject * | as_typed_object () const |
Returns the object, upcast (if necessary) to a TypedObject pointer. | |
int | get_best_parent_from_Set (const std::set< int > &) const |
int | get_type_index () const |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. | |
bool | is_exact_type (TypeHandle handle) const |
Returns true if the current object is the indicated type exactly. | |
bool | is_of_type (TypeHandle handle) const |
Returns true if the current object is or derives from the indicated type. | |
TypedObject & | operator= (const TypedObject ©)=default |
![]() | |
void | operator delete (void *, void *) |
void | operator delete (void *ptr) |
void | operator delete[] (void *, void *) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t size) |
void * | operator new (size_t size, void *ptr) |
void * | operator new[] (size_t size) |
void * | operator new[] (size_t size, void *ptr) |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
![]() | |
static TypeHandle | get_class_type () |
static void | init_type () |
![]() | |
static TypeHandle | get_class_type () |
static void | init_type () |
![]() | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Additional Inherited Members | |
![]() | |
get_type | |
This stores a pointer back to an EggSAnimData table (i.e.
an entry in an egg file), corresponding to the animation data from a single bundle for this slider.
Definition at line 29 of file eggScalarTablePointer.h.
EggScalarTablePointer::EggScalarTablePointer | ( | EggObject * | object | ) |
Definition at line 23 of file eggScalarTablePointer.cxx.
|
virtual |
Extends the table to the indicated number of frames.
Reimplemented from EggBackPointer.
Definition at line 56 of file eggScalarTablePointer.cxx.
|
inlinevirtual |
Reimplemented from EggSliderPointer.
Definition at line 55 of file eggScalarTablePointer.h.
|
inlinestatic |
Definition at line 44 of file eggScalarTablePointer.h.
|
virtual |
Returns the value corresponding to this slider position in the nth frame.
Implements EggSliderPointer.
Definition at line 76 of file eggScalarTablePointer.cxx.
References get_num_frames().
|
virtual |
Returns the stated frame rate of this particular joint, or 0.0 if it doesn't state.
Reimplemented from EggBackPointer.
Definition at line 32 of file eggScalarTablePointer.cxx.
|
virtual |
Returns the number of frames of animation for this particular slider.
Implements EggSliderPointer.
Definition at line 44 of file eggScalarTablePointer.cxx.
Referenced by get_frame().
|
inlinevirtual |
Reimplemented from EggSliderPointer.
Definition at line 52 of file eggScalarTablePointer.h.
|
inlinestatic |
Definition at line 47 of file eggScalarTablePointer.h.
|
virtual |
Applies the indicated name change to the egg file.
Reimplemented from EggBackPointer.
Definition at line 91 of file eggScalarTablePointer.cxx.