Salome HOME
Merge branch 'BR_2018_V8_5' into BR_PY3
[modules/hydro.git] / doc / salome / tutorial / english / english_introCloudCompare.rst
1 ..
2    Copyright (C) 2015-2016 EDF
3
4    This file is part of SALOME HYDRO module.
5
6    SALOME HYDRO module is free software: you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation, either version 3 of the License, or
9    (at your option) any later version.
10
11    SALOME HYDRO module is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with SALOME HYDRO module.  If not, see <http://www.gnu.org/licenses/>.
18
19 #########################################
20 Basic help on CloudCompare
21 #########################################
22
23 .. |CloudCompare_01| image:: /../_static/CloudCompare_01.png
24    :align: middle
25
26 .. |CloudCompare_02| image:: /../_static/CloudCompare_02.png
27    :align: middle
28
29 .. |CloudCompare_03| image:: /../_static/CloudCompare_03.png
30    :align: middle
31
32 .. |CloudCompare_04| image:: /../_static/CloudCompare_04.png
33    :align: middle
34
35 .. |CloudCompare_05| image:: /../_static/CloudCompare_05.png
36    :align: middle
37
38 Load data and scatter plot visualization
39 ========================================
40
41 From the CloudCompare *File / open* menu, you can load different data formats, including xyz
42 (*ASCII cloud* option, ASCII text file, 3 x y z coordinates per line)
43 and the asc format (option *RASTER grid*, ASCII regular grid, provided by the IGN for instance).
44 Two examples are available in the installation of SALOME_HYDRO ::
45
46   <appli_xxx>/bin/salome/test/HYDRO/garonne_point_L93.xyz
47
48   <appli_xxx>/bin/salome/test/HYDRO/BDALTIr_2-0_MNT_EXT_0450_6375_LAMB93_IGN69_20110929.asc
49
50 We take the file *garonne_point_L93.xyz*. When opening the file, you can validate the first dialog without modification (*Apply*):
51
52   |CloudCompare_01|
53
54 The second dialog box suggest a change of reference to improve the accuracy, which can be accepted such as (*Yes*):
55
56   |CloudCompare_02|
57
58 The scatter plot is displayed, but without coloring according to the Z dimension. The line *garone_point_L93 - Cloud* is selected:
59
60   |CloudCompare_03|
61
62 In the *Edit / Scalar fields / Export Coordinates) to SF (s)* menu, the Z coordinate is selected as a new scalar field.
63
64   |CloudCompare_04|
65
66 The scatter plot is now colored. You can put a caption by checking the *visible* option of the *Color Scale* heading.
67
68   |CloudCompare_05|
69
70 .. only:: html
71
72    :ref:`ref_outilsComplementaires`
73