Package boofcv.alg.cloud
Class PointCloudWriter.CloudArraysF32
java.lang.Object
boofcv.alg.cloud.PointCloudWriter.CloudArraysF32
- All Implemented Interfaces:
PointCloudWriter
- Enclosing interface:
- PointCloudWriter
-
Nested Class Summary
Nested classes/interfaces inherited from interface boofcv.alg.cloud.PointCloudWriter
PointCloudWriter.CloudArraysF32
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(double x, double y, double z, int rgb) Adds a 3D point with color informationvoid
getPoint
(int index, Point3D_F64 p) void
initialize
(int size, boolean hasColor) Initializes and passes in configurations.
-
Field Details
-
cloudXyz
-
cloudRgb
-
-
Constructor Details
-
CloudArraysF32
public CloudArraysF32()
-
-
Method Details
-
initialize
public void initialize(int size, boolean hasColor) Description copied from interface:PointCloudWriter
Initializes and passes in configurations.- Specified by:
initialize
in interfacePointCloudWriter
- 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
public void add(double x, double y, double z, int rgb) Description copied from interface:PointCloudWriter
Adds a 3D point with color information- Specified by:
add
in interfacePointCloudWriter
-
getPoint
-