class: PointCloudReaders
[223:14] static extends: object
Static point cloud reader factory helpers.
Methods
-
wrap3FRGB (
object Cloud, object Rgb, int Offset, int Length)Wraps float arrays plus RGB colors.
- @p
Cloudis a Java float[] containing xyz triples. - @p
Rgbis a Java int[] of colors. - @p
Offsetis first point index. - @p
Lengthis number of points. - @r
APointCloudReader.
- @p
-
wrapF32 (
object Points)Wraps a Java list of Point3D_F32 objects.
- @p
Pointsis a java.util.List. - @r
APointCloudReader.
- @p
-
wrapF64 (
object Points)Wraps a Java list of Point3D_F64 objects.
- @p
Pointsis a java.util.List. - @r
APointCloudReader.
- @p
-
wrapF32RGB (
object Points)Wraps a Java list of Point3dRgbI_F32 objects.
- @p
Pointsis a java.util.List. - @r
APointCloudReader.
- @p
-
wrapF64RGB (
object Points)Wraps a Java list of Point3dRgbI_F64 objects.
- @p
Pointsis a java.util.List. - @r
APointCloudReader.
- @p
-
wrapF32WithRgb (
object Points, object Rgb)Wraps a Java list of Point3D_F32 objects and an int[] of RGB colors.
- @p
Pointsis a java.util.List. - @p
Rgbis a Java int[]. - @r
APointCloudReader.
- @p
-
wrapF64WithRgb (
object Points, object Rgb)Wraps a Java list of Point3D_F64 objects and an int[] of RGB colors.
- @p
Pointsis a java.util.List. - @p
Rgbis a Java int[]. - @r
APointCloudReader.
- @p
-
wrapGeneric (
object Generic, int Size)Wraps a custom generic point reader.
- @p
Genericis a PointCloudReader.Generic implementation. - @p
Sizeis point count. - @r
APointCloudReader.
- @p
class: DisparityToColorPointCloud
[495:7] extends: object
DisparityToColorPointCloud wraps boofcv.alg.cloud.DisparityToColorPointCloud.
Members
- obj
Methods
-
DisparityToColorPointCloud ()
Creates a disparity-to-color point-cloud converter.
-
configure (
...)Configures the converter.
- @p
Argsmatch BoofCV configure overloads: either DisparityParameters and transform, or baseline, K, R, transform, disparityMin, disparityRange.
- @p
-
process (
object Disparity, object PixelRgb, object Writer)Converts disparity into a point cloud.
- @p
Disparityis a gray disparity image. - @p
PixelRgbis a ColorImage callback. - @p
Writeris a PointCloudWriter.
- @p
-
setRegionOfInterest (
int X0, int Y0, int X1, int Y1)Sets the region of interest.
- @p
X0is left. - @p
Y0is top. - @p
X1is right. - @p
Y1is bottom.
- @p
-
clearRegionOfInterest ()
Clears the region of interest.
class: PointCloudReader
[283:7] extends: object
PointCloudReader wraps boofcv.alg.cloud.PointCloudReader.
Members
- obj
Methods
-
PointCloudReader (
object Obj)Wraps a BoofCV point-cloud reader.
- @p
Objis an existing reader object.
- @p
-
wrap3FRGB (
object Cloud, object Rgb, int Offset, int Length)Wraps float arrays plus RGB colors.
- @p
Cloudis a Java float[] containing xyz triples. - @p
Rgbis a Java int[] of colors. - @p
Offsetis first point index. - @p
Lengthis number of points. - @r
APointCloudReader.
- @p
-
wrapF32 (
object Points)Wraps a Java list of Point3D_F32 objects.
- @p
Pointsis a java.util.List. - @r
APointCloudReader.
- @p
-
wrapF64 (
object Points)Wraps a Java list of Point3D_F64 objects.
- @p
Pointsis a java.util.List. - @r
APointCloudReader.
- @p
-
wrapF32RGB (
object Points)Wraps a Java list of Point3dRgbI_F32 objects.
- @p
Pointsis a java.util.List. - @r
APointCloudReader.
- @p
-
wrapF64RGB (
object Points)Wraps a Java list of Point3dRgbI_F64 objects.
- @p
Pointsis a java.util.List. - @r
APointCloudReader.
- @p
-
wrapF32WithRgb (
object Points, object Rgb)Wraps a Java list of Point3D_F32 objects and an int[] of RGB colors.
- @p
Pointsis a java.util.List. - @p
Rgbis a Java int[]. - @r
APointCloudReader.
- @p
-
wrapF64WithRgb (
object Points, object Rgb)Wraps a Java list of Point3D_F64 objects and an int[] of RGB colors.
- @p
Pointsis a java.util.List. - @p
Rgbis a Java int[]. - @r
APointCloudReader.
- @p
-
wrapGeneric (
object Generic, int Size)Wraps a custom generic point reader.
- @p
Genericis a PointCloudReader.Generic implementation. - @p
Sizeis point count. - @r
APointCloudReader.
- @p
-
size ()
Gets the point count.
- @r
Thenumber of points.
- @r
-
colors ()
Gets whether color is available.
- @r
Trueif RGB is available.
- @r
-
get (
int Index, object Storage)Gets a point into storage.
- @p
Indexis the point index. - @p
Storageis a Point3D_F32 or Point3D_F64 object.
- @p
-
getX (
int Index)Gets x coordinate for a point.
- @p
Indexis the point index. - @r
Thex coordinate.
- @p
-
getY (
int Index)Gets y coordinate for a point.
- @p
Indexis the point index. - @r
They coordinate.
- @p
-
getZ (
int Index)Gets z coordinate for a point.
- @p
Indexis the point index. - @r
Thez coordinate.
- @p
-
getRGB (
int Index)Gets RGB for a point.
- @p
Indexis the point index. - @r
PackedRGB.
- @p
class: PointCloudIO
[34:14] static extends: object
Static wrappers for boofcv.io.points.PointCloudIO.
Methods
-
load (
string Format, object InputStream, object Writer)Loads point cloud data.
- @p
Formatis PLY, OBJ, or STL. - @p
InputStreamis a java.io.InputStream. - @p
Writeris a PointCloudWriter or mesh target.
- @p
-
load3D32F (
string Format, object InputStream, Storage = null)Loads 32-bit float point cloud data.
- @p
Formatis PLY, OBJ, or STL. - @p
InputStreamis a java.io.InputStream. - @p
Storageis a DogArray of Point3D_F32 or null. - @r
ADogArray of Point3D_F32.
- @p
-
load3D64F (
string Format, object InputStream, Storage = null)Loads 64-bit float point cloud data.
- @p
Formatis PLY, OBJ, or STL. - @p
InputStreamis a java.io.InputStream. - @p
Storageis a DogArray of Point3D_F64 or null. - @r
ADogArray of Point3D_F64.
- @p
-
load3DRgb64F (
string Format, object InputStream, Storage = null)Loads 64-bit float RGB point cloud data.
- @p
Formatis PLY, OBJ, or STL. - @p
InputStreamis a java.io.InputStream. - @p
Storageis a DogArray of Point3dRgbI_F64 or null. - @r
ADogArray of Point3dRgbI_F64.
- @p
-
loadFile (
object File, object Mesh)Loads point cloud mesh data from a file.
- @p
Fileis a java.io.File. - @p
Meshis a VertexMesh wrapper or BoofCV mesh.
- @p
-
loadObj (
object File)Loads OBJ meshes from a file.
- @p
Fileis a java.io.File. - @r
AJava map of mesh names to VertexMesh objects.
- @p
-
loadMesh (
string Format, object InputStream, object Mesh)Loads mesh data from a stream.
- @p
Formatis PLY, OBJ, or STL. - @p
InputStreamis a java.io.InputStream. - @p
Meshis a VertexMesh wrapper or BoofCV mesh.
- @p
-
save3D (
string Format, object Reader, ...)Saves 3D point cloud data.
- @p
Formatis PLY, OBJ, or STL. - @p
Readeris a PointCloudReader or mesh. - @p
Argsare remaining BoofCV save arguments.
- @p
-
save3DReader (
string Format, object Reader, bool SaveRgb, object OutputStream)Saves point cloud reader data.
- @p
Formatis PLY, OBJ, or STL. - @p
Readeris a PointCloudReader. - @p
SaveRgbwrites RGB colors when true. - @p
OutputStreamis a java.io.OutputStream.
- @p
-
save3DMesh (
string Format, object Mesh, object Colors, object OutputStream)Saves mesh data.
- @p
Formatis PLY, OBJ, or STL. - @p
Meshis a VertexMesh. - @p
Colorsis a DogArray_I32 of RGB colors. - @p
OutputStreamis a java.io.OutputStream.
- @p
-
save3DAccess (
string Format, object Points, object Colors, int Size, bool SaveRgb, object OutputStream)Saves indexed point/color accessors.
- @p
Formatis PLY, OBJ, or STL. - @p
Pointsis an AccessPointIndex. - @p
Colorsis an AccessColorIndex or null. - @p
Sizeis the point count. - @p
SaveRgbwrites RGB colors when true. - @p
OutputStreamis a java.io.OutputStream.
- @p
-
formatLookup (
string Name)Looks up a point-cloud format enum.
- @p
Nameis PLY, OBJ, or STL. - @r
Theenum Java object.
- @p
class: Point3dRgbI_F32
[133:7] extends: object
Point3dRgbI_F32 wraps boofcv.struct.Point3dRgbI_F32.
Members
- obj
Methods
-
Point3dRgbI_F32 (
X = null, Y = null, Z = null, Rgb = null)Creates or wraps a 32-bit RGB 3D point.
- @p
Xis x or an existing point. - @p
Yis y or RGB when X is a point. - @p
Zis z. - @p
Rgbis packed RGB.
- @p
-
setTo (
X, Y, Z, int Rgb)Sets this point from coordinates and RGB.
- @p
Xis x. - @p
Yis y. - @p
Zis z. - @p
Rgbis packed RGB.
- @p
-
setToPoint (
object Point, int Rgb)Sets this point from another point and RGB.
- @p
Pointis a Point3D_F32-compatible object. - @p
Rgbis packed RGB.
- @p
-
get (
string Name)Gets a coordinate or color.
- @p
Nameis x, y, z, or rgb. - @r
Therequested value.
- @p
-
setRgb (
int Rgb)Sets RGB color.
- @p
Rgbis packed RGB.
- @p
-
getRgb ()
Gets RGB color.
- @r
PackedRGB.
- @r
class: PointCloudFormat
[22:14] static extends: object
PointCloudFormat wraps boofcv.io.points.PointCloudIO.Format.
Methods
-
valueOf (
string Name)Looks up a point-cloud file format.
- @p
Nameis PLY, OBJ, or STL. - @r
Theenum Java object.
- @p
class: PointCloudWriters
[389:14] static extends: object
Static point cloud writer factory helpers.
Methods
-
wrapF32 (
object Points)Wraps a DogArray of Point3D_F32.
- @p
Pointsis a DogArray. - @r
APointCloudWriter.
- @p
-
wrapF64 (
object Points)Wraps a DogArray of Point3D_F64.
- @p
Pointsis a DogArray. - @r
APointCloudWriter.
- @p
-
wrapF64WithRgb (
object Points, object Rgb)Wraps a DogArray of Point3D_F64 and a DogArray_I32 of RGB colors.
- @p
Pointsis a DogArray. - @p
Rgbis a DogArray_I32. - @r
APointCloudWriter.
- @p
-
wrapF32RGB (
object Points)Wraps a DogArray of Point3dRgbI_F32.
- @p
Pointsis a DogArray. - @r
APointCloudWriter.
- @p
-
wrapF64RGB (
object Points)Wraps a DogArray of Point3dRgbI_F64.
- @p
Pointsis a DogArray. - @r
APointCloudWriter.
- @p
class: Point3dRgbI_F64
[178:7] extends: object
Point3dRgbI_F64 wraps boofcv.struct.Point3dRgbI_F64.
Members
- obj
Methods
-
Point3dRgbI_F64 (
X = null, Y = null, Z = null, Rgb = null)Creates or wraps a 64-bit RGB 3D point.
- @p
Xis x or an existing point. - @p
Yis y or RGB when X is a point. - @p
Zis z. - @p
Rgbis packed RGB.
- @p
-
setTo (
X, Y, Z, int Rgb)Sets this point from coordinates and RGB.
- @p
Xis x. - @p
Yis y. - @p
Zis z. - @p
Rgbis packed RGB.
- @p
-
setToPoint (
object Point, int Rgb)Sets this point from another point and RGB.
- @p
Pointis a Point3D_F64-compatible object. - @p
Rgbis packed RGB.
- @p
-
get (
string Name)Gets a coordinate or color.
- @p
Nameis x, y, z, or rgb. - @r
Therequested value.
- @p
-
setRgb (
int Rgb)Sets RGB color.
- @p
Rgbis packed RGB.
- @p
-
getRgb ()
Gets RGB color.
- @r
PackedRGB.
- @r
class: PointCloudWriter
[426:7] extends: object
PointCloudWriter wraps boofcv.alg.cloud.PointCloudWriter.
Members
- obj
Methods
-
PointCloudWriter (
object Obj)Wraps a BoofCV point-cloud writer.
- @p
Objis an existing writer object.
- @p
-
wrapF32 (
object Points)Wraps a DogArray of Point3D_F32.
- @p
Pointsis a DogArray. - @r
APointCloudWriter.
- @p
-
wrapF64 (
object Points)Wraps a DogArray of Point3D_F64.
- @p
Pointsis a DogArray. - @r
APointCloudWriter.
- @p
-
wrapF64WithRgb (
object Points, object Rgb)Wraps a DogArray of Point3D_F64 and a DogArray_I32 of RGB colors.
- @p
Pointsis a DogArray. - @p
Rgbis a DogArray_I32. - @r
APointCloudWriter.
- @p
-
wrapF32RGB (
object Points)Wraps a DogArray of Point3dRgbI_F32.
- @p
Pointsis a DogArray. - @r
APointCloudWriter.
- @p
-
wrapF64RGB (
object Points)Wraps a DogArray of Point3dRgbI_F64.
- @p
Pointsis a DogArray. - @r
APointCloudWriter.
- @p
-
initialize (
int Size, bool HasColor)Initializes writing.
- @p
Sizeis the expected point count. - @p
HasColoris true when RGB is provided.
- @p
-
startPoint ()
Starts one point.
-
location (
double X, double Y, double Z)Sets current point location.
- @p
Xis x. - @p
Yis y. - @p
Zis z.
- @p
-
color (
int Rgb)Sets current point color.
- @p
Rgbis packed RGB.
- @p
-
stopPoint ()
Finishes one point.