Panda3D
|
This stores a pointer back to a <Vertex>, or to a particular pritimive like a <Polygon>, representing a morph offset. More...
#include "eggVertexPointer.h"
Public Member Functions | |
EggVertexPointer (EggObject *egg_object) | |
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 int | get_num_frames () const |
Returns the number of frames of animation for this particular slider. | |
virtual TypeHandle | get_type () const |
virtual bool | has_vertices () const |
Returns true if there are any vertices referenced by the node this points to, false otherwise. | |
Static Public Member Functions | |
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. |
This stores a pointer back to a <Vertex>, or to a particular pritimive like a <Polygon>, representing a morph offset.
Definition at line 31 of file eggVertexPointer.h.
double EggVertexPointer::get_frame | ( | int | n | ) | const [virtual] |
Returns the value corresponding to this slider position in the nth frame.
Implements EggSliderPointer.
Definition at line 47 of file eggVertexPointer.cxx.
int EggVertexPointer::get_num_frames | ( | ) | const [virtual] |
Returns the number of frames of animation for this particular slider.
Implements EggSliderPointer.
Definition at line 36 of file eggVertexPointer.cxx.
bool EggVertexPointer::has_vertices | ( | ) | const [virtual] |
Returns true if there are any vertices referenced by the node this points to, false otherwise.
For certain kinds of back pointers (e.g. table animation entries), this is always false.
Reimplemented from EggBackPointer.
Definition at line 61 of file eggVertexPointer.cxx.
static void EggVertexPointer::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from EggSliderPointer.
Definition at line 44 of file eggVertexPointer.h.