pfGetTessellateActionTriStripCount man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



pfTessellateAction(3pf)		OpenGL Performer 3.2.2 libpf C Reference Pages

NAME
     pfGetTessellateActionClassType, pfGetTessellateActionTriangleCount,
     pfGetTessellateActionTriStripCount, pfGetTessellateActionTriFanCount,
     pfTessellateActionReverseTrimLoop, pfGetTessellateActionReverseTrimLoop,
     pfTessellateActionBuildTopoWhileTess,
     pfGetTessellateActionBuildTopoWhileTess, pfTessellateActionTopo,
     pfGetTessellateActionTopo - Abstract class for surface tessellation.

FUNCTION SPECIFICATION
     #include <Performer/pf.h>

     pfType *	pfGetTessellateActionClassType(void);

     int	pfGetTessellateActionTriangleCount(pfTessellateAction* ta);

     int	pfGetTessellateActionTriStripCount(pfTessellateAction* ta);

     int	pfGetTessellateActionTriFanCount(pfTessellateAction* ta);

     void	pfTessellateActionReverseTrimLoop(pfTessellateAction* ta,
		  pfBool enable );

     pfBool	pfGetTessellateActionReverseTrimLoop(pfTessellateAction* ta);

     void	pfTessellateActionBuildTopoWhileTess(pfTessellateAction* ta,
		  pfBool buildTopoWhileTess);

     pfBool	-
		pfGetTessellateActionBuildTopoWhileTess(pfTessellateAction* ta);

     void	pfTessellateActionTopo(pfTessellateAction* ta, pfTopo *topo);

     pfTopo*	pfGetTessellateActionTopo(pfTessellateAction* ta);

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.  Casting
     an object of class pfTessellateAction to an object of class pfObject is
     taken care of automatically.  This is also true for casts to objects of
     ancestor classes of class pfObject.

     void	   pfUserDataSlot(pfObject *obj, int slot, void *data);
     void	   pfUserData(pfObject *obj, void *data);
     void*	   pfGetUserDataSlot(pfObject *obj, int slot);
     void*	   pfGetUserData(pfObject *obj);
     int	   pfGetNumUserData(pfObject *obj);
     int	   pfGetNamedUserDataSlot(const char *name);
     const char*   pfGetUserDataSlotName(int slot);
     int	   pfGetNumNamedUserDataSlots(void);

									Page 1

pfTessellateAction(3pf)		OpenGL Performer 3.2.2 libpf C Reference Pages

     int	   pfDeleteGLHandle(pfObject *obj);

     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.

     pfType *	    pfGetType(const void *ptr);
     int	    pfIsOfType(const void *ptr, pfType *type);
     int	    pfIsExactType(const void *ptr, pfType *type);
     const char *   pfGetTypeName(const void *ptr);
     int	    pfRef(void *ptr);
     int	    pfUnref(void *ptr);
     int	    pfUnrefDelete(void *ptr);
     int	    pfUnrefGetRef(void *ptr);
     int	    pfGetRef(const void *ptr);
     int	    pfCopy(void *dst, void *src);
     int	    pfDelete(void *ptr);
     int	    pfIsFluxed(void *ptr);
     int	    pfCompare(const void *ptr1, const void *ptr2);
     void	    pfPrint(const void *ptr, uint which, uint verbose,
		      FILE *file);
     void *	    pfGetArena(void *ptr);

DESCRIPTION
     pfTessellateAction 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.

     pfGetTessellateActionClassType returns the pfType* for the class
     pfTessellateAction. the pfType* returned by
     pfGetTessellateActionClassType is the same as the pfType* returned by
     invoking pfGetType 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
     pfIsOfType 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.

     pfGetTessellateActionTriStripCount returns the number of triangles
     generated by this tessellator.

     pfGetTessellateActionFanCount returns the trianle strip count.

     pfTesspfTessellateActionReverseTrimLoop returns the trianle fan count.

     pfGetTessellateActionReverseTrimLoop sets tessellation loop reveresal
     flag reverseTrimLoop. If set to true, all the trim loops will be

									Page 2

pfTessellateAction(3pf)		OpenGL Performer 3.2.2 libpf C Reference Pages

     reversed.

     pfTessepfTessellateActionBuildTopoWhileTess returns member
     reverseTrimLoop.

     pfGetTessellateActionBuildTopoWhileTess sets member buildTopoWhileTess.

     pfTessepfTessellateActionSetTopo returns member buildTopoWhileTess. sets
     the topology (pfTopo) which is used for holding the surfaces and
     boundaries when the tessellator needs to invoke topology building (by
     calling setBuildTopoWhileTess to set buildTopoWhileTess to be true).

     pfGetTessellateActionTopo 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

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net