PointCloudFrame
data class PointCloudFrame(val cameraPosition: Point3, val planes: List<Plane> = emptyList(), val points: List<PointCloudVertex>, val cameraSpaceToWorldSpace: Matrix4x4, val cameraSpaceToFrameSpace: Matrix4x4, val frameSpaceToWorldSpace: Matrix4x4, val orientationDegrees: Float, val timestamp: Long = Clock.System.now().epochSeconds, val lightEstimatePixelIntensity: Float, val lightEstimateColorCorrection: List<Float>, val featurePoints: Map<Int, FeaturePoint>)
Constructors
Link copied to clipboard
constructor(cameraPosition: Point3, planes: List<Plane> = emptyList(), points: List<PointCloudVertex>, cameraSpaceToWorldSpace: Matrix4x4, cameraSpaceToFrameSpace: Matrix4x4, frameSpaceToWorldSpace: Matrix4x4, orientationDegrees: Float, timestamp: Long = Clock.System.now().epochSeconds, lightEstimatePixelIntensity: Float, lightEstimateColorCorrection: List<Float>, featurePoints: Map<Int, FeaturePoint>)
Properties
Functions
Link copied to clipboard
suspend fun exportSnapshot(folderPath: String, indexForFileNames: Int, includeFloor: Boolean = true)
Export this frame as a snapshot PLY file
Link copied to clipboard
Get points with floor removed based on detected planes