<div dir="ltr">Thanks Mirko,<br><br>It worked, I will add an example to wiki.<br><br>Jothy<br><br><div class="gmail_quote">On Mon, Apr 19, 2010 at 7:36 AM, mirko heuegger <span dir="ltr">&lt;<a href="mailto:mheuegger@gmail.com">mheuegger@gmail.com</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;">Hello!<br>
<div class="im"><br>
On Fri, Apr 16, 2010 at 6:02 PM, Jothybasu K Selvaraj<br>
&lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt; wrote:<br>
&gt; How can I modify the distance shown in the vtkDistanceWidget?<br>
&gt; It shows only the numerical value,say 58,but I want it to be as 58 mm.<br>
<br>
</div>That should by possible by setting a proper label-format to the<br>
vtkDistanceRepresentation from<br>
you DistanceWidget:<br>
e.g:<br>
vtkDistanceRepresentation . SetLabelFormat(&quot;%-#6.3g mm&quot;):<br>
<br>
<br>
hth<br>
<br>
mirko<br>
<font color="#888888"><br>
--<br>
Real programmers don&#39;t document; if it was<br>
hard to write, it should be hard to understand.<br>
</font></blockquote></div><br></div>