[vtkusers] Problem with world point picking

Antoine Boivin a.boivin at m2m-ndt.com
Wed Aug 24 11:35:56 EDT 2005


Hi vtk-user

I use Vtk 4.2 with Java on Win XP.

I load a vtk file wich contain a cylinder with 6 face.
I want to find the coordinate of the point behind the mouse on the volume.
I use a vtkWorldPointPicker but the result is no correct.
If I move the camera the value is not exactly the same for the same point.

I sent you my program and the vtk file.
I don't understand the cause of this error and appreciate your help.

Thanks!

Antoine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050824/9140f880/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hexagone.vtk
Type: application/octet-stream
Size: 465 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050824/9140f880/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EssaiPickingPointProp.java
Type: application/octet-stream
Size: 4039 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050824/9140f880/attachment-0001.obj>


More information about the vtkusers mailing list