pfCosScalar man page on IRIX

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



pfCosScalar(3pf)	      OpenGL Performer 3.2.2 libpf C++ Reference Pages

NAME
     pfCosScalar - A cosine function

FUNCTION SPECIFICATION
     #include <Performer/pf/pfScalars.h>

		       pfCosScalar::pfCosScalar();

     static pfType *   pfCosScalar::getClassType(void);

     pfReal	       pfCosScalar::eval(pfReal u);

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

     pfReal   pfScalar::eval(pfReal u) = 0;

     Since the class pfScalar is itself derived from the parent class
     pfObject, objects of class pfCosScalar 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 pfCosScalar 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();

									Page 1

pfCosScalar(3pf)	      OpenGL Performer 3.2.2 libpf C++ Reference Pages

     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
     pfCosScalar defines a cosine function: s = cos(u).

     new(arena) allocates a pfCosScalar from the specified memory arena, or
     from the process heap if arena is NULL.  new allocates a pfCosScalar from
     the default memory arena (see pfGetSharedArena).  Like other pfObjects,
     pfCosScalars cannot be created statically, automatically on the stack or
     in arrays.	 pfCosScalars should be deleted with pfDelete rather than the
     delete operator.

     pfCosScalar::getClassType returns the pfType* for the class pfCosScalar.
     the pfType* returned by pfCosScalar::getClassType is the same as the
     pfType* returned by invoking the virtual function getType on any instance
     of class pfCosScalar.  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.

     pfCosScalar::eval evaluates cos at value u.

SEE ALSO
     pfObject, pfScalar

									Page 2

[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