Page 1 of 1

Dynamic point cloud scaling

Posted: Fri Dec 01, 2017 3:28 am
by fungus
Hi everyone,

I was wondering if it would be possible in cloudcompare to dynamically scale points in a point cloud based on a function. For example, is it possible to scale the points in a model with regards to their point along the 'x' axis, according to some function of the 'x' axis value of each point? If its not possible, does anyone have recommendations regarding how this could be achieved?
i.e.
x_new = f(x_old)

Thanks in advance!

Re: Dynamic point cloud scaling

Posted: Fri Dec 01, 2017 6:18 pm
by daniel
Nope this is not possible (you can only scale the clouds with a different scale per dimension, but it's fixed).

The easiest way for now would be to hack the code of the point clouds' scaling method (see ccGenericPointCloud::scale).