#include <eggMorph.h>
Inheritance diagram for EggMorph< Parameter >:
Public Member Functions | |
EggMorph (const string &name, const Parameter &offset) | |
void | set_offset (const Parameter &offset) |
const Parameter & | get_offset () const |
bool | operator< (const EggMorph< Parameter > &other) const |
bool | operator== (const EggMorph< Parameter > &other) const |
bool | operator!= (const EggMorph< Parameter > &other) const |
void | set_name (const string &name) |
void | clear_name () |
Resets the Namable's name to empty. | |
bool | has_name () const |
Returns true if the Namable has a nonempty name set, false if the name is empty. | |
const string & | get_name () const |
void | output (ostream &out) const |
Outputs the Namable. | |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Private Attributes | |
Parameter | _offset |
This simply contains the morph name and the offset value. The class EggMorph is actually a template class on the type of value that is being offset; the specific kinds of morphs are instantiated from this below.
Definition at line 47 of file eggMorph.h.
|
Definition at line 32 of file eggMorph.I. References EggMorph< Parameter >::_offset, and INLINE. |
|
Resets the Namable's name to empty.
Definition at line 82 of file namable.I. References Namable::_name, and INLINE. |
|
|
|
Definition at line 61 of file eggMorph.I. References Namable::get_name(), and INLINE. Referenced by ComputedVerticesMaker::add_normal(), and operator<<(). |
|
Returns true if the Namable has a nonempty name set, false if the name is empty.
Definition at line 97 of file namable.I. References Namable::get_name(), and INLINE. Referenced by EggGroupUniquifier::EggGroupUniquifier(), Texture::read(), and Texture::Texture(). |
|
|
Definition at line 102 of file eggMorph.I. |
|
Definition at line 75 of file eggMorph.I. References Namable::get_name(), and INLINE. |
|
Definition at line 89 of file eggMorph.I. |
|
Outputs the Namable. This function simply writes the name to the output stream; most Namable derivatives will probably redefine this. Reimplemented in BuilderBucket, AnimBundle, AnimChannelBase, AnimChannelFixed< SwitchType >, AnimGroup, PartBundle, CollisionNode, ButtonNode, HermiteCurve, RopeNode, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, PandaNode, PlaneNode, MouseWatcher, and MouseWatcherRegion. |
|
Definition at line 69 of file namable.I. References Namable::_name. Referenced by BuilderBucket::BuilderBucket(), SceneGraphReducer::do_flatten_siblings(), Texture::read(), PandaNode::reparent(), and Texture::Texture(). |
|
Definition at line 47 of file eggMorph.I. References EggMorph< Parameter >::_offset, and INLINE. |
|
Definition at line 58 of file eggMorph.h. Referenced by EggMorph< Parameter >::EggMorph(), and EggMorph< Parameter >::set_offset(). |