Salome HOME
Join modifications from branch OCC_debug_for_3_2_0b1
[modules/visu.git] / doc / salome / gui / VISU / segmentation.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Segmentation</title>\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
18 img_whs2 { border:none; width:27px; height:27px; border-style:none; }\r
19 img_whs3 { border:none; width:28px; height:29px; border-style:none; }\r
20 p.whs4 { margin-left:40px; }\r
21 img_whs5 { border:none; width:637px; height:545px; float:none; border-style:none; }\r
22 img_whs6 { border:none; width:450px; height:264px; border-style:none; }\r
23 img_whs7 { border:none; width:636px; height:552px; float:none; border-style:none; }\r
24 img_whs8 { border:none; width:449px; height:215px; border-style:none; }\r
25 -->\r
26 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
27 <!--\r
28 function reDo() {\r
29   if (innerWidth != origWidth || innerHeight != origHeight)\r
30      location.reload();\r
31 }\r
32 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
33         origWidth = innerWidth;\r
34         origHeight = innerHeight;\r
35         onresize = reDo;\r
36 }\r
37 onerror = null; \r
38 //-->\r
39 </script>\r
40 <style type="text/css">\r
41 <!--\r
42 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
43 -->\r
44 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
45 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
46 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
47 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
48 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
49 </head>\r
50 <body><script type="text/javascript" language="javascript1.2">\r
51 <!--\r
52 if (window.gbWhTopic)\r
53 {\r
54         if (window.addTocInfo)\r
55         {\r
56         addTocInfo("Post-Pro module\n3D presentations\nField presentations\nGauss Points Presentations\nSegmentation");\r
57 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
58 \r
59         }\r
60         if (window.writeBtnStyle)\r
61                 writeBtnStyle();\r
62 \r
63         if (window.writeIntopicBar)\r
64                 writeIntopicBar(1);\r
65 \r
66         if (window.setRelStartPage)\r
67         {\r
68         setRelStartPage("visu.htm");\r
69 \r
70                 autoSync(1);\r
71                 sendSyncInfo();\r
72                 sendAveInfoOut();\r
73         }\r
74 }\r
75 else\r
76         if (window.gbIE4)\r
77                 document.location.reload();\r
78 //-->\r
79 </script>\r
80 <h1>Segmentation</h1>\r
81 \r
82 <p><span style="font-weight: bold;"><B><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> Segmentation</B></span> is \r
83  a functionality similar to <span style="font-weight: bold;"><B>Clipping</B></span> \r
84  in <span style="font-weight: bold;"><B>Mesh</B></span> and <span style="font-weight: bold;"><B>Geom</B></span> \r
85  modules. </p>\r
86 \r
87 <p><span style="font-weight: bold;"><B>Segmentation</B></span> can be activated \r
88  by clicking <img src="image35.gif" width="27px" height="27px" border="0" class="img_whs2"> (<span style="font-weight: bold;"><B>Plane Segmentation</B></span>) \r
89  or<img src="image38.gif" width="28px" height="29px" border="0" class="img_whs3"> (<span style="font-weight: bold;"><B>Sphere Segmentation</B></span>) \r
90  button in the Gauss Viewer toolbar. </p>\r
91 \r
92 <p>Once the command is activated, a new window, below the main 3D view \r
93  is created to display the content of the segmentation cursor. A dialog \r
94  box is also displayed to manually configure the segmentation cursor parameters.</p>\r
95 \r
96 <p>The <span style="font-weight: bold;"><B>Main view</B></span> (top) shows the \r
97  results at Gauss points with scalar bars. A semi-transparent <span style="font-weight: bold;"><B>Segmentation \r
98  Cursor</B></span> defines the part of the variables to be inspected. &nbsp;Two \r
99  different presentations for Gauss points are used, depending on location \r
100  of the points: <span style="font-weight: bold;"><B>Inside</B></span> or <span \r
101  style="font-weight: bold;"><B>Outside</B></span> the segmentation cursor. </p>\r
102 \r
103 <p>The <span style="font-weight: bold;"><B>Secondary view</B></span> (bottom) \r
104  is also called <span style="font-weight: bold;"><B>Segmentation Viewer</B></span>. \r
105  It shows, in real time, the results at Gauss points only (no mesh elements) \r
106  that are located inside the segmentation cursor. Gauss points are displayed \r
107  in the same way as <span style="font-weight: bold;"><B>Inside</B></span> points \r
108  in the first view. This view is automatically updated when the cursor \r
109  is changed in the first view.</p>\r
110 \r
111 <p><span style="font-weight: bold;"><B>Gauss Points</B></span> tab of the Segmentation \r
112  menu allows to define visualization parameters for Inside and Outside \r
113  cursor Gauss Points. &nbsp;See \r
114  <span style="font-weight: bold;"><B><a href="primitive_types.htm">Primitives</a></B></span> \r
115  and <span style="font-weight: bold;"><B><a href="types_of_gauss_points_presentations.htm">Presentations</a></B></span> \r
116  to learn about parameters definable in this tab. </p>\r
117 \r
118 <p>&nbsp;</p>\r
119 \r
120 <p class="whs4"><img src="pics/planes.png" x-maintain-ratio="TRUE" width="637px" height="545px" border="0" class="img_whs5"></p>\r
121 \r
122 <p>&nbsp;</p>\r
123 \r
124 <p><span style="font-weight: bold;"><B>Plane segmentation</B></span> &nbsp;is \r
125  characteristic for its Segmentation Cursor in the form of a box with an \r
126  axis to define its orientation and two planes defining its upper and lower \r
127  boundaries. </p>\r
128 \r
129 <p>It can be defined in Segmentation Cursor tab, which allows to define \r
130  coordinates of origin, direction and depth of the segmentation plane. \r
131  </p>\r
132 \r
133 <p>&nbsp;</p>\r
134 \r
135 <p class="whs4"><img src="image37.jpg" width="450px" height="264px" border="0" class="img_whs6"></p>\r
136 \r
137 <p>&nbsp;</p>\r
138 \r
139 <p>Actually it is also possible to edit these parameters directly with \r
140  the mouse in the main 3D view :</p>\r
141 \r
142 <p>\95 Translation (dragging) of the lower plane along the V axis changes \r
143  the <span style="font-weight: bold;"><B>Origin</B></span> of the cursor</p>\r
144 \r
145 <p>\95 Rotating the V axis around its origin defines a new <span style="font-weight: bold;"><B>Direction</B></span> \r
146  for the cursor</p>\r
147 \r
148 <p>\95 Dragging the upper plane along its axis changes the <span style="font-weight: bold;"><B>Depth</B></span> \r
149  of the cursor. It is not possible to move the lower above the upper plane \r
150  (minimum depth is 0).</p>\r
151 \r
152 <p>&nbsp;</p>\r
153 \r
154 <p class="whs4"><img src="pics/spheroid.png" x-maintain-ratio="TRUE" width="636px" height="552px" border="0" class="img_whs7"></p>\r
155 \r
156 <p>&nbsp;</p>\r
157 \r
158 <p><span style="font-weight: bold;"><B>Sphere segmentation</B></span> &nbsp;is \r
159  characteristic for its Segmentation Cursor in the form of a sphere with \r
160  an axis to define its orientation. </p>\r
161 \r
162 <p>It can be defined in Segmentation Cursor tab, which allows to define \r
163  coordinates of origin, and radius of the segmentation plane.</p>\r
164 \r
165 <p>&nbsp;</p>\r
166 \r
167 <p class="whs4"><img src="image38.jpg" width="449px" height="215px" border="0" class="img_whs8"></p>\r
168 \r
169 <p>&nbsp;</p>\r
170 \r
171 <p>The <span style="font-weight: bold;"><B>Origin</B></span> can also be changed \r
172  in the 3D Viewer by dragging the Sphere with the mouse . </p>\r
173 \r
174 <p>&nbsp;</p>\r
175 \r
176 <p>When the user exits the <span style="font-weight: bold;"><B>Segmentation</B></span> \r
177  menu, the function is ended and the second view (segmentation cursor viewer) \r
178  is erased.</p>\r
179 \r
180 <p>&nbsp;</p>\r
181 \r
182 <p>&nbsp;</p>\r
183 \r
184 <p>&nbsp;</p>\r
185 \r
186 <p>&nbsp;</p>\r
187 \r
188 <p>&nbsp;&nbsp;</p>\r
189 \r
190 <p>&nbsp;</p>\r
191 \r
192 <p>&nbsp;</p>\r
193 \r
194 <p>&nbsp;</p>\r
195 \r
196 <script type="text/javascript" language="javascript1.2">\r
197 <!--\r
198 if (window.writeIntopicBar)\r
199         writeIntopicBar(0);\r
200 //-->\r
201 </script>\r
202 </body>\r
203 </html>\r