Hi everyone,<br><br>I have a PNG image based cursor that is initialized at coordinate (0, 0) when it starts. Later, I move it to position (150, 150).<br><br>However, I cannot pick the actor with vtkPropPicker at the new position. It only picks it at the old position of (0, 0);
<br><br>So, I have updated the actor as follows:<br><br>m_cursor.GetActor()-&gt;SetPosition(150.0, 150.0);<br><br>My prop picking code looks like this:<br><br>// This is in the interactor style<br>int picked = m_picker-&gt;Pick(x, y, 0, this-&gt;CurrentRenderer);
<br>if (picked)<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp; vtkProp * prop = m_picker-&gt;GetViewProp();<br>&nbsp;&nbsp;&nbsp;&nbsp; // Only true at the old position....<br>&nbsp;&nbsp;&nbsp;&nbsp; if (prop &amp;&amp; (prop == (vtkProp *)m_viewer-&gt;GetCursorActor()))<br>&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_viewer-&gt;GetCursorActor()-&gt;SetPosition(x, y);<br>&nbsp;&nbsp;&nbsp;&nbsp; }<br>}<br><br>Thanks for any help you might give me.<br><br>Anja<br>