[vtkusers] Add a menu item in VTK

Gishara Indeewarie gish.777 at gmail.com
Tue Feb 28 06:32:07 EST 2012


Thanks for the info David.

On Mon, Feb 27, 2012 at 5:52 PM, David Doria <daviddoria at gmail.com> wrote:

> >> Hi all,
> >>
> >> Could someone give me an example for adding a menu item in vtk in c++?
> >> I want to allow the user to change the data in vtk render by pressing a
> >> button.
> >> I thought of doing this by adding right click menu in vtk.
> >> Thanks.
>
> You should look into using Qt for all of your GUI needs, and use a
> QVTKWidget inside your Qt widget.
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx#Qt
>
> There is a learning curve, but it's worth it.
>
> David
>



-- 
Gish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120228/3a554ef3/attachment.htm>


More information about the vtkusers mailing list