Typedef foxglove::PointCloudCompressionFn

Typedef Documentation

using foxglove::PointCloudCompressionFn = std::function<PointCloudCompression(const ChannelDescriptor&)>

A callable that selects, per channel, the transparent point-cloud compression applied over remote access.

Accepts any callable with signature PointCloudCompression(const ChannelDescriptor&). Return a default-constructed PointCloudCompression to compress the channel with the SDK default settings, PointCloudCompression::disabled() to advertise it with its original schema and deliver its messages unchanged, or PointCloudCompression::withDraco() to customize the Draco settings. If the callable throws, the SDK default compression is applied to that channel.