Panda3D
Public Member Functions | Static Public Member Functions

EggMorph< Parameter > Class Template Reference

A single <Dxyz> or <Duv> or some such entry. More...

#include "eggMorph.h"

Inheritance diagram for EggMorph< Parameter >:
Namable

List of all members.

Public Member Functions

 EggMorph (const string &name, const Parameter &offset)
void clear_name ()
 Resets the Namable's name to empty.
int compare_to (const EggMorph< Parameter > &other, double threshold) const
 compare_to() compares a different space than the operator methods, which only check the name.
const string & get_name () const
const Parameter & get_offset () const
bool has_name () const
 Returns true if the Namable has a nonempty name set, false if the name is empty.
bool operator!= (const EggMorph< Parameter > &other) const
bool operator< (const EggMorph< Parameter > &other) const
bool operator== (const EggMorph< Parameter > &other) const
void output (ostream &out) const
 Outputs the Namable.
void output (ostream &out, const string &tag, int num_dimensions) const
void set_name (const string &name)
void set_offset (const Parameter &offset)

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Detailed Description

template<class Parameter>
class EggMorph< Parameter >

A single <Dxyz> or <Duv> or some such entry.

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 33 of file eggMorph.h.


Member Function Documentation

void Namable::clear_name ( ) [inline, inherited]

Resets the Namable's name to empty.

Reimplemented in AsyncTask.

Definition at line 64 of file namable.I.

template<class Parameter >
int EggMorph< Parameter >::compare_to ( const EggMorph< Parameter > &  other,
double  threshold 
) const [inline]

compare_to() compares a different space than the operator methods, which only check the name.

compare_to() compares the name and the value as well.

Definition at line 96 of file eggMorph.I.

bool Namable::has_name ( ) const [inline, inherited]
void Namable::output ( ostream &  out) const [inline, inherited]

The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations