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. More... | |
virtual int | get_num_frames () const |
Returns the number of frames of animation for this particular slider. More... | |
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. More... | |
Public Member Functions inherited from EggBackPointer | |
virtual void | extend_to (int num_frames) |
Extends the table to the indicated number of frames. More... | |
virtual double | get_frame_rate () const |
Returns the stated frame rate of this particular joint, or 0.0 if it doesn't state. More... | |
virtual void | set_name (const std::string &name) |
Applies the indicated name change to the egg file. More... | |
Public Member Functions inherited from TypedObject | |
TypedObject (const TypedObject ©)=default | |
TypedObject * | as_typed_object () |
Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
const TypedObject * | as_typed_object () const |
Returns the object, upcast (if necessary) to a TypedObject pointer. More... | |
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. More... | |
bool | is_exact_type (TypeHandle handle) const |
Returns true if the current object is the indicated type exactly. More... | |
bool | is_of_type (TypeHandle handle) const |
Returns true if the current object is or derives from the indicated type. More... | |
TypedObject & | operator= (const TypedObject ©)=default |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Static Public Member Functions inherited from EggSliderPointer | |
static TypeHandle | get_class_type () |
static void | init_type () |
Static Public Member Functions inherited from EggBackPointer | |
static TypeHandle | get_class_type () |
static void | init_type () |
Static Public Member Functions inherited from TypedObject | |
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. More... | |
Additional Inherited Members | |
Public Attributes inherited from TypedObject | |
get_type | |
This stores a pointer back to a <Vertex>, or to a particular pritimive like a <Polygon>, representing a morph offset.
Definition at line 28 of file eggVertexPointer.h.
|
virtual |
Returns the value corresponding to this slider position in the nth frame.
Implements EggSliderPointer.
Definition at line 38 of file eggVertexPointer.cxx.
|
virtual |
Returns the number of frames of animation for this particular slider.
Implements EggSliderPointer.
Definition at line 30 of file eggVertexPointer.cxx.
|
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 49 of file eggVertexPointer.cxx.