Class PoMeshProbePoint

All Implemented Interfaces:
SafeDisposable

public class PoMeshProbePoint extends PoMesh
Probing in a mesh. Class to get information about the position of a probe. Callbacks can be trigger each time the probe moves. These callbacks have as parameter, the cell that contains the position of the probe.
  • Field Details

    • position

      public final SoSFVec3f position
      Position of the point probe.
    • tolerance

      public final SoSFFloat tolerance
      Tolerance used to locate the position of the probe inside a cell of the mesh.
  • Constructor Details

    • PoMeshProbePoint

      public PoMeshProbePoint()
      Constructor.
  • Method Details

    • setMotionCallback

      public void setMotionCallback(PoProbeCB cb, Object userData)
      Set a callback that is triggered each time "position" change
    • setChangeCellCallback

      public void setChangeCellCallback(PoProbeCB cb, Object userData)
      Set a callback that is triggered each time the probe enters another cell
    • setEnterMeshCallback

      public void setEnterMeshCallback(PoProbeCB cb, Object userData)
      Set a callback that is triggered each time the probe enters the mesh
    • setLeaveMeshCallback

      public void setLeaveMeshCallback(PoProbeCB cb, Object userData)
      Set a callback that is triggered each time the probe leaves the mesh
    • getClassNodekitCatalog

      public static SoNodekitCatalog getClassNodekitCatalog()
      Returns the SoNodekitCatalog for this class.