<div class="gmail_quote">On Fri, Jul 8, 2011 at 5:10 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Alexis,<br>
<br>
Take a look at vtkFreeTypeUtilities, it can render text into a<br>
vtkImageData. You can use this to create a small vtkImageData for<br>
each piece of annotation you need, and then you can use vtkImageBlend<br>
to overlay these onto your image. To control the positioning of each<br>
text block for the overlay, you will have to set the Extent of each<br>
one so that the extent starts at the position where you want that text<br>
block to appear in the main image.<br>
<br>
- David</blockquote><div><br></div><div>Here is an example:</div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageText">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageText</a><br clear="all"><br><div>
David </div></div>