[vtkusers] vtk + gtk - out of border bug

z.pekar at gmail.com z.pekar at gmail.com
Tue Jun 24 15:45:44 EDT 2008


Hi,
2 attached c++ files show implementation of vtk binding to gtk (based
on gtkglext) - I was told that there vtk simply draws into a gtk
widget.
On windows (linux works fine) I get problems with resizing app's
window containing this vtkGtk widget (see attached image - red arrow)
- vtk stuff gets out of its borders. The question is: how does vtk
determines the dimensions of the widget it has to draw to? what can be
done about it?
thank you in advance
Zeev Pekar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkGtkRenderWindowInteractor.h
Type: text/x-chdr
Size: 3283 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080624/ef00fc92/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkGtkRenderWindowInteractor.cpp
Type: text/x-c++src
Size: 12918 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080624/ef00fc92/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: outOfBorderBug.jpg
Type: image/jpeg
Size: 26562 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080624/ef00fc92/attachment.jpg>


More information about the vtkusers mailing list