|
VTK Examples in Java | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvtk.util.VtkPanelUtil
Utilities to simplify use of vtkPanel.
Field Summary | |
static long |
MAX_WAIT
Maximum wait time in milliseonds. |
Method Summary | |
static void |
hardCopyWhenWindowSet(java.lang.String fileName,
vtk.vtkPanel renWin)
Wait (block) till vtkPanel 's property windowSet
is true then write hard copy of the vtkPanel content to a TIFF file. |
static void |
setSize(vtk.vtkPanel renWin,
int xSize,
int ySize)
Set size of vtkPanel so Java JPanel and VTK render window coordinates are synchronised. |
static void |
waitTillWindowSet(vtk.vtkPanel renWin)
Wait (block) till vtkPanel 's property windowSet is true . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long MAX_WAIT
Method Detail |
public static void waitTillWindowSet(vtk.vtkPanel renWin) throws java.lang.InterruptedException
vtkPanel
's property windowSet is true
.
renWin
- vtkPanel to wait for.
java.lang.InterruptedException
public static void setSize(vtk.vtkPanel renWin, int xSize, int ySize)
renWin
- vtkPanel for which to safely set sizexSize
- size in X.ySize
- size in Y.public static void hardCopyWhenWindowSet(java.lang.String fileName, vtk.vtkPanel renWin) throws java.lang.InterruptedException, java.lang.reflect.InvocationTargetException
vtkPanel
's property windowSet
is true
then write hard copy of the vtkPanel content to a TIFF file.
fileName
- name of the file where to write vtkPanel content.renWin
- vtkPanel to get hard copy from.
java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |