[vtkusers] vtk and java
jeff at cdnorthamerica.com
Thu Jul 31 15:42:01 EDT 2003
The latest version of vtkPanel/vtkCanvas(about 4 months old) should be
honoring the container size on the first render. See the tests in
dsjen at cs.unc.edu wrote:
>I had the exact same problem. In order to get it to work, you need to
>set the interactor size ( ie. getInteractor.SetSize(300, 300) ).
>In the vtkCanvas.java, some condition isn't met when calling SetSize
>in the window and the interactor size is never set. I've already
>submitted a bug report for this, but it doesn't look like it's been
>assigned to anyone yet.
>I hope this helps!
>----- Original Message -----
>From: Marcelo Ruetalo <ruetalo at cita.utoronto.ca>
>Date: Thursday, July 31, 2003 3:20 pm
>Subject: [vtkusers] vtk and java
>>I'm new to the list and my first question is the following:
>>I'm trying to build a GUI in java that makes use of vtkCanvas.
>>is created of some default small size (200x200 apparently) by its
>>constructor and the only way that seems to work for resizing it is
>>resizing its container at runtime. Calling its SetSize() method at
>>initialization seems to be ignored. How can I start the vtkCanvas
>>size I want?
>>Thanks for your help,
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at: <"
>>Follow this link to subscribe/unsubscribe:
>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:
More information about the vtkusers