Class Scanner25DModel


  • public class Scanner25DModel
    extends SensorModel
    Model of a 25D (2D with depth information) scanner. The images are
    essentially point clouds.
    • Constructor Detail

      • Scanner25DModel

        public Scanner25DModel​(long cPtr,
                               boolean cMemoryOwn)
      • Scanner25DModel

        public Scanner25DModel​(java.lang.String name,
                               int width,
                               int height,
                               Frame frame)
        constructor

        Parameters:
        name - [in] name of scanner sensor
        width - [in]
        height - [in]
        frame - [in] the frame that the scanner is attached to
    • Method Detail

      • getScan

        public PointCloud getScan​(State state)
        get handle to point cloud data in state.

        Parameters:
        state - [in] the state with point cloud data
      • setScan

        public void setScan​(PointCloud data,
                            State state)
        set point cloud data in state

        Parameters:
        data - [in] point cloud data to set
        state - [in] state in which to set the point cloud
      • getWidth

        public int getWidth()
        width of images taken with 25 sensor
      • getHeight

        public int getHeight()
        height of images taken with 25 sensor
      • getRange

        public pairDoubleDouble getRange()
        get the min and maximum depth of this scanner in meters
      • setRange

        public void setRange​(double min,
                             double max)
        set the min and maximum depth of this scanner in meters
      • setRange

        public void setRange​(pairDoubleDouble range)
        set the min and maximum depth of this scanner in meters