[vtkusers] interacting with vtkPanel (java/vtk)

John Biddiscombe john.biddiscombe at mirada-solutions.com
Tue Jun 24 08:24:44 EDT 2003


Jeff,

I've got some trouble with symptoms you might be able to diagnose...

If I click a radiobutton to toggle between some options (say, mip, iso, composite...) and then click on my Renderwindow to interact (I'm using InteractorStyleTrackball - not using any mouse events captured in the vtkPanel etc but letting vtk handle them directly), my radio buttons toggle as I interact. Every frmae the buttons toggle between the different states. If I then click on a slider and drag it up or down, then click on the renderwindow, the slider goes up and down (between it's new state and previous state) and the radio buttons toggle. I can then click on another slider, some more buttons and back to the renderwindow and have a virtual circus of randomly flickering controls.

Any ideas what's going on. Being a bit new to java I'm natuallr very impressed with how it manages this.

JB


> -----Original Message-----
> From: Jeff Lee [mailto:jeff at cdnorthamerica.com]
> Sent: 24 June 2003 11:37
> To: Romain Ollivier
> Cc: vtkusers at vtk.org
> Subject: Re: [vtkusers] interacting with vtkPanel (java/vtk)
> 
> 
> 
> 
> Romain Ollivier wrote:
> 
> >  Hi,
> >
> >  I sent a previous post to ask for help about manipulating 
> and render a
> >vtkPanel with a widget. Has someone an example of an 
> interaction between
> >a vtkPanel and a widget (JButton, JSlider...) in the same JFrame ? My
> >problem was the call of the vtkPanel method Render() in my event
> >handling method.
> >
> what were the symptoms?  do you have some sample code which 
> exhibits the 
> symptoms?
> -Jeff
> 
> >
> >  Thanks,
> >
> >      Romain
> >_______________________________________________
> >This is the private VTK discussion list. 
> >Please keep messages on-topic. Check the FAQ at: 
<http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>  
>

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list