addEdge man page on IRIX

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



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

NAME
     pfBoundary, addEdge, getSurface, setSurface, getLoop, setLoop,
     setTrimCurve, getTrimCurve, getWingCount, getBoundaryId, setBoundaryId -
     Winged boundary

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

		       pfBoundary::pfBoundary();

     static pfType *   pfBoundary::getClassType(void);

     void	       addEdge(int i, pfParaSurface *sur, int trimLoop,
			 int trimCurve);

     int	       getSurface(int i);

     void	       setSurface(int i, int surfaceId);

     int	       getLoop(int i);

     void	       setLoop(int i, int loopNum);

     void	       setTrimCurve(int i, int curveNum);

     int	       getTrimCurve(int i);

     int	       getWingCount();

     int	       getBoundaryId();

     void	       setBoundaryId(int boundaryId);

PARENT CLASS FUNCTIONS
     The OpenGL Performer class pfBoundary is derived from the parent class
     pfObject, so each of these member functions of class pfObject are also
     directly usable with objects of class pfBoundary.	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 pfBoundary can also be used with these
     functions designed for objects of class pfMemory.

									Page 1

pfBoundary(3pf)		      OpenGL Performer 3.2.2 libpf 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
     pfBoundary defines a trim curve in UV space. It can be either a discrete
     or continuous curve. For the purpose of topology construction (-
     pfBoundary), an edge contains an index to the boundary list in the class
     pfBoundary.

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

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

     pfBoundary::getBoundary returns the boundary id of the boundary
     associated with this edge.

     pfBoundary::getBoundaryDir returns the boundary direction set in
     pfBoundary::setBoundaryDir.

     pfBoundary::getContCurve returns a pointer to the continuous 2D curve
     representing this edge. Returns NULL if the edge is not represented by a
     continous curve.

									Page 2

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

     pfBoundary::getDisCurve returns a pointer to the discrete 2D curve
     representing this edge. Returns NULL if the edge is not represented by a
     discrete curve.

     pfBoundary::setContCurve sets the continuous curve to be c. It also
     references c.

     pfBoundary::setDisCurve sets the discrete curve to be d. It also
     references d.

     pfBoundary::getBoundary returns the boundary id of the boundary
     associated with this edge.

     pfBoundary::setBoundary sets the boundary id.

     pfBoundary::setBoundaryDir when the value is -1, it indicates that if we
     evaluate (3D space) this trim curve from beginT to endT, the XYZ points
     are in the reverse order of the 'xyzBoundary' in the corresponding
     boundary. When the value is 1, if indicates that the order is the same.

     pfBoundary::getBoundaryDir returns the boundary direction set in
     pfBoundary::setBoundaryDir.

SEE ALSO
     pfTopo, pfCurve2d, pfDisCurve2d, pfDisCurve3d, pfParaSurface

									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