[vtkusers] Questions on vtkWindowInteractor and vtkOutputWindow

Frederic DANESI frederic.danesi at dinccs.com
Mon Jun 16 02:52:17 EDT 2008


Hi,

Have a look at vtkCanvas.java (which is enclosed in vtk.jar file) and
vtkPanel.java which are convenience classes designed to help you to manage
the interaction ... you will find the link and calls to interactor inside
vtkCanvas.
I suggest you to simply rewrite our vtkCanvas class ...

Fred.

> -----Message d'origine-----
> De : vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] De la part
de
> Phil Goddard
> Envoyé : dimanche 15 juin 2008 05:45
> À : vtkusers at public.kitware.com
> Objet : [vtkusers] Questions on vtkWindowInteractor and vtkOutputWindow
> 
> 
> I'm new to VTK and am wondering if someone may be able to address the
> following questions for me.
> Both relate to using the SimpleVTK.java and Cone.java examples.
> I'm using the CVS version of VTK, compiling with Visual Studio 2003.Net.
> 
> 1. The vtkRenderWindowInteractor seems to be on, however the interactor is
> not explicitly set in the code.
> Is this interactor on by default?
> If so, where is it turned on, and how do I turn it off?
> If not, why am I able to use the standard interaction key/mouse movements?
> 
> Also, if I only want some of the interactions, is it possible to turn only
a
> subset of them on/off without writing my own interactor?
> 
> 2. When I keypress-w I get a vtkOutputWindow being generated and several
> warning messages about vtkActor::InitPartTraversal and GetNumberOfParts
> being deprecated in VTK5.2
> How can I suppress these warnings, and prevent an output window being
> created?
> 
> Thanks
> Phil.
> 
> 
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the 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