<br>I think the red line appears because that&#39;s the basic functionality of the render interactor.<br><br>All standard functionality:<br> f-&gt; zoom in<br>r -&gt; zoom out<br>w -&gt; wire frame<br>p -&gt; place axes in view<br>

e or q-&gt; exit<br>s -&gt; go back from wireframe<br><br>Michael<br><br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 4:10 AM, Allan James <span dir="ltr">&lt;<a href="mailto:ar.james@qut.edu.au">ar.james@qut.edu.au</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div><font face="Arial" size="2"><span>David,</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>I will have to play 
with this more and fix up the example.</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>The vtkAreaPicker 
(from docs) &quot;<span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;">picks 
all vtkProp3Ds that lie behind the screen space rectangle from x0,y0 and 
x1,y1&quot;</span></span></span></font></div>
<div><font face="Arial" size="2"><span><span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;"></span></span></span></font> </div>


<div><font face="Arial" size="2"><span><span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;">I believe 
the vtkInteractorStyleTrackballCamera has its own default picker that is 
triggered when &#39;p&#39; is pressed - this displays a red box around the 
picked actor. </span></span></span></font></div>
<div><font face="Arial" size="2"><span><span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;"></span></span></span></font> </div>


<div><font face="Arial" size="2"><span><span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;">The 
vtkInteractorStyleRubberBandPick however, when used with the vtkAreaPicker, 
operates on the selection rectangle (also when &#39;p&#39; is 
pressed).</span></span></span></font></div>
<div><font face="Arial" size="2"><span><span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;"></span></span></span></font> </div>


<div><font face="Arial" size="2"><span><span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;">I 
think the correct way is to add the observer to the EndPickEvent of the 
vtkRenderWindowInteractor. </span></span></span></font><font face="Arial" size="2"><span><span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;"><span lang="EN-AU">I will see if I can work it out and fix 
the example when I get a spare 
minute.</span></span></span></span></font></div>
<div><font face="Arial" size="2"><span><span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;"></span></span></span></font> </div>


<div><font face="Arial" size="2"><span><span style="word-spacing: 0px; font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; font-size: medium; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate;"><span style="font-size: 12px; font-family: &#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;">thanks,</span></span></span></font></div>

<div class="im">
<div><font face="Arial" size="2"></font> </div>
<div align="left"><font face="Arial" size="2">Allan James</font></div>
<div align="left"><font face="Arial" size="2">High Performance Computing &amp; 
Research Support<br>Queensland University of Technology<br>(07) 3138 9264<br><a href="mailto:ar.james@qut.edu.au" target="_blank">ar.james@qut.edu.au</a><br><a href="http://www.qut.edu.au/its/hpc" target="_blank">http://www.qut.edu.au/its/hpc</a></font><font face="Arial" size="2"><br>

 <br>&gt;&lt;(((º&gt;  ._.·´¯`·..  
&gt;++(((º&gt;  ._.·´¯`·..  &gt;++(((º&gt;</font></div>
<div> </div></div></div>
<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>
<br></blockquote></div><br>