Re: number of light points in a pfLightPoint

New Message Reply Date view Thread view Subject view Author view

Lance Marrou (marrou++at++vsl.ist.ucf.edu)
Tue, 10 Oct 1995 17:11:31 -0400


On Oct 10, 2:22pm, Scott McCaskill wrote:
> Subject: number of light points in a pfLightPoint
>
> How does one query a pfLightPoint for the number of light points it
> contains? I've read the man page and the faq for this list but could
> find no mention of how to do this. Is this just an omission in the API?
> (and if so, should I direct this somewhere else?)
>
>
>-- End of excerpt from Scott McCaskill

There is a function which was left out of the man page:

extern long pfGetNumLPoints(pfLightPoint* _lpoint);

Also, in 2.0 pfLightPoints will become obsolete (which means I suppose they
will eventually get tossed out) in favor of the light point state (as noted in
the 2.0 man page):

...
pfLightPoint(3pf) IRIS Performer 2.0 libpf C Reference Pages

PARAMETERS
     lpoint identifies a pfLightPoint.

DESCRIPTION
     pfLightPoint is now obsoleted in favor of the libpr primitive
     pfLPointState. pfGetLPointGSet returns the underlying pfGeoSet of lpoint
     from which the pfLPointState can be found:

          gset = pfGetLPointGSet(lpoint);
          gstate = pfGetGSetGState(gset);
          lpstate = pfGetGStateAttr(gstate, PFSTATE_LPOINTSTATE);
...

-- 
______________________________________________________________________________
           /\    ______  /\____ ______ ______   E-mail: marrou++at++vsl.ist.ucf.edu
Visual    / /   / _   / / __  // ____// ____/               VSL: (407)658-5073
Systems  / /__ / /_/ / / / / // /___ / __/_  R. Marrou      Fax: (407)658-5059
Lab     /____//____/\\/_/ /_//_____//_____/ http://www.vsl.ist.ucf.edu/~marrou
"Reap the whirlwind."                      "We don't need no thought control."

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:57 PDT

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