[vtkusers] vtkWorldPointPicker does not see vtkImagePlaneWidget (vtk-5.0)

Boris Avdeev borisaqua at gmail.com
Thu Feb 2 15:37:34 EST 2006


Now I am using CellPicker and it works fine. The reason I tried
WorldPointPicker is that it is supposed to be faster and the only
thing I want to get is a world coordinate of a point on a nearest
solid under the cursor. It worked for me in vtk-4.2 regardless of the
documentation, which I do not quite understand anyway (what is "find
the x,y,z world coordinate of a screen x,y,z"?).

Thanks for your help,
Boris

On 2/2/06, dean.inglis at camris.ca <dean.inglis at camris.ca> wrote:
> Boris,
>
> read the class documentation:
>
> http: // www . vtk . org /doc/nightly/html/classvtkWorldPointPicker.html
>
>
> you could try a subclass of vtkAbstractPropPicker,
> in fact, you could get world coords from the cursor
> of vtkImagePlaneWidget directly using:
>
> double pos[3];
> widget->GetCurrentCursorPosition( pos );
>
> Dean
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list