public class Utils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
hasTryedToLoadVtkLib |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static int |
booleanToInt(boolean value) |
static void |
delete(vtk.vtkObjectBase o) |
static void |
goToAWTThread(java.lang.Runnable runnable)
try to render on a different thread than the thread
that creates the renderView.
|
static boolean |
intToBoolean(int value) |
static boolean |
isMeshCoherent(float[] points,
int[] indices) |
static void |
loadVTKLibraries() |
static vtk.vtkCanvas |
retrieveCanvas(java.awt.event.ComponentEvent e) |
public static void loadVTKLibraries()
public static void goToAWTThread(java.lang.Runnable runnable)
runnable
- public static void delete(vtk.vtkObjectBase o)
o
- public static vtk.vtkCanvas retrieveCanvas(java.awt.event.ComponentEvent e)
e
- public static boolean isMeshCoherent(float[] points, int[] indices)
points
- indices
- public static boolean intToBoolean(int value)
public static int booleanToInt(boolean value)
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.