import vtk.vtkAssemblyNode;
import vtk.vtkAssemblyPath;
import vtk.vtkCellPicker;
+import vtk.vtkObject;
import vtk.vtkObjectBase;
import vtk.vtkPointPicker;
import vtk.vtkProp;
public InteractiveVtkComposite(Composite parentComposite) {
super(parentComposite);
this.parentComposite = parentComposite;
-
- // TODO Auto-generated constructor stub
+
+ // This is actually a static method in C++
+ new vtkObject().GlobalWarningDisplayOff();
}
private boolean updating = false;
public void lock() {
getVTKLock().lock();
- if (getComponent().getContext() != null && !getComponent().getContext().isCurrent()) {
- @SuppressWarnings("unused")
- int ret = getComponent().getContext().makeCurrent();
-// System.out.println("Make current2 " + ret);
- }
}
public void unlock() {