[vtkusers] vtkRenderWindowInteractor initialization creates new Window on Suse Linux

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Mar 8 18:55:20 EST 2011


If you have a vtkPanel, you just need to add actor to its renderer.

panel.GetRenderer().AddActor( yourActor );

vtkPanel is abstracting all the Renderer / RenderWindow /
InteractorStyle for you...

Seb

On Tue, Mar 8, 2011 at 8:49 AM, Peter Eipert <eipert at web.de> wrote:
> Hello
>
> I use VTK 5.6.1 with Java wrappings and I want to show coord axes on a fixed
> screen position. Therefor I use the vtkOrientationMarkerWidget.
>
> Under Windows this is no Problem but under Linux (Suse 11.2 both 32 and
> 64bit) the initialization of a vtkRenderWindowInteractor leads to a new
> VTK-Window with title "Visualization Toolkit - OpenGL".
> Is this intended or a bug? And how can I avoid this.
>
>
> I tried
> GetRenderWindow().MakeRenderWindowInteractor()
> and also
> new vtkRenderWindowInteractor()
>
> Both leads to a new window with the 3D - Visualization and my vtkPanel stays
> empty.
>
> Thanks in advance
> Peter
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list