pfTessellateAction(3pf) OpenGL Performer 3.2.2 libpf C++ Reference Pages
NAMEpfTessellateAction - Abstract class for surface tessellation.
FUNCTION SPECIFICATION
#include <Performer/pf/pfTessellateAction.h>
static pfType * pfTessellateAction::getClassType(void);
int pfTessellateAction::getTriStripCount();
int pfTessellateAction::getTriFanCount();
void pfTessellateAction::setReverseTrimLoop(pfBool enable);
pfBool pfTessellateAction::getReverseTrimLoop();
void -
pfTessellateAction::setBuildTopoWhileTess(pfBool buildTopoWhileTess);
pfBool pfTessellateAction::getBuildTopoWhileTess();
void pfTessellateAction::setTopo(pfTopo *topo);
pfTopo * pfTessellateAction::getTopo();
PARENT CLASS FUNCTIONS
The OpenGL Performer class pfTessellateAction is derived from the parent
class pfObject, so each of these member functions of class pfObject are
also directly usable with objects of class pfTessellateAction. 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 pfTessellateAction 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);
Page 1
pfTessellateAction(3pf) OpenGL Performer 3.2.2 libpf C++ Reference Pages
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();
DESCRIPTIONpfTessellateAction is an abstract class for surface tessellation.
The tessellator can invoke topology construction (pfTopo) during
tessellation by setting the flag buildTopoWhileTess.
The utility library libfpdu also contains functions which aid in invoking
these routines, see pfdTessellateGeometry pfdClearTessellation and
pfdBuildTopologyTraverse for more information.
pfTessellateAction::getClassType returns the pfType* for the class
pfTessellateAction. the pfType* returned by
pfTessellateAction::getClassType is the same as the pfType* returned by
invoking the virtual function getType on any instance of class
pfTessellateAction. 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.
pfTessellateAction::getTriStripCount returns the number of triangles
generated by this tessellator.
pfTessellateAction::getTriFanCount returns the trianle strip count.
pfTessellateAction::setReverseTrimLoop returns the trianle fan count.
pfTessellateAction::getReverseTrimLoop sets tessellation loop reveresal
flag reverseTrimLoop. If set to true, all the trim loops will be
reversed.
pfTessellateAction::setBuildTopoWhileTess returns member reverseTrimLoop.
pfTessellateAction::getBuildTopoWhileTess sets member buildTopoWhileTess.
pfTessellateAction::setTopo returns member buildTopoWhileTess. sets the
topology (pfTopo) which is used for holding the surfaces and boundaries
Page 2
pfTessellateAction(3pf) OpenGL Performer 3.2.2 libpf C++ Reference Pages
when the tessellator needs to invoke topology building (by calling
setBuildTopoWhileTess to set buildTopoWhileTess to be true).
pfTopo *pfTessellateAction::getTopo returns a pointer to the topology (-
pfTopo) that is used for holding the surfaces and the boundaries when the
tessellator invokes topology building.
SEE ALSO
pfTopo, pfParaSurface, pfdTessellateGeometry, pfdClearTessellation,
pfdBuildTopologyTraverse
Page 3