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 Detail

      • 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 Detail

      • PoMeshProbePoint

        public PoMeshProbePoint()
        Constructor.
    • Method Detail

      • setMotionCallback

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

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

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

        public void setLeaveMeshCallback​(PoProbeCB cb,
                                         java.lang.Object userData)
        Set a callback that is triggered each time the probe leaves the mesh