pfSimpleDrawAction man page on IRIX

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



pfSimpleDrawAction(3pf)	     OpenGL Performer 3.2.2 libpfx C++ Reference Pages

NAME
     pfSimpleDrawAction - Simplest draw action which clears channel and allows
     user to toggle stats and set draw style

FUNCTION SPECIFICATION
     #include <Performer/pfx/pfSimpleDrawAction.h>

		      pfSimpleDrawAction::pfSimpleDrawAction();

     static pfType*   pfSimpleDrawAction::getClassType(void);

     virtual void     pfSimpleDrawAction::preDraw(pfChannel *, pfViewer *);

     virtual void     pfSimpleDrawAction::postDraw(pfChannel *, pfViewer *);

     void	      pfSimpleDrawAction::setDrawStyle(int drawStyle);

     int	      pfSimpleDrawAction::getDrawStyle();

     void	      pfSimpleDrawAction::setDrawStatsStatus(int onOrOff);

     int	      pfSimpleDrawAction::getDrawStatsStatus();

PARENT CLASS FUNCTIONS
     The OpenGL Performer class pfSimpleDrawAction is derived from the parent
     class pfDrawAction, so each of these member functions of class
     pfDrawAction are also directly usable with objects of class
     pfSimpleDrawAction.  This is also true for ancestor classes of class
     pfDrawAction.

     virtual void   pfDrawAction::preDraw(pfChannel *, pfViewer *);
     virtual void   pfDrawAction::postDraw(pfChannel *, pfViewer *);

     Since the class pfDrawAction is itself derived from the parent class
     pfObject, objects of class pfSimpleDrawAction can also be used with these
     functions designed for objects 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 pfSimpleDrawAction can also be used with these
     functions designed for objects of class pfMemory.

									Page 1

pfSimpleDrawAction(3pf)	     OpenGL Performer 3.2.2 libpfx C++ Reference Pages

     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();

DESCRIPTION
     new pfSimpleDrawAction creates and returns a handle to a
     pfSimpleDrawAction. Like other pfDrawActions, pfSimpleDrawActions are
     always allocated from shared memory and can be deleted by the calling
     pfDelete().

     This particular draw action allows the user to turn on and off stats
     display and set the draw style. By default, the draw style is set to
     PFUSTYLE_FILLED and the stats are off. The draw style may be changed via
     pfSimpleDrawAction::setDrawStyle() and retrieved via
     pfSimpleDrawAction::getDrawStyle().

     The stats display may set turned on or off via
     pfSimpleDrawAction::setDrawStatsStatus(int onOrOff) and the current value
     may be retrieved via pfSimpleDrawAction::getDrawStatsStatus().

NOTES
     There is a sample of how to implement draw actions in the
     /usr/share/Perfomer/src/pguide/libpfx/ directory.

     The libpfx source code, object code and documentation are provided as
     unsupported software.  Routines are subject to change in future releases.

     The most recent version of this software may be found at the following
     URL:  http://oss.sgi.com/projects/performer/.

									Page 2

pfSimpleDrawAction(3pf)	     OpenGL Performer 3.2.2 libpfx C++ Reference Pages

SEE ALSO
     pfSimpleDrawAction, pfViewer, pfuPreDrawStyle, pfuPostDrawStyle,
     pfChannel

									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