Re: pfQueryGSet() is bizarre!

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Mon, 20 Mar 95 09:56:22 -0800


For uniformity, all pfQueries return information by copying it into
an array rather than returning by value. This allows non-atomic
return values, although that may never be important for pfGeoSets,
and the return of multiple queries in a single request, e.g. pfMQueryHit.
The "ulong* which" is an inconsistency in the pfQueryGSet API which allows
either an array of queries or a single query. In 2.0, these are split
out into pfQueryGset and pfMQueryGSet.

> Finally, may I suggest that some more query types be added for future
> releases of Performer. For example, pfGetGSetAttrLists() can be used to get
> the array of colors used, but it is not easy to work out how long this array
> is!

We have an internal routine for this and should probably expose it
as a query.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:05 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.