[vtkusers] VTK Example - AreaPicking
Liam Kurmos
quantum.leaf at googlemail.com
Tue Jan 26 06:05:32 EST 2010
I thought I'd have a look at this example. Running it with the
vtkInteractorStyleTrackballCamera, I find that if i pick within the
bounding box of the actor i get a red box around it.
However if I use vtkInteractorStyleRubberBandPick i don't get the red
box wherever i drag.
bug?
Liam
On Mon, Jan 25, 2010 at 11:42 PM, Allan James <ar.james at qut.edu.au> wrote:
> Hi David,
>
> Just a note to say I have got the VTK/Examples/AreaPicking example working
> by replacing the following line:
>
> renderWindowInteractor->AddObserver ( vtkCommand::PickEvent, pickCallback );
>
> with:
>
> areaPicker->AddObserver ( vtkCommand::EndPickEvent, pickCallback );
>
> The observer needs to be attached to the picker rather than the interactor.
>
> By the way - thanks for all your efforts building up the examples - this
> will help out newbies immensely!
>
> cheers,
>
> Allan James
> IT Specialist | Research Support
> High Performance Computing and Research Support
> Queensland University of Technology
> (07) 3138 9264
> ar.james at qut.edu.au
> http://www.qut.edu.au/its/hpc
>
>>++(((º> ._.·´¯`·.. >++(((º> ..·´¯`·._. >++(((º>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK 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