Function cras::transformOnlyXYZ
Defined in File tf2_sensor_msgs.h
Function Documentation
-
::sensor_msgs::PointCloud2 &cras::transformOnlyXYZ(const ::sensor_msgs::PointCloud2 &in, ::sensor_msgs::PointCloud2 &out, const ::geometry_msgs::TransformStamped &tf)
Copy only the XYZ channel from
incloud tooutand transform it using the given transform.- Parameters:
in – [in] The input cloud.
out – [out] The output cloud (can not be the same as input).
tf – [in] The transform to apply.
- Returns:
out.