import java.util.concurrent.locks.ReentrantLock;
+import org.eclipse.swt.internal.DPIUtil;
+
import vtk.vtkAxesActor;
import vtk.vtkCamera;
import vtk.vtkGenericRenderWindowInteractor;
if (renderWindow == null || windowInteractor == null) {
return; // Nothing to do we are deleted...
}
-
+ w = DPIUtil.autoScaleUp(w);
+ h = DPIUtil.autoScaleUp(h);
try {
lock.lockInterruptibly();
renderWindow.SetSize(w, h);