[vtkusers] SetWindowId in Linux

Charl P. Botha cpbotha at cpbotha.net
Wed Jun 28 17:32:52 EDT 2006


On 6/28/06, Scott Brue <scott at compass.com> wrote:
> that ID into my render window via renWin->SetWindowId((void *)
> window_id), it still creates a new window, instead of using the one I
> created.  I have done what other messages said, and made sure to set
> this value before a Render() is invoked.  I am using Linux, and the
> other program is a C program.  I am using VTK with C++.

Perhaps you need to set the DisplayId as well.  Have a look at the
draw() method of my vtkFlRenderWindowInteractor class [1] for an
example.

[1] http://cpbotha.net/vtkFlRenderWindowInteractor



More information about the vtkusers mailing list