[vtkusers] 3dWidgets - turn off feature (not bug) for picking widgets even behind other actors

Mark Wyszomierski markww at gmail.com
Fri Mar 23 12:00:14 EDT 2007


Hi Dean,

Can you give me a brief idea how to do that - I don't actually have a
concrete picker declared anywhere - I just have an interactor, and
drop my plane widgets into the scene:

    planeWidget->SetInteractor(iren)
    planeWidget->SetCurrentRenderer(renderer);
    planeWidget->SetPlacement();

I was thinking I could do something like:

    planeWidget->SetPicker(iren->GetPicker());

but that doesn't work! Do I need to make my own picker or can I just
use some default one from the interactor or renderer?

Thanks,
Mark


On 3/23/07, Dean Inglis <dean.inglis at camris.ca> wrote:
> Mark,
>
> you have to assign the same picker to
> all 3 widgets when you create them.
>
> Dean
>
>
> I have three image plane widgets, and I always end up grabbing the
> back most one when they're all stacked on top of eachother.
>
> Is there a way to turn that off, and just have the first one
> intersected be selected?
> _______________________________________________
> 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