Panda3D
|
Abstract class from which all other functions should inherit. More...
#include "colorInterpolationManager.h"
Public Member Functions | |
ColorInterpolationFunction () | |
constructor | |
virtual | ~ColorInterpolationFunction () |
destructor | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
virtual LColor | interpolate (const PN_stdfloat t=0) const =0 |
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. |
Abstract class from which all other functions should inherit.
Defines the virtual interpolate() function.
Definition at line 30 of file colorInterpolationManager.h.
ColorInterpolationFunction::ColorInterpolationFunction | ( | ) |
constructor
Definition at line 30 of file colorInterpolationManager.cxx.
ColorInterpolationFunction::~ColorInterpolationFunction | ( | ) | [virtual] |
destructor
Definition at line 40 of file colorInterpolationManager.cxx.
static void ColorInterpolationFunction::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 TypedReferenceCount.
Reimplemented in ColorInterpolationFunctionConstant, ColorInterpolationFunctionLinear, ColorInterpolationFunctionStepwave, and ColorInterpolationFunctionSinusoid.
Definition at line 45 of file colorInterpolationManager.h.