Package boofcv.gui.d3

Class PointCloudViewerSwing

  • All Implemented Interfaces:
    boofcv.visualize.PointCloudViewer

    public class PointCloudViewerSwing
    extends java.lang.Object
    implements boofcv.visualize.PointCloudViewer
    Wrapper around PointCloudViewerPanelSwing for PointCloudViewer.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface boofcv.visualize.PointCloudViewer

        boofcv.visualize.PointCloudViewer.Colorizer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addCloud​(java.util.List<georegression.struct.point.Point3D_F64> cloud)  
      void addCloud​(java.util.List<georegression.struct.point.Point3D_F64> cloudXyz, int[] colorsRgb)  
      void addCloud​(org.ddogleg.struct.GrowQueue_F32 cloudXYZ, org.ddogleg.struct.GrowQueue_I32 colorRGB)  
      void addPoint​(double x, double y, double z, int rgb)  
      void addWireFrame​(java.util.List<georegression.struct.point.Point3D_F64> vertexes, boolean closed, int rgb, int widthPixels)  
      void clearPoints()  
      org.ddogleg.struct.FastQueue<boofcv.struct.Point3dRgbI_F64> copyCloud​(org.ddogleg.struct.FastQueue<boofcv.struct.Point3dRgbI_F64> copy)  
      georegression.struct.se.Se3_F64 getCameraToWorld​(georegression.struct.se.Se3_F64 cameraToWorld)  
      javax.swing.JComponent getComponent()  
      void removeColorizer()  
      void setBackgroundColor​(int rgb)  
      void setCameraHFov​(double radians)  
      void setCameraToWorld​(georegression.struct.se.Se3_F64 cameraToWorld)  
      void setClipDistance​(double distance)  
      void setColorizer​(boofcv.visualize.PointCloudViewer.Colorizer colorizer)  
      void setDotSize​(int pixels)  
      void setFog​(boolean active)  
      void setShowAxis​(boolean show)  
      void setTranslationStep​(double step)  
      • Methods inherited from class java.lang.Object

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

      • PointCloudViewerSwing

        public PointCloudViewerSwing()
    • Method Detail

      • setShowAxis

        public void setShowAxis​(boolean show)
        Specified by:
        setShowAxis in interface boofcv.visualize.PointCloudViewer
      • setTranslationStep

        public void setTranslationStep​(double step)
        Specified by:
        setTranslationStep in interface boofcv.visualize.PointCloudViewer
      • setDotSize

        public void setDotSize​(int pixels)
        Specified by:
        setDotSize in interface boofcv.visualize.PointCloudViewer
      • setClipDistance

        public void setClipDistance​(double distance)
        Specified by:
        setClipDistance in interface boofcv.visualize.PointCloudViewer
      • setFog

        public void setFog​(boolean active)
        Specified by:
        setFog in interface boofcv.visualize.PointCloudViewer
      • setBackgroundColor

        public void setBackgroundColor​(int rgb)
        Specified by:
        setBackgroundColor in interface boofcv.visualize.PointCloudViewer
      • addCloud

        public void addCloud​(java.util.List<georegression.struct.point.Point3D_F64> cloudXyz,
                             int[] colorsRgb)
        Specified by:
        addCloud in interface boofcv.visualize.PointCloudViewer
      • addCloud

        public void addCloud​(java.util.List<georegression.struct.point.Point3D_F64> cloud)
        Specified by:
        addCloud in interface boofcv.visualize.PointCloudViewer
      • addCloud

        public void addCloud​(org.ddogleg.struct.GrowQueue_F32 cloudXYZ,
                             org.ddogleg.struct.GrowQueue_I32 colorRGB)
        Specified by:
        addCloud in interface boofcv.visualize.PointCloudViewer
      • addPoint

        public void addPoint​(double x,
                             double y,
                             double z,
                             int rgb)
        Specified by:
        addPoint in interface boofcv.visualize.PointCloudViewer
      • addWireFrame

        public void addWireFrame​(java.util.List<georegression.struct.point.Point3D_F64> vertexes,
                                 boolean closed,
                                 int rgb,
                                 int widthPixels)
        Specified by:
        addWireFrame in interface boofcv.visualize.PointCloudViewer
      • clearPoints

        public void clearPoints()
        Specified by:
        clearPoints in interface boofcv.visualize.PointCloudViewer
      • setColorizer

        public void setColorizer​(boofcv.visualize.PointCloudViewer.Colorizer colorizer)
        Specified by:
        setColorizer in interface boofcv.visualize.PointCloudViewer
      • removeColorizer

        public void removeColorizer()
        Specified by:
        removeColorizer in interface boofcv.visualize.PointCloudViewer
      • setCameraHFov

        public void setCameraHFov​(double radians)
        Specified by:
        setCameraHFov in interface boofcv.visualize.PointCloudViewer
      • setCameraToWorld

        public void setCameraToWorld​(georegression.struct.se.Se3_F64 cameraToWorld)
        Specified by:
        setCameraToWorld in interface boofcv.visualize.PointCloudViewer
      • getCameraToWorld

        public georegression.struct.se.Se3_F64 getCameraToWorld​(@Nullable
                                                                georegression.struct.se.Se3_F64 cameraToWorld)
        Specified by:
        getCameraToWorld in interface boofcv.visualize.PointCloudViewer
      • copyCloud

        public org.ddogleg.struct.FastQueue<boofcv.struct.Point3dRgbI_F64> copyCloud​(@Nullable
                                                                                     org.ddogleg.struct.FastQueue<boofcv.struct.Point3dRgbI_F64> copy)
        Specified by:
        copyCloud in interface boofcv.visualize.PointCloudViewer
      • getComponent

        public javax.swing.JComponent getComponent()
        Specified by:
        getComponent in interface boofcv.visualize.PointCloudViewer