UmbraPointCloud struct

Point cloud data.

Public variables

uint32_t numAttributes
Number of different attributes used.
const UmbraPointAttribute* attributes
List of attributes used.
uint64_t numPoints
Number of points.
const int32_t* data
Point data stored in interleaved order, for a total of numAttributes * numPoints values.
UmbraCoordinateSystem coordinateSystem
Coordinate system that the position data is in.

Variable details

const UmbraPointAttribute* UmbraPointCloud::attributes

List of attributes used.

Attributes should be listed in the same order as they appear in data

const int32_t* UmbraPointCloud::data

Point data stored in interleaved order, for a total of numAttributes * numPoints values.

For a point cloud with only position data (X, Y, Z) and 3 points, this data would look like X Y Z X Y Z X Y Z. These values are then scaled and offset as described by the relevant UmbraPointAttribute.

UmbraCoordinateSystem UmbraPointCloud::coordinateSystem

Coordinate system that the position data is in.

Only affects X Y and Z attributes