Uses of Class
boofcv.struct.mesh.VertexMesh
Package
Description
-
Uses of VertexMesh in boofcv.gui.mesh
Modifier and TypeMethodDescriptionstatic RenderMesh.SurfaceColor
MeshColorizeOps.colorizeByNormal
(VertexMesh mesh) Computes the normal angle and varies the color between green and white depending on the acute angle relative to the world's z-xisstatic RenderMesh.SurfaceColor
MeshColorizeOps.colorizeByVertex
(VertexMesh mesh, int[] vertexColor) Colorizes each surface based on the color of the first vertexvoid
FirstPersonCameraControl.selectInitialParameters
(VertexMesh mesh) There is no real good universal way to select how much it should translate.void
OrbitAroundPointControl.selectInitialParameters
(VertexMesh mesh) By default sets the focal point that it rotates around to the medium pointvoid
Swing3dCameraControl.selectInitialParameters
(VertexMesh mesh) Selects a reasonable initial location to view the specified meshvoid
MeshViewerPanel.setMesh
(VertexMesh mesh, boolean copy) Sets the mesh which will be rendered.ModifierConstructorDescriptionMeshViewerPanel
(VertexMesh mesh) Convenience constructor that callsMeshViewerPanel.setMesh(VertexMesh, boolean)
and the default constructor. -
Uses of VertexMesh in boofcv.io.points
Modifier and TypeMethodDescriptionStlDataStructure.toMesh
(@Nullable VertexMesh out) Converts this into aVertexMesh
.Modifier and TypeMethodDescriptionstatic void
PointCloudIO.load
(PointCloudIO.Format format, InputStream input, VertexMesh mesh, DogArray_I32 vertexRgb) Reads a 3D mesh from the input stream in the specified format and writes it to the output.static void
PointCloudIO.save3D
(PointCloudIO.Format format, VertexMesh mesh, @Nullable DogArray_I32 colorRGB, OutputStream outputStream) StlDataStructure.toMesh
(@Nullable VertexMesh out) Converts this into aVertexMesh
. -
Uses of VertexMesh in boofcv.io.points.impl
Modifier and TypeMethodDescriptionstatic void
ObjFileCodec.load
(InputStream input, VertexMesh output) static void
PlyCodec.readMesh
(InputStream input, VertexMesh mesh, DogArray_I32 colorRGB) static void
ObjFileCodec.save
(VertexMesh mesh, Writer writer) static void
PlyCodec.saveMeshAscii
(VertexMesh mesh, @Nullable DogArray_I32 colorRGB, Writer outputWriter) static void
PlyCodec.saveMeshBinary
(VertexMesh mesh, @Nullable DogArray_I32 colorRGB, ByteOrder order, boolean saveAsFloat, OutputStream outputWriter) Saves data in binary format -
Uses of VertexMesh in boofcv.struct.mesh
-
Uses of VertexMesh in boofcv.visualize
Modifier and TypeMethodDescriptionvoid
RenderMesh.render
(VertexMesh mesh) Renders the mesh onto an image.