Package boofcv.alg.cloud
Interface PointCloudWriter
- All Known Implementing Classes:
PointCloudWriter.CloudArraysF32
public interface PointCloudWriter
Interface for reading a point cloud
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(double x, double y, double z, int rgb) Adds a 3D point with color informationvoid
initialize
(int size, boolean hasColor) Initializes and passes in configurations.static PointCloudWriter
wrapF32
(DogArray<Point3D_F32> cloud) static PointCloudWriter
wrapF32RGB
(DogArray<Point3dRgbI_F32> cloud) static PointCloudWriter
wrapF64
(DogArray<Point3D_F64> cloud) static PointCloudWriter
wrapF64RGB
(DogArray<Point3dRgbI_F64> cloud)
-
Method Details
-
initialize
void initialize(int size, boolean hasColor) Initializes and passes in configurations.- Parameters:
size
- Estimated size of the point cloud. Passes in a value ≤ 0 if it's unknownhasColor
- true if the cloud has color information
-
add
void add(double x, double y, double z, int rgb) Adds a 3D point with color information -
wrapF32
-
wrapF64
-
wrapF32RGB
-
wrapF64RGB
-