[vtkusers] vtkActor ID
David Doria
daviddoria at gmail.com
Mon Jun 3 11:10:00 EDT 2013
On Mon, Jun 3, 2013 at 10:52 AM, Max <smapersmaper at gmail.com> wrote:
> Hi VTKers,
> I'm searching for an option to attach some ID to an actor.
> The thing is after picking an object i have to find out which object was
> picked.
> So i'm checking the actor of the point that was picked.
> But I want to change color of some related objects too.
> In short, I want to change colors of a related group of objects when one of
> them is selected.
> Is there a way to attach an id to an object/actor of that object?
>
> Thank you,
> Max
You should be able to use picker->GetViewProp() to directly obtain the
actor that was picked.
David
More information about the vtkusers
mailing list