Panda3D
Public Member Functions | Static Public Member Functions

ColorInterpolationFunction Class Reference

Abstract class from which all other functions should inherit. More...

#include "colorInterpolationManager.h"

Inheritance diagram for ColorInterpolationFunction:
TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase ColorInterpolationFunctionConstant ColorInterpolationFunctionLinear ColorInterpolationFunctionSinusoid ColorInterpolationFunctionStepwave

List of all members.

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.

Detailed Description

Abstract class from which all other functions should inherit.

Defines the virtual interpolate() function.

Definition at line 30 of file colorInterpolationManager.h.


Constructor & Destructor Documentation

ColorInterpolationFunction::ColorInterpolationFunction ( )

constructor

Definition at line 30 of file colorInterpolationManager.cxx.

ColorInterpolationFunction::~ColorInterpolationFunction ( ) [virtual]

destructor

Definition at line 40 of file colorInterpolationManager.cxx.


Member Function Documentation

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.


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