Class FrameGrabber25D

  • Direct Known Subclasses:
    GLFrameGrabber25D

    public class FrameGrabber25D
    extends java.lang.Object
    The FrameGrabber25D abstract interface, can be used to grab images from a
    specialized source.
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameGrabber25D​(long cPtr, boolean cMemoryOwn)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()  
      static long getCPtr​(FrameGrabber25D obj)  
      double getFieldOfViewY()
      Returns the field of view measured around the y-axis.
      long getHeight()
      returns the height of the image
      PointCloud getImage()
      returns the image
      double getMaxDepth()
      maximum depth that this framegrabber can handle
      double getMinDepth()
      minimum depth that this framegrabber can handle
      long getWidth()
      returns the width of the image
      void grab​(FramePtr frame, State state)
      this function grabs a image from the specialized source and
      copies it to the FrameGrabber25D image.
      void resize​(long width, long height)
      resizes the image that this frameGrabber use.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FrameGrabber25D

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

      • delete

        public void delete()
      • getWidth

        public long getWidth()
        returns the width of the image
        Returns:
        the height of the image
      • getHeight

        public long getHeight()
        returns the height of the image
        Returns:
        the height of the image
      • getFieldOfViewY

        public double getFieldOfViewY()
        Returns the field of view measured around the y-axis.
        Returns:
        Field of view measured around y-axis in radians
      • resize

        public void resize​(long width,
                           long height)
        resizes the image that this frameGrabber use. The colorcode will
        default to the one that FrameGrabber25D was initialized with.
        Parameters:
        width - [in] width of image
        height - [in] height of image
      • getImage

        public PointCloud getImage()
        returns the image
        Returns:
        the image
      • grab

        public void grab​(FramePtr frame,
                         State state)
        this function grabs a image from the specialized source and
        copies it to the FrameGrabber25D image.
      • getMaxDepth

        public double getMaxDepth()
        maximum depth that this framegrabber can handle
        Returns:
        maximum depth in meter
      • getMinDepth

        public double getMinDepth()
        minimum depth that this framegrabber can handle
        Returns:
        minimum depth in meter