[vtkusers] casting one ray?

Jean M. Favre jfavre at cscs.ch
Tue Aug 26 11:49:22 EDT 2003


Nico Vermaas wrote:
> 
> How can I cast one ray from one screen location?
> 

How about the following manual page:

virtual int vtkPicker::Pick(float selectionX, 
                            float selectionY, 
                            float selectionZ, 
                            vtkRenderer *renderer) 
       
      Perform pick operation with selection point provided. Normally the
first two values for the selection point are x-y pixel coordinate, and
the third value is =0. Return non-zero if something was successfully
picked.
 
-- 
Dr. Jean M. Favre,                            email:favre at cscs.ch
http://www.cscs.ch/people/Favre.html
CSCS, Swiss Center for Scientific Computing | Tel:  +41 (91) 610.82.40
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82



More information about the vtkusers mailing list