Salome HOME
0022380: EDF 2746 GEOM: Accept compounds of points as an input for "Smoothing surface...
[modules/geom.git] / doc / salome / gui / GEOM / input / point_marker.doc
1 /*!
2
3 \page point_marker_page Point Marker
4
5 \n You can change the representation of the geometrical vertices in
6 the 3D viewer either by selecting one of the predefined
7 shapes or by loading a custom texture from an external file.
8
9 - Standard point markers
10
11 The Geometry module provides a set of predefined point marker shapes which
12 can be used to display vertices in 3D viewer.
13 Each standard point marker has two attributes: type (defines shape
14 form) and scale factor (defines shape size).
15
16 \image html point_marker_dlg1.png
17
18 <b>TUI Command:</b> <em>go.SetMarkerStd(Type, Size)</em>.
19
20 \image html std_point_marker.png "Standard point markers"
21
22 - Custom point markers
23
24 It is also possible to load a point marker shape from an external file.
25 This file should provide a description of the point texture as a set
26 of lines; each line is represented as sequence of "0" and "1" symbols,
27 where "1" symbol means an opaque pixel and "0" symbol means a
28 transparent pixel. The width of the texture correspond to the length
29 of the longest line in the file, expanded to the nearest byte-aligned
30 value. The height of the texture is equal to the number of non-empty
31 lines in the file. Note that missing symbols are replaced by "0".
32
33 Here is a texture file sample:
34
35 <pre>
36 00111100
37 00111100
38 11111111
39 11111111
40 11111111
41 11111111
42 00111100
43 00111100
44 </pre>
45
46 \image html point_marker_dlg2.png
47
48 <b>TUI Command:</b> <em>go.SetMarkerTexture(ID)</em>.
49
50 \image html custom_point_marker.png "Custom point markers"
51
52 Our <b>TUI Scripts</b> provide you with useful examples of 
53 \ref tui_point_marker "Point Marker" setting.
54
55 */
56