Moving and Rotating point cloud with precise units

Feel free to ask any question here
Post Reply
crullier
Posts: 12
Joined: Wed Aug 03, 2016 12:36 am

Moving and Rotating point cloud with precise units

Post by crullier »

Is it possible to rotate a point cloud exactly 90deg, or 3deg or move it 15 unit in the Y.
I see there is a "manual" dialog box that allows for "interactive" displacement but I cant find the answer to my question on the help.

I am looking to manually "align" point clouds in relation to some and other.
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Moving and Rotating point cloud with precise units

Post by daniel »

You'll have to use the 'Edit > Apply transformation' tool to do this (the second tab).
Daniel, CloudCompare admin
crullier
Posts: 12
Joined: Wed Aug 03, 2016 12:36 am

Re: Moving and Rotating point cloud with precise units

Post by crullier »

Thank you for the prompt reply.

I noticed that if I type x=5, it will move the cloud 5 units in X. Now if I go back a type x=0, it doesn't return it to its original position.
I would actually have to type is x=-5. Am guessing this dialog is relative. There is no absolute option at the moment correct?
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Moving and Rotating point cloud with precise units

Post by daniel »

Indeed, a 'transformation' is applied relatively to the current position. It's a composition of a rotation and/or a translation. The X=5 (and Y = Z = 0) means in fact that you are translating the selected entities of a quantity (5, 0, 0).
Daniel, CloudCompare admin
crullier
Posts: 12
Joined: Wed Aug 03, 2016 12:36 am

Re: Moving and Rotating point cloud with precise units

Post by crullier »

after several transformations, is there a way to "reset" the point cloud back to its original placement?
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Moving and Rotating point cloud with precise units

Post by daniel »

Lokk at the 'transformation history' matrix in the cloud properties. You can apply the inverse of it (check the 'inverse' option in 'Apply transformation') to restore the original position.

Of course another solution is to save or clone the cloud before tinkering with its position.
Daniel, CloudCompare admin
crullier
Posts: 12
Joined: Wed Aug 03, 2016 12:36 am

Re: Moving and Rotating point cloud with precise units

Post by crullier »

Great thank you.
Post Reply