[vtkusers] Picking vtkBoxWidget2

Denis Shamonin dshamoni at gmail.com
Thu Feb 23 04:02:38 EST 2012


Yes,
Usevirtual void
vtkInteractorObserver::SetPriority<http://www.vtk.org/doc/nightly/html/classvtkInteractorObserver.html#ac74314c01a30124ecea81b35eb133772>
( float<http://www.vtk.org/doc/nightly/html/vtkVectorOperators_8h.html#a6a1bb6ed41f44b60e7bd83b0e9945aa7>

)

To increase the priority for object you need most.

Set/Get the priority at which events are processed. This is used when
multiple interactor observers are used simultaneously. The default value is
0.0 (lowest priority.) Note that when multiple interactor observer have the
same priority, then the last observer added will process the event first.
(Note: once the
SetInteractor()<http://www.vtk.org/doc/nightly/html/classvtkInteractorObserver.html#a7f52f3d776dbe073d690ee100ab685b4>method
has been called, changing the priority does not effect event
processing. You will have to SetInteractor(NULL), change priority, and then
SetInteractor(iren) to have the priority take effect.)

-Denis
Reimple
On Wed, Feb 22, 2012 at 6:13 PM, imran khan <khan.imranh at gmail.com> wrote:

> Is there a way to pick and interact with an instance of vtkBoxWidget2 that
> is smaller and behind another vtkBoxWidget2?
>
> Thanks.
>
> Imran
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120223/2d9e99ab/attachment.htm>


More information about the vtkusers mailing list