Hi,<br><br>I already know how to setup vtk/qt using the qvtkwidget and got it to work the text display, well i'm using a pushButton in Qt to activate a text widget which will appear on my qvtkwidget as well as my volume rendering. My point now is how can I do to interactively write a commentary or some annotation on it.<br>
<br>I mean, I'm working with medical images and is kind of required to add some labels or commentaries in some views. Is there any direct way to add the textwidget and start typing whatever you want on the qvtkwidget?? or maybe a way to get the text of an texteditbox from qt??? I'm really stucked at this point. <br>
<br><br>Rodrigo<br><div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/25 David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br><div class="gmail_quote">On Fri, Nov 23, 2012 at 12:41 PM, Rodrigo Lovera <span dir="ltr"><<a href="mailto:lobo.theslayer@gmail.com" target="_blank">lobo.theslayer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
s anyone know of a way for calculate the area of a region. I mean I got a vo</blockquote></div><br></div><div>These are two very separate questions - I'd create a separate thread for the area of a contour one.</div><div>
<br>
</div><div>For the question of writing text on an image - I'd do this with VTK. So setup the normal VTK/Qt connection (QVTKWidget):</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance</a></div>
<div><br></div><div>then write your text using:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/DisplayText" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/DisplayText</a></div>
<div>or</div>
<div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/VectorText" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/VectorText</a><span class="HOEnZb"><font color="#888888"><br clear="all">
<br>David</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><b><font face="'comic sans ms', sans-serif" color="#000066">Rodrigo aka WarHearT</font></b><br>
</div>