Hello everyone,<br><br>I&#39;m trying to add a contourwidget as a tool to draw a contour over a medical image or volume im rendering. I need to add these with a pushbutton in my case, but haven&#39;t had any luck so far.<br>
<br>I&#39;ve tried these code <br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget</a><br><br>taking out some parts like the mouse events, but only draws 1 point at some part near my volume rendered and once I click over the qvtkwidget it just dissapers.<br>
<br>I&#39;ve done the same to a clean qvtkwdiget and it draws the full circle with the points, but doesn&#39;t allow me any kind of interaction. Same thing, the contour widget just dissapears as I click on th q vtkwidget.<br>
<br>I need some guide in these plz. Any help &#39;d me appreciated, thx in advance.<br><br><br clear="all"><br>-- <br><b><font color="#000066" face="&#39;comic sans ms&#39;, sans-serif">Rodrigo </font></b>