Class BatchDistanceRayCasting

java.lang.Object
cz.fidentis.analyst.engines.face.batch.distance.impl.BatchIndirectDistanceImpl
cz.fidentis.analyst.engines.face.batch.distance.impl.BatchDistanceRayCasting
All Implemented Interfaces:
BatchDistance, BatchIndirectDistance

public class BatchDistanceRayCasting extends BatchIndirectDistanceImpl
A class 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 or possibly GPU cores concurrently.

  • Constructor Details

    • BatchDistanceRayCasting

      public BatchDistanceRayCasting(HumanFace gaugeFace, int numFaces, com.jogamp.opengl.GLContext context)
      Constructor.
      Parameters:
      gaugeFace - A face serving as a "gauge". It is usually an average face of a set of faces.
      numFaces - The number of faces to be measured (excluding the gauge face)
      context - Active OpenGL context on which makeCurrent() can be called. If this parameter is not null, then GPU will be used. Otherwise, regular CPU implementation is used.
  • Method Details