Class CameraGroup


  • public class CameraGroup
    extends java.lang.Object
    A group of cameras.
    • Constructor Detail

      • CameraGroup

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

      • getCPtr

        public static long getCPtr​(CameraGroup obj)
      • delete

        public void delete()
      • getName

        public java.lang.String getName()
        Get name of group.
        Returns:
        the name.
      • isEnabled

        public boolean isEnabled()
        Check if group is enabled.
        Returns:
        true if enabled.
      • setEnabled

        public void setEnabled​(boolean enabled)
        Enable/disable group.
        Parameters:
        enabled - [in] true to enable, false to disable.
      • removeCamera

        public void removeCamera​(int index)
        Remove camera.
        Parameters:
        index - [in] the index of the camera to remove.
      • setOffscreenRenderEnabled

        public boolean setOffscreenRenderEnabled​(boolean enable)
        Enable/disable offscreen rendering.
        Parameters:
        enable - [in] true to enable, false to disable.
        Returns:
        true if offscreen rendering was enabled, false if offscreen rendering is not
        possible.
      • isOffscreenRenderEnabled

        public boolean isOffscreenRenderEnabled()
        Check if offscreen rendering is enabled.
        Returns:
        true if enabled, false otherwise.
      • setOffscreenRenderSize

        public void setOffscreenRenderSize​(int width,
                                           int height)
        Set size for offscreen rendering.
        Parameters:
        width - [in]
        height - [in]
      • setOffscreenRenderColor

        public void setOffscreenRenderColor​(Image.ColorCode color)
        Set color space for offscreen rendering.
        Parameters:
        color - [in] the color space to use.
      • setCopyToImage

        public void setCopyToImage​(ImagePtr img)
        Copy to image.
        Parameters:
        img - [out] image to copy to.
      • setCopyToScan25D

        public void setCopyToScan25D​(PointCloudPtr img)
        Copy to point cloud.
        Parameters:
        img - [out] point cloud to copy to.
      • setMultiSample

        public void setMultiSample​(int samples)
        Enable multi-sampling.
        Parameters:
        samples - [in] number of samples.