Class RayCastingDistanceTask

All Implemented Interfaces:
Runnable, Future<Void>, RunnableFuture<Void>

public class RayCastingDistanceTask extends BatchDistanceTask
A task that computes similarity of a set of faces by casting rays in the diction of template face normals.

The computation is accelerated by using multiple CPU cores concurrently. The exact computation parameters are taken from the BatchDistancePanel.

  • Constructor Details

    • RayCastingDistanceTask

      public RayCastingDistanceTask(ProgressDialog<Void,Integer> progressDialog, BatchDistancePanel controlPanel, com.jogamp.opengl.GLContext context)
      Constructor.
      Parameters:
      progressDialog - A window that show the progress of the computation. Must not be null
      controlPanel - A control panel with computation parameters. Must not be null
      context - Active OpenGL context on which makeCurrent() can be called, if not null, then GPU will be used. Otherwise, regular CPU implementation is used.
  • Method Details