[vtkusers] Re: vtkPicker::GetActors() returns empty list
David Gobbi
dgobbi at irus.rri.on.ca
Mon Jun 12 16:01:08 EDT 2000
On Mon, 12 Jun 2000, David Gobbi wrote:
> Hi Will,
>
> I found out why some of my VTK code isn't working anymore, the Actors
> ivar is always an empty list. The new pick methods completely ignore the
> Actors ivar.
Ah, I found a simple solution. I just changed my code to use
GetProp3Ds() instead of GetActors() and everything works fine.
It looks like it is impossible for both GetActors() and GetProp3Ds()
to _both_ work properly, because the GetPickedPositions() can't
match both of them.
It looks there will have to be a new method, GetPickedPropPositions(),
so that GetPickedPositions() can still return points that correspond
to GetActors() and hence provide backwards compatibility.
- David
--
David Gobbi, MSc dgobbi at irus.rri.on.ca
Advanced Imaging Research Group
Robarts Research Institute, University of Western Ontario
More information about the vtkusers
mailing list