On this page

pointCloud QML Value Type

Please use sensor_msgs/PointCloud2. More...

Import Statement: import QtRos2.SensorMsgs
Status: Deprecated since FOXY

This type is deprecated since QtRos2.SensorMsgs FOXY. We strongly advise against using it in new code.

Properties

Detailed Description

This message holds a collection of 3d points, plus optional additional information about each point.

pointCloud is a structured value type usable in QML. It maps directly to the sensor_msgs::msg::PointCloud ROS 2 message type.

Construct a pointCloud in QML by assigning a JavaScript object whose keys are its component properties, or by setting those properties individually.

See also PointCloudPublisher and PointCloudSubscriber.

Property Documentation

channels : list<channelFloat32>

Each channel should have the same number of elements as points array,

and the data in each channel should correspond 1:1 with each point. Channel names in common practice are listed in ChannelFloat32.msg.

header : header

Time of sensor data acquisition, coordinate frame ID.

points : list<vector3d>

Array of 3d points. Each Point32 should be interpreted as a 3d point

in the frame given in the header.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.