<div dir="ltr">Why can't you use textInput widget from your GUI designer to get the text entered by the use and display that text with vtkTextSource?<br><br>Jothy<br><br><div class="gmail_quote">On Sat, Apr 17, 2010 at 5:48 AM, Rakesh Patil <span dir="ltr"><<a href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>></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,<br><br>Thanks for your quick reply.. Let me be more precise.. I want to place the text on mouse click..<br>
Suppose i click at a particular location, a small pop up window will appear asking to enter a text..<br>And once I enter a text, that text should get displayed at the clicked position.. And further, as i zoom in/out,<br>the text also should zoom..<br>
<br>The text source and vector text zooms.. but i cant set the position there..<br><br>Any suggestions..??<br><br>Thanks<br><br>Regards<br><font color="#888888">Rakesh Patil</font><div><div></div><div class="h5"><br><blockquote>
<br>---------- Original message ----------<br>From:"David Doria"< <a href="mailto:daviddoria%2Bvtk@gmail.com" target="_blank">daviddoria+vtk@gmail.com</a> ><br>Date: 21 Jan 10 12:27:15<br>Subject: Re: [vtkusers] How to add a text in the render window ??<br>
To: Rakesh Patil <<a href="mailto:rakeshthp@in.com" target="_blank">rakeshthp@in.com</a>><br><br><div><div class="gmail_quote"><font color="#000000"></font><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="p
urple" lang="DE"><div><div><div><p class="MsoNormal">
<font color="#000000">Hello users,</font></p><p class="MsoNormal" style="margin-bottom: 12pt;">
<font color="#000000"><br>
I want to insert a text in my render window.. But the text should be zoomable
and should not be fixed.. <br>
<br>
The example here<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/DisplayText" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/DisplayText</a><br>
<br>
displays "Hello World" at the bottom of the window and its position
remains same throughout.. I want this actor to zoom along with the sphere..<br>
<br>
Any ideas or suggestions how to achieve this..??<br>
<br>
Thanks<br>
<br>
Regards<br>
Rakesh Patil<br>
</font></p><p class="MsoNormal" style="margin-bottom: 12pt;"><font color="#000000"><br></font></p></div></div></div></div><font color="#000000"></font></blockquote><div>You're looking for these:</div><div> </div><a href="http://www.vtk.org/Wiki/VTK/Examples/TextSource" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/TextSource</a><div>
<a href="http://www.vtk.org/Wiki/VTK/Examples/VectorText" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/VectorText</a></div><div><br clear="all">Thanks,<br><br></div><div>David </div></div></div>
</blockquote><br><br></div></div><div><div></div><div class="h5"><div style="border-top: 1px dashed rgb(204, 204, 204); border-bottom: 1px dashed rgb(204, 204, 204); padding: 5px;"><a href="http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing" style="font: 13px arial; color: rgb(30, 86, 161); text-decoration: none;" target="_blank">Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></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></div>