[vtkusers] Re fresh vtkPanel
Thao Do
thao10 at gmail.com
Mon Jan 18 13:03:34 EST 2010
Hi Jeff,
You are right! I called the Render() method and it is now working.
Thank you!
Thao
On Mon, Jan 18, 2010 at 10:52 AM, Jeff Baumes <jeff.baumes at kitware.com>wrote:
> On Mon, Jan 18, 2010 at 12:41 PM, thao <thao10 at gmail.com> wrote:
> >
> > Hello all,
> >
> > My application consists of a vtkPanel in a JFrame. I have a button for
> the
> > user to reset the camera. When this button is pressed the vtkPanel
> should
> > refresh. But it looks like it is only refreshing when I minimize the
> whole
> > JFrame window and then maximize it again.
> >
> > Does anyone have a suggestion on how to properly refresh a vtkPanel in a
> > JFrame?
> >
>
> Are you calling just ResetCamera()? You also need to call Render() to
> make the view re-render. Could you send the code that is executed when
> the button is pressed?
>
> Jeff
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100118/fc1f3f95/attachment.htm>
More information about the vtkusers
mailing list