[vtkusers] vtkpicker can't identify which actor it picks
Sarah Macumber
S.Macumber at QuestReliability.com
Fri Mar 14 18:16:04 EDT 2008
Hi, I have a vtkPicker and two actors in my scene, a cone and a sphere.
When I pick one of the objects and try to compare it to the actors I
have both comparisons fail. Am I doing something wrong?
vtkActor actor=picker.GetActor();
if (actor.Equals(coneActor))
{
pickedCone();
}
else if (actor.Equals(sphereActor))
{
pickedSphere();
}
Thanks Sarah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080314/952f3529/attachment.htm>
More information about the vtkusers
mailing list