Class Scanner

    • Constructor Detail

      • Scanner

        public Scanner​(long cPtr,
                       boolean cMemoryOwn)
    • Method Detail

      • getCPtr

        public static long getCPtr​(Scanner obj)
      • delete

        public void delete()
        Overrides:
        delete in class Sensor
      • open

        public void open()
        Opens connection to the scanner
      • isOpen

        public boolean isOpen()
        Returns whether the scanner has been opened

        Returns:
        true if scanner is opened
      • close

        public void close()
        Closes the connection to the scanner
      • acquire

        public void acquire()
        Acquires data
      • isScanReady

        public boolean isScanReady()
        tests whether an image has been acquired

        Returns:
        true if an image has been acquired, false otherwise.
      • getRange

        public pairDoubleDouble getRange()
        Returns the min and max range of this Scanner
        Returns:
        min and max range
      • getFrameRate

        public double getFrameRate()
        returns the framerate that this camera is setup with

        Returns:
        the framerate in frames per second