[vtkusers] VTK Example - AreaPicking

Allan James ar.james at qut.edu.au
Tue Jan 26 23:10:35 EST 2010


David,

I will have to play with this more and fix up the example.

The vtkAreaPicker (from docs) "picks all vtkProp3Ds that lie behind the screen space rectangle from x0,y0 and x1,y1"

I believe the vtkInteractorStyleTrackballCamera has its own default picker that is triggered when 'p' is pressed - this displays a red box around the picked actor.

The vtkInteractorStyleRubberBandPick however, when used with the vtkAreaPicker, operates on the selection rectangle (also when 'p' is pressed).

I think the correct way is to add the observer to the EndPickEvent of the vtkRenderWindowInteractor. I will see if I can work it out and fix the example when I get a spare minute.

thanks,

Allan James
High Performance Computing & Research Support
Queensland University of Technology
(07) 3138 9264
ar.james at qut.edu.au<mailto:ar.james at qut.edu.au>
http://www.qut.edu.au/its/hpc

><(((º>  ._.·´¯`·..  >++(((º>  ._.·´¯`·..  >++(((º>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100127/9a605408/attachment.htm>


More information about the vtkusers mailing list