[vtkusers] Adding a text widget into qvtk

David Doria daviddoria at gmail.com
Sun Nov 25 06:17:32 EST 2012


On Fri, Nov 23, 2012 at 12:41 PM, Rodrigo Lovera
<lobo.theslayer at gmail.com>wrote:

> s anyone know of a way for calculate the area of a region. I mean I got a
> vo


These are two very separate questions - I'd create a separate thread for
the area of a contour one.

For the question of writing text on an image - I'd do this with VTK. So
setup the normal VTK/Qt connection (QVTKWidget):
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance

then write your text using:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/DisplayText
or
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/VectorText

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121125/4c3513d0/attachment.htm>


More information about the vtkusers mailing list