Package boofcv.gui.d3
Class PointCloudViewerSwing
- java.lang.Object
-
- boofcv.gui.d3.PointCloudViewerSwing
-
- All Implemented Interfaces:
boofcv.visualize.PointCloudViewer
public class PointCloudViewerSwing extends java.lang.Object implements boofcv.visualize.PointCloudViewerWrapper aroundPointCloudViewerPanelSwingforPointCloudViewer.
-
-
Constructor Summary
Constructors Constructor Description PointCloudViewerSwing()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCloud(java.util.List<georegression.struct.point.Point3D_F64> cloud)voidaddCloud(java.util.List<georegression.struct.point.Point3D_F64> cloudXyz, int[] colorsRgb)voidaddCloud(org.ddogleg.struct.GrowQueue_F32 cloudXYZ, org.ddogleg.struct.GrowQueue_I32 colorRGB)voidaddPoint(double x, double y, double z, int rgb)voidaddWireFrame(java.util.List<georegression.struct.point.Point3D_F64> vertexes, boolean closed, int rgb, int widthPixels)voidclearPoints()org.ddogleg.struct.FastQueue<boofcv.struct.Point3dRgbI_F64>copyCloud(org.ddogleg.struct.FastQueue<boofcv.struct.Point3dRgbI_F64> copy)georegression.struct.se.Se3_F64getCameraToWorld(georegression.struct.se.Se3_F64 cameraToWorld)javax.swing.JComponentgetComponent()voidremoveColorizer()voidsetBackgroundColor(int rgb)voidsetCameraHFov(double radians)voidsetCameraToWorld(georegression.struct.se.Se3_F64 cameraToWorld)voidsetClipDistance(double distance)voidsetColorizer(boofcv.visualize.PointCloudViewer.Colorizer colorizer)voidsetDotSize(int pixels)voidsetFog(boolean active)voidsetShowAxis(boolean show)voidsetTranslationStep(double step)
-
-
-
Method Detail
-
setShowAxis
public void setShowAxis(boolean show)
- Specified by:
setShowAxisin interfaceboofcv.visualize.PointCloudViewer
-
setTranslationStep
public void setTranslationStep(double step)
- Specified by:
setTranslationStepin interfaceboofcv.visualize.PointCloudViewer
-
setDotSize
public void setDotSize(int pixels)
- Specified by:
setDotSizein interfaceboofcv.visualize.PointCloudViewer
-
setClipDistance
public void setClipDistance(double distance)
- Specified by:
setClipDistancein interfaceboofcv.visualize.PointCloudViewer
-
setFog
public void setFog(boolean active)
- Specified by:
setFogin interfaceboofcv.visualize.PointCloudViewer
-
setBackgroundColor
public void setBackgroundColor(int rgb)
- Specified by:
setBackgroundColorin interfaceboofcv.visualize.PointCloudViewer
-
addCloud
public void addCloud(java.util.List<georegression.struct.point.Point3D_F64> cloudXyz, int[] colorsRgb)- Specified by:
addCloudin interfaceboofcv.visualize.PointCloudViewer
-
addCloud
public void addCloud(java.util.List<georegression.struct.point.Point3D_F64> cloud)
- Specified by:
addCloudin interfaceboofcv.visualize.PointCloudViewer
-
addCloud
public void addCloud(org.ddogleg.struct.GrowQueue_F32 cloudXYZ, org.ddogleg.struct.GrowQueue_I32 colorRGB)- Specified by:
addCloudin interfaceboofcv.visualize.PointCloudViewer
-
addPoint
public void addPoint(double x, double y, double z, int rgb)- Specified by:
addPointin interfaceboofcv.visualize.PointCloudViewer
-
addWireFrame
public void addWireFrame(java.util.List<georegression.struct.point.Point3D_F64> vertexes, boolean closed, int rgb, int widthPixels)- Specified by:
addWireFramein interfaceboofcv.visualize.PointCloudViewer
-
clearPoints
public void clearPoints()
- Specified by:
clearPointsin interfaceboofcv.visualize.PointCloudViewer
-
setColorizer
public void setColorizer(boofcv.visualize.PointCloudViewer.Colorizer colorizer)
- Specified by:
setColorizerin interfaceboofcv.visualize.PointCloudViewer
-
removeColorizer
public void removeColorizer()
- Specified by:
removeColorizerin interfaceboofcv.visualize.PointCloudViewer
-
setCameraHFov
public void setCameraHFov(double radians)
- Specified by:
setCameraHFovin interfaceboofcv.visualize.PointCloudViewer
-
setCameraToWorld
public void setCameraToWorld(georegression.struct.se.Se3_F64 cameraToWorld)
- Specified by:
setCameraToWorldin interfaceboofcv.visualize.PointCloudViewer
-
getCameraToWorld
public georegression.struct.se.Se3_F64 getCameraToWorld(@Nullable georegression.struct.se.Se3_F64 cameraToWorld)- Specified by:
getCameraToWorldin interfaceboofcv.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:
copyCloudin interfaceboofcv.visualize.PointCloudViewer
-
getComponent
public javax.swing.JComponent getComponent()
- Specified by:
getComponentin interfaceboofcv.visualize.PointCloudViewer
-
-