Page 1 of 1

Rectangular Selection introducing the dimension of the box

Posted: Mon Jun 11, 2012 4:47 pm
by gonzalotap
someone would know tell me how to make a rectangular selection but introducing the dimensions of the box?

Re: Rectangular Selection introducing the dimension of the b

Posted: Tue Jun 12, 2012 8:02 am
by daniel
Hi,

This is not possible 'directly'. But it would be very simple to add such a function to CloudCompare.

For the moment, you can duplicate the X Y and Z columns of your point cloud in an ASCII file (with Notepad++ for instance). Then open this modified file with CloudCompare and assign the 3 supplementary columns as 3 scalar fields. Eventually, activate each scalar field one after the other and use the 'segment by value' tool with the boundaries along each dimension.

Re: Rectangular Selection introducing the dimension of the b

Posted: Tue Jun 12, 2012 9:44 am
by gonzalotap
.

Re: Rectangular Selection introducing the dimension of the b

Posted: Tue Jun 12, 2012 9:48 am
by gonzalotap
You know you do that in Notepad + +.
Could you tell me how you can.
The rest is understand

Best regards

Re: Rectangular Selection introducing the dimension of the b

Posted: Tue Jun 12, 2012 11:34 am
by daniel
Use the left ALT key + left mouse button to make a rectangular selection (just as SHIFT + mouse for standard multiple elements selection).

Assuming you have X Y and Z aligned in proper columns in your text file, an efficient way of doing this is:
- if the file is only composed of X Y and Z coordinates, just copy the whole text (Ctrl+A, then Ctrl+C)
- otherwise, you need to make a 'block' selection:
- place the cursor at the very beginning of your file, on the left of the X coordinate of the first line
- scroll down to the bottom (with the horizontal sliders on the left)
- press SHIFT + ALT and left click on the right of the Z coordinate of the last line (assuming that you have X Y and Z coordinates next to each other and in properly aligned columns)
- if you have a big file, this may take a while
- when the 3 columns are selected, copy the block (Ctrl+C)
- scroll up to the first line
- place the cursor at the end of the first line
- add a space character
- and paste the block you copied earlier (Ctrl+V)