Re: User data and Discriminator callbacks...
Andy Mirkis (mandy++at++jupiter.UCSD.EDU)
Mon, 13 Mar 1995 17:33:32 -0800
On Mar 13, 4:49pm, Sharon Clay (Fischler) wrote:
> Subject: Re: User data and Discriminator callbacks...
>
> +>---- On Mar 13, 8:59am, Andy Mirkis wrote:
> > Subject: User data and Discriminator callbacks...
> ->
> ->Is there a way to pass user data to a discriminator funtion? I'm using
> ->pfSegsIsectNode() which has a userData pointer in the pfSegSet structure
> ->but no way that I can tell to retrieve it from the discFunc. Is there
> ->another way? I'm using performer 1.2. Thanks!
>
> You get a pointer to a pfHit structure in your discriminator function and
> it's userData field should have the user data passed in
> with your SegSet.
>
> src.
>
This sounds good but it leads me to another question. How do I access
the pfHit userData? I checked the header files for an undocumented PFQHIT
token but didn't find one. I'm assuming that since y'all privide a functional
interface to the pfHit structure, the actual structure definition is not
provided (atleast, I couldn't find it in the header files).
-Andy
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:51:04 PDT