[IGSTK-Users] KWWidgets and IGSTK
Andinet Enquobahrie
andinet.enqu at kitware.com
Wed Apr 23 08:29:55 EDT 2008
Hi Ozgur,
The igstkFLTKWidget is a specialized class of the Fl_GL_Window. Its purpose
is to display graphical representation and capture and translate FLTK
events to VTK
events..But all the other FLTK GUI elements can be directly used in your
applications.
All elements don't need to be integrated into the IGSTK toolkit to be
used in application
development.If you take a look at the Example applications in the Sandbox
( such as NeedleBiopsy), in addition to igtkFLTKWidget, GUI elements
such as
action buttons, menus are used.
KWWidgets provides vtkKWRenderWidget which uses internally a
vtkTKRenderWidget.
vtkTKRenderWidget is a Tk widget that you can render your scene into. To
use this widget in
IGSTK, you will need to implement a subclass of vtkTkRenderWidget
similar to the way
QVTKWidget is subclassed to implement igstkQTWidget.
Currently, we don't have any plan of implementing igstkTkWidget.
However, if you are interested to
to undertake this task and contribute back to the community, I will be
more than happy to guide you
through the process.
Cheers,
-Andinet
>Hello,
>
>so far I used fltk for GUI, but some useful GUI elements such tables and trees are not natively integrated in this toolkit.
>Therefore
>is it possible to use KWWidgets instead?
>Can you outline please the procedure to integrate also KWWidgets beside fltk and Qt or is it enough to modify igstkFLTKWidget.h/cxx?
>
>best regards
>
>özgür güler MSc
>ENT clinic
>Innsbruck Austria
>
>
>
>
>
--
==========================================================
Andinet A. Enquobahrie, PhD
R&D Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x124
www.kitware.com
More information about the IGSTK-Users
mailing list