Salome HOME
Merge branch 'V8_4_BR'
[modules/smesh.git] / doc / salome / gui / SMESH / input / point_marker.rst
1 .. _point_marker_page:
2
3 ************
4 Point Marker
5 ************
6
7 You can change the representation of points in
8 the 3D viewer either by selecting one of the predefined
9 shapes or by loading a custom texture from an external file.
10
11 - Standard point markers
12
13 The Mesh module provides a set of predefined point marker shapes
14 which can be used to display points in the 3D viewer.
15 Each standard point marker has two attributes: type (defines shape
16 form) and scale factor (defines shape size).
17
18 .. image:: ../images/point_marker_widget1.png
19         :align: center
20
21
22 .. image:: ../images/std_point_marker.png
23         :align: center
24
25 .. centered::
26         "Mesh presentation with standard point markers"
27
28 - Custom point markers
29
30 It is also possible to load a point marker shape from an external file.
31 This file should provide a description of the point texture as a set
32 of lines; each line is represented as a sequence of "0" and "1" symbols,
33 where "1" symbol means an opaque pixel and "0" symbol means a
34 transparent pixel. The width of the texture corresponds to the length
35 of the longest line in the file, expanded to the nearest byte-aligned
36 value. The height of the texture is equal to the number of non-empty
37 lines in the file. Note that missing symbols are replaced by "0".
38
39 Here is a texture file sample:
40 ::
41
42         11111111
43         10000001
44         10011001
45         10111101
46         10111101
47         10011001
48         10000001
49         11111111
50
51
52 .. image:: ../images/point_marker_widget2.png
53         :align: center
54
55
56 .. image:: ../images/custom_point_marker.png 
57         :align: center
58
59 .. centered::
60         "Mesh presentation with custom point markers"
61
62
63