<font size="2"><font face="verdana,sans-serif">You can group it into a vtkAssembly together with the sphere, and then rotate that assembly.<br></font></font><br><div class="gmail_quote">On Fri, Aug 26, 2011 at 15:14, Xiaopeng Yang <span dir="ltr">&lt;<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">David, <u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">The second example is what I want since I need to assign the caption to certain point in a 3D object. However, in the example, the caption itself does not move when I rotate the sphere. My question is how to make it move along with the 3D object during rotation.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thank you so much.<u></u><u></u></span></p><p class="MsoNormal">

<span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Xiaopeng<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> David Doria [mailto:<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>] <br>

<b>Sent:</b> Friday, August 26, 2011 8:33 PM<br><b>To:</b> Xiaopeng Yang<br><b>Cc:</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a></span></p><div class="im"><br><b>Subject:</b> Re: [vtkusers] Put labels onto image<u></u><u></u></div>

<p></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div class="im"><p class="MsoNormal">On Fri, Aug 26, 2011 at 3:43 AM, Xiaopeng Yang &lt;<a href="mailto:yxp233@postech.ac.kr" target="_blank">yxp233@postech.ac.kr</a>&gt; wrote:<u></u><u></u></p>

<div><div><p class="MsoNormal"><span style="color:#1F497D">Hi Wayne,</span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1F497D"> </span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1F497D">It works good. Thank you. However, when I rotate the 3D object, the caption which associated with a point on the 3D object should be covered (invisible) when that point is rotated to the backside (invisible). But is always visible and appear on the object, which can mislead the user  to know the position of the caption.</span><u></u><u></u></p>

<p class="MsoNormal"><span style="color:#1F497D"> </span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1F497D">Do you have any good idea to avoid this happening?</span><u></u><u></u></p><p class="MsoNormal">
<span style="color:#1F497D"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,</span><u></u><u></u></p><p class="MsoNormal"><span style="color:#1F497D">Xiaopeng</span><u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div>
</div><div><p class="MsoNormal">CaptionActor2D is great for 2D, but for 3D I think you&#39;ll want:<u></u><u></u></p></div><div class="im"><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/Follower" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/Follower</a><u></u><u></u></p>

</div></div><div class="im"><div><p class="MsoNormal">or<u></u><u></u></p></div><div><p class="MsoNormal"><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/Caption" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/Caption</a><u></u><u></u></p>

</div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">David <u></u><u></u></p></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>