[vtkusers] how can i add my program output to a GUI?

John Drescher drescherjm at gmail.com
Tue Aug 26 10:56:08 EDT 2008


>>>> Did you try the Qt (Trolltech) GUI toolkit? There is a Widget for VTK. There
>>>> are some examples in the VTK-package.
>>>> Lars
>>>>
>>>
>>> That is how I do this.
>>>
>>>
>>> vtkRenderWindow
>>>
>
> After I posted that I thought to myself that this is not the best
> example VTK2dWidget is much better..
>
> class VTK2dWidget : public QWidget, public Ui::vtk2dWidget
>

Okay,this is my last correction. QVTKWidget is what you want.

Next time I will refrain from trying to read code through my version
control's web view to find a good example..

John



More information about the vtkusers mailing list