[vtkusers] Ray Casters and Perspective View Rays

Turner, Wesley D (CRD) turner at crd.ge.com
Wed Jan 2 15:25:57 EST 2002


Lisa,

Sorry for not responding sooner, but I have been off for the holidays.
We are calculating a synthetic range image (possibly having noise) from
the rendered image.  The ViewRays class provided a convenient API for
quickly obtaining a matrix of data that could be used in various points
in the generation of the range data.  While it is certainly the case that 
I can generate the same data as that returned by the ViewRays object, having
the class simplified the code.  I do not need the data to be automatically
generated by the Renderer, I appear to only need access to the ViewRays 
API.  Can we add it back into the VTK repository?

Thanks,

- Wes

-----Original Message-----
From: Lisa S. Avila [mailto:lisa.avila at kitware.com]
Sent: Thursday, December 27, 2001 3:22 PM
To: Turner, Wesley D (CRD); 'vtkusers at public.kitware.com'
Cc: 'lisa.avila at kitware.com'
Subject: Re: [vtkusers] Ray Casters and Perspective View Rays


Hello Wes,

You should be able to directly compute anything you were accessing from the 
view rays object. What specifically are you trying to determine? (I am not 
sure what you mean by "range and angle of incidence data")

Lisa



  At 11:12 AM 12/26/2001, Turner, Wesley D (CRD) wrote:
>Lisa,
>
>In some of the code I use, there are several modules which use the 
>obsolete "vtkRayCaster" and
>"vtkViewRays".  In particular, I use a routine which calculates
>range and angle of incidence data based on the sequence of calls
>vtkOpenGLRendererInstance->GetRayCaster()->GetPerspectiveViewRays().  You 
>removed these
>modules from the VTK repository and seem to have moved their functionality 
>into other places.  Is
>there a set of replacement calls?  Can these modules be moved
>back into the repository?
>
>Thank you in advance for your help,
>
>- Wes Turner
>
>
>
>  <<Turner, Wesley D (CRD).vcf>>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers



More information about the vtkusers mailing list