You can do both, look at the examples in the VTK tree in particular VTK/Examples/GUI/Qt for QT.<br>Further examples and tutorials are found in:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples" target="_blank">http://www.vtk.org/Wiki/VTK/Examples</a>
and<br>
<a href="http://www.vtk.org/Wiki/VTK/Tutorials" target="_blank">http://www.vtk.org/Wiki/VTK/Tutorials</a>.
<br><br><div class="gmail_quote">On Thu, Jul 8, 2010 at 3:29 PM, Wahyudin Permana <span dir="ltr"><<a href="mailto:gebe_top@yahoo.com">gebe_top@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">HI all,<br><br>this few months, I am using vtk in Java using Swing widget tool kit in Java. in java/swing, we use vtk Panel to render vtk in Java.<br>
<br>I would like to know how to render vtk in C++? do we should use QT widget? or do we can render vtk in C++ without any widget?<br><br>thank you<br></td></tr></tbody></table><br>
</blockquote></div><br><br clear="all"><br>-- <br>___________________________________________<br>Andrew J. P. Maclean<br>Centre for Autonomous Systems<br>The Rose Street Building J04<br>The University of Sydney 2006 NSW<br>
AUSTRALIA<br>Ph: +61 2 9351 3283<br>Fax: +61 2 9351 7474<br>URL: <a href="http://www.acfr.usyd.edu.au/">http://www.acfr.usyd.edu.au/</a><br>___________________________________________<br>