[vtk-developers] vtkPicker picking "visible" parts of assemblies marked as invisible
pieper at isomics.com
Thu May 21 12:47:17 EDT 2015
Hi Rostislav -
Yes, this is a nasty issue introduced by the vtkPickeringManager. I ran
into this last year  and put a workaround in our version of VTK  but
it doesn't solve the whole problem. I didn't propose this back to
VTK-proper because widget needs to be fixed in order for this to work.
Maybe there's a better way?
The bug report includes simple instructions on how to reproduce the issue.
On Thu, May 21, 2015 at 12:22 PM, Rostislav Khlebnikov <
rostislav.khlebnikov at kcl.ac.uk> wrote:
> Dear VTK developers,
> I am using vtkCellPicker (and consequently vtkPicker) to pick cells on
> objects. However, apparently, if a prop assembly is marked as invisible, it
> is still possible to pick the parts of assembly marked invisible if these
> parts are not explicitly marked invisible themselves. This happens in case
> a pick list is used, i.e. line vtkPicker.cxx:L278 is executed (not sure
> whether the same would happen if pick lists are not used). In any case,
> checking whether prop obtained in line 294 of vtkPicker.cxx is visible and
> pickable before initializing path traversal, should fix the problem.
> So my question is:
> - is it supposed to behave like this? (I doubt it as it is rather
> - should I make a fix for this?
> - If yes - is it possible to make such a small fix (probably two lines
> of code) in some simple way?
> All best,
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers