[vtkusers] Problems Adding a contourwidget in a qvtkwidget

Rodrigo Lovera lobo.theslayer at gmail.com
Sun Dec 2 20:26:25 EST 2012


Hello everyone,

I'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't had any luck so far.

I've tried these code
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget

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.

I've done the same to a clean qvtkwdiget and it draws the full circle with
the points, but doesn't allow me any kind of interaction. Same thing, the
contour widget just dissapears as I click on th q vtkwidget.

I need some guide in these plz. Any help 'd me appreciated, thx in advance.



-- 
*Rodrigo *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121202/c247a9b4/attachment.htm>


More information about the vtkusers mailing list