pfCompositeScalar man page on IRIX

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



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

NAME
     pfCompositeScalar - A composite scalar function

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

		       pfCompositeScalar::pfCompositeScalar();

     static pfType *   pfCompositeScalar::getClassType(void);

     void	       pfCompositeScalar::setOutF(pfScalar *outF);

     pfScalar *	       pfCompositeScalar::getOutF() const;

     void	       pfCompositeScalar::setInF(pfScalar *inF);

     pfScalar *	       pfCompositeScalar::getInF() const;

     pfReal	       pfCompositeScalar::eval(pfReal u);

PARENT CLASS FUNCTIONS
     The OpenGL Performer class pfCompositeScalar is derived from the parent
     class pfScalar, so each of these member functions of class pfScalar are
     also directly usable with objects of class pfCompositeScalar.  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 pfCompositeScalar 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 pfCompositeScalar 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);

									Page 1

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

     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
     pfCompositeScalar defines a composite scalar function that is obtained by
     compositing two scalar functions. Assume f and g are two scalar
     functions, and let h denote the composite function of f and then then

     h(u) = f(g(u)).

     We call f the outside function and g the inside function (in reference to
     the compositing order).

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

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

     pfCompositeScalar::pfCompositeScalar() creates an instance of
     pfCompositeScalar with outF and inF set to NULL.

     pfCompositeScalar::pfCompositeScalar(pfScalar *outFun,pfScalar *inFun)
     creates an instance of pfCompositeScalar with outF and inF set to outFun
     and inFun respectively.

									Page 2

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

     pfCompositeScalar::setOutF sets the outside function.

     pfCompositeScalar::getOutF returns the outside function.

     pfCompositeScalar::setInF sets the inside function.

     pfCompositeScalar::getInF returns the inside function.

     pfCompositeScalar::eval evaluates function at given value of u.

SEE ALSO
     pfObject, pfScalar

									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