Overview | Package | Class | Tree | Deprecated | Index | Help
| ToyIP v. 0.1 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## vtk.util
Class VtkPanelUtil

    java.lang.Object
      vtk.util.VtkPanelUtil

    public class VtkPanelUtil

extends java.lang.Object

Utilities to simplify use of vtkPanel.

Version:
  $Revision: 1.9 $
Author:
  Jarek Sacha

Method Summary
`static void` | `setSize(vtk.vtkPanel renWin, int xSize, int ySize)` Set size of vtkPanel so Java JPanel and VTK render window coordinates are synchronised.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### setSize

    public static void setSize(vtk.vtkPanel renWin,
                               int xSize,
                               int ySize)

  Set size of vtkPanel so Java JPanel and VTK render window coordinates are synchronised. When a call to vtkPanel.setSize() is made before panel is rendered, panel size is not forwarded to VTK and there must be another call to setSize once the panel finished rendering for the first time.

  Parameters:
    `renWin` - vtkPanel for which to safely set size
    `xSize` - size in X.
    `ySize` - size in Y.

Overview | Package | Class | Tree | Deprecated | Index | Help
| ToyIP v. 0.1 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Jakub Marecek 2008