rotate/translate a box primitive in its own coordinate

All about Windows versions
Post Reply
zzwbeyond
Posts: 15
Joined: Wed Mar 16, 2016 1:16 pm

rotate/translate a box primitive in its own coordinate

Post by zzwbeyond »

I use the 'Translate/Rotate' method to translate or rotate the box primitive in a point cloud.
But I want to rotate the box relative to the box own coordinates. For example, I can rotate/translate the box in the direction of the x axis of the box when I select the x in the 'translate/rotate' dialog (like blow).
box coordinate.jpg
box coordinate.jpg (80.14 KiB) Viewed 2754 times
How to create a box primitive coordinate in the point cloud, so I can rotate or translate the box relative to its own coordinates rather than the point cloud coordinate?
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: rotate/translate a box primitive in its own coordinate

Post by daniel »

This is not possible by default in CloudCompare (with the 'Manual Transformation' tool).

However you could look at the 'Cross Section' tool that works the same way as what you are looking for. You could use an object similar to the 'ccClipBox' object (see https://github.com/cloudcompare/trunk/b ... cClipBox.h).
Daniel, CloudCompare admin
Post Reply