Is there a way of accessing the Mat data without using getValue for pointclouds?

Hello,

I was hoping I’d be able to access the Mat data in some for that doesn’t require a two stage for loop to cycle through all the points in the pointcloud and all the performance loss that creates.

If anyone has any pointers to solutions around this that’d be great, or just documentation on manipulating Mat’s to let you do the same maths on all the stored points at the same time.

I’m trying to figure out a way of converting the entire point cloud from Cartesian space to polar coordinates.

Thank you for your time,

Harry