Rectangular Selection introducing the dimension of the box

Feel free to ask any question here
Post Reply
gonzalotap
Posts: 10
Joined: Sun Apr 22, 2012 8:46 am

Rectangular Selection introducing the dimension of the box

Post by gonzalotap »

someone would know tell me how to make a rectangular selection but introducing the dimensions of the box?
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Rectangular Selection introducing the dimension of the b

Post 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.
Daniel, CloudCompare admin
gonzalotap
Posts: 10
Joined: Sun Apr 22, 2012 8:46 am

Re: Rectangular Selection introducing the dimension of the b

Post by gonzalotap »

.
Last edited by gonzalotap on Tue Jun 12, 2012 9:49 am, edited 1 time in total.
gonzalotap
Posts: 10
Joined: Sun Apr 22, 2012 8:46 am

Re: Rectangular Selection introducing the dimension of the b

Post by gonzalotap »

You know you do that in Notepad + +.
Could you tell me how you can.
The rest is understand

Best regards
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Rectangular Selection introducing the dimension of the b

Post 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)
Daniel, CloudCompare admin
Post Reply