Take a look at the API of vtkScalarBarActor. If that's not enough, perhaps you want to subclass it and put in your modifications.<br><br><div class="gmail_quote">On Tue, Jun 1, 2010 at 8:35 PM, Guillaume DARDENNE <span dir="ltr"><<a href="mailto:guillaume.dardenne@ostesys.com">guillaume.dardenne@ostesys.com</a>></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 link="blue" vlink="purple" lang="FR">
<div>
<p class="MsoNormal">Hi Vtk users,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">I’m using the vtkScalarBarWidget in
order to visualize a distance map.</span></p>
<p class="MsoNormal"><span lang="EN-US">I would like to modify the scalars
annotation along this bar, how can I do that ?</span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
Actually, I would like to display some perso values.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for your answer,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><font color="#888888">
<p class="MsoNormal"><span lang="EN-US">Guillaume DARDENNE</span></p>
</font></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><br clear="all"><br>