Struct PointCloud

Struct Documentation

struct PointCloud

A collection of N-dimensional points, which may contain additional fields with information like normals, intensity, etc.

Public Members

std::optional<foxglove::Timestamp> timestamp

Timestamp of point cloud.

std::string frame_id

Frame of reference.

std::optional<Pose> pose

The origin of the point cloud relative to the frame of reference.

uint32_t point_stride = 0

Number of bytes between points in the data

std::vector<PackedElementField> fields

Fields in data. At least 2 coordinate fields from x, y, and z are required for each point’s position; red, green, blue, and alpha are optional for customizing each point’s color.

std::vector<std::byte> data

Point data, interpreted using fields