<div dir="ltr">I too add the actor in the sam eway you mentioned, except; I am using vtkPolyDataMapper.Actually, I need to move the actors in actor interaction mode (by pressing &#39;a&#39;).<br><br>Thanks,<br><br>Jothy<br>
<br><div class="gmail_quote">On Thu, Jun 17, 2010 at 7:06 AM, Bryn Lloyd <span dir="ltr">&lt;<a href="mailto:blloyd@vision.ee.ethz.ch">blloyd@vision.ee.ethz.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Jothi,<br>
<br>
How are you adding the actor? I do it like this:<br>
<br>
  vtkDataSetMapper *mapper = vtkDataSetMapper::New();<br>
  mapper-&gt;SetInput(dataset);<br>
  vtkActor *actor = vtkActor::New();<br>
  actor-&gt;SetMapper(mapper);<br>
  viewer-&gt;GetRenderer()-&gt;AddActor(actor);<br>
<br>
If I press &#39;p&#39; when the mouse is pointing to a vtkPolyData dataset, it is picked (I see a red bounding box).<br>
<br>
Cheers,<br>
Bryn<br>
<br>
<br>
Jothy wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Hi all,<br>
<br>
I am unable to pick the actors in vtkImageViewer2 in &quot;actor&quot; interaction mode. I think vtkImageViewer add all the actor with PickableOff(). So, how to pick the actor. I tried adding the actor with actor-&gt;PickableOn(), but no effect!<br>

<br>
Any hints?<br>
<br>
Thanks,<br>
<br>
Jothy<br>
<br>
<br></div></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></blockquote>
<br>
<br>
-- <br>
-------------------------------------------------<br><font color="#888888">
Bryn Lloyd<br>
Computer Vision Laboratory<br>
ETH Zürich, Sternwartstrasse 7, ETF C110<br>
CH - 8092 Zürich, Switzerland<br>
Tel: +41 44 63 26668<br>
Fax: +41 44 63 21199<br>
-------------------------------------------------<br>
</font></blockquote></div><br></div>