[vtkusers] vtkPointPicker sample/question/problem
Xianjin Yang
Yang at AGIUSA.COM
Thu Dec 11 10:28:47 EST 2003
Is there any example showing how to create a custom interactor style
to overwrite the default picking event triggered with "p" key? The
left mouse clicking would be an ideal way to do point-picking.
Will someone please post a code snippet or a pseudocode to accomplish
this? Thanks.
Yang
-----Original Message-----
From: Will Schroeder [mailto:will.schroeder at kitware.com]
Sent: Thursday, December 11, 2003 7:24 AM
To: de Boer Ingo; vtkusers at vtk.org
Subject: Re: AW: [vtkusers] vtkPointPicker sample/question/problem
The p key is a convenience, it can be changed. You'd have to create your
own interactor style to do this.
Will
At 08:04 AM 12/11/2003, de Boer Ingo wrote:
>Hi Will,
>
> > Try observing EndPickEvent. If I remember correctly
> > vtkRenderWindowInteractor does not invoke "PickEvent" on itself.
>this worked...
>
>Another question... The samples only work if I press 'p'... How come
>that ? If I don't press 'p' the callback is not called ?!
>
>greets
> Ingo
>
>---
>Dr.-Ing. Ingo H. de Boer
>
>Polytec GmbH
>Polytec-Platz 1-7, 76337 Waldbronn, Germany
>phone: ++49 7243 604 106
>fax : ++49 7243 604 255
>_______________________________________________
>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://www.vtk.org/mailman/listinfo/vtkusers
_______________________________________________
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://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031211/2a2bffd9/attachment.htm>
More information about the vtkusers
mailing list