pfScalar(3pf) OpenGL Performer 3.2.2 libpf C++ Reference Pages pfScalar(3pf)NAMEpfScalar - A scalar function
FUNCTION SPECIFICATION
#include <Performer/pf/pfScalar.h>
static pfType * pfScalar::getClassType(void);
pfReal pfScalar::eval(pfReal u) = 0;
PARENT CLASS FUNCTIONS
The OpenGL Performer class pfScalar is derived from the parent class
pfObject, so each of these member functions of class pfObject are also
directly usable with objects of class pfScalar. This is also true for
ancestor classes of class pfObject.
void* pfObject::operator new(size_t);
void* pfObject::operator new(size_t, pfFluxMemory *fmem);
void pfObject::setUserData(void *data);
void pfObject::setUserData(int slot, void *data);
void* pfObject::getUserData(pfObject *obj);
void* pfObject::getUserData(pfObject *obj, int slot);
int pfObject::getNumUserData();
Since the class pfObject is itself derived from the parent class
pfMemory, objects of class pfScalar can also be used with these functions
designed for objects of class pfMemory.
void* pfMemory::getData(const void *ptr);
pfType * pfMemory::getType();
int pfMemory::isOfType(pfType *type);
int pfMemory::isExactType(pfType *type);
const char * pfMemory::getTypeName();
int pfMemory::copy(pfMemory *src);
int pfMemory::compare(const pfMemory *mem);
void pfMemory::print(uint which, uint verbose, char *prefix,
FILE *file);
int pfMemory::getArena(void *ptr);
void* pfMemory::getArena();
int pfMemory::ref();
int pfMemory::unref();
int pfMemory::unrefDelete();
int pfMemory::unrefGetRef();
int pfMemory::getRef();
int pfMemory::checkDelete();
int pfMemory::isFluxed();
void * pfMemory::getArena();
int pfMemory::getSize();
Page 1
pfScalar(3pf) OpenGL Performer 3.2.2 libpf C++ Reference Pages pfScalar(3pf)DESCRIPTIONpfScalar is an abstract class that describes a scalar function: s =
s(u).
pfScalar::getClassType returns the pfType* for the class pfScalar. the
pfType* returned by pfScalar::getClassType is the same as the pfType*
returned by invoking the virtual function getType on any instance of
class pfScalar. Because OpenGL Performer allows subclassing of built-in
types, when decisions are made based on the type of an object, it is
usually better to use the member function isOfType to test if an object
is of a type derived from a Performer type rather than to test for strict
equality of the pfType*'s.
pfScalar::eval evaluator.
SEE ALSO
pfObject
Page 2