1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
6 <title>Command description 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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\r
17 img_whs1 { border:none; width:32px; height:37px; float:none; border-style:none; }
\r
18 p.whs2 { text-align:center; }
\r
19 img_whs3 { border:none; width:350px; height:487px; float:none; border-style:none; }
\r
20 p.whs4 { text-align:center; font-size:8pt; }
\r
21 p.whs5 { font-weight:bold; }
\r
22 p.whs6 { font-weight:normal; }
\r
23 ul.whs7 { list-style:disc; }
\r
24 p.whs8 { x-text-underline:normal; text-decoration:underline; }
\r
25 img_whs9 { border:none; width:350px; height:405px; float:none; border-style:none; }
\r
26 img_whs10 { border:none; width:283px; height:177px; border-style:none; }
\r
27 img_whs11 { border:none; width:350px; height:406px; float:none; border-style:none; }
\r
28 img_whs12 { border:none; width:154px; height:173px; border-style:none; }
\r
29 p.whs13 { x-text-underline:off; text-decoration:none; }
\r
30 p.whs14 { margin-left:40px; font-weight:bold; }
\r
31 p.whs15 { margin-left:40px; font-weight:bold; text-indent:-40px; }
\r
32 p.whs16 { margin-left:40px; font-style:italic; }
\r
33 p.whs17 { margin-left:40px; font-style:italic; text-indent:-40px; }
\r
34 p.whs18 { margin-left:40px; text-indent:-40px; font-style:normal; }
\r
35 img_whs19 { border:none; width:350px; height:515px; float:none; border-style:none; }
\r
36 img_whs20 { border:none; width:350px; height:460px; float:none; border-style:none; }
\r
37 img_whs21 { border:none; width:350px; height:496px; float:none; border-style:none; }
\r
38 img_whs22 { border:none; width:300px; height:240px; float:none; border-style:none; }
\r
39 img_whs23 { border:none; width:209px; height:29px; border-style:none; }
\r
41 </style><script type="text/javascript" language="JavaScript">
\r
43 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
45 var strNSS = "<style type='text/css'>";
\r
46 strNSS += "p.whs15 {text-indent:1pt; }";
\r
47 strNSS += "p.whs17 {text-indent:1pt; }";
\r
48 strNSS += "p.whs18 {text-indent:1pt; }";
\r
49 strNSS +="</style>";
\r
50 document.write(strNSS);
\r
54 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
57 if (innerWidth != origWidth || innerHeight != origHeight)
\r
60 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
61 origWidth = innerWidth;
\r
62 origHeight = innerHeight;
\r
68 <style type="text/css">
\r
70 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
72 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
73 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
74 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
75 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
76 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
78 <body><script type="text/javascript" language="javascript1.2">
\r
80 if (window.gbWhTopic)
\r
82 if (window.addTocInfo)
\r
84 addTocInfo("Segmentation\nCommand description");
\r
85 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
88 if (window.writeBtnStyle)
\r
91 if (window.writeIntopicBar)
\r
94 if (window.setRelStartPage)
\r
96 setRelStartPage("gauss_points_viewer.htm");
\r
105 document.location.reload();
\r
108 <h1>Command description</h1>
\r
110 <p><img src="info_blue.jpg" x-maintain-ratio="TRUE" width="32px" height="37px" border="0" class="img_whs1"> <span style="font-weight: bold;"><B>Box Segmentation</B></span></p>
\r
112 <p>Once the command is activated, a new window, <span style="font-weight: bold;"><B>below
\r
113 the main 3D view</B></span> and <span style="font-weight: bold;"><B>docked</B></span>
\r
114 within the desktop is created to display the content of the segmentation
\r
119 <p>A <span style="font-weight: bold;"><B>dialog box</B></span> (see <a href="#Fig__52___Segmentation_configuration_dialog">Fig.
\r
120 52 : Segmentation configuration dialog</a>) is also displayed to manually
\r
121 configure the segmentation cursor parameters.</p>
\r
125 <p>As an example of the expected results, the next picture shows the 2
\r
126 views of the PERFECT viewer:</p>
\r
130 <p align="center" class="whs2"><img src="image72.gif" x-maintain-ratio="FALSE" width="350px" height="487px" border="0" class="img_whs3"></p>
\r
132 <p align="center" class="whs2"> </p>
\r
134 <p align="center" class="whs4">Fig. 51 : PERFECT viewer segmentation</p>
\r
138 <p class="whs5">Sphere Segmentation</p>
\r
140 <p class="whs5"> </p>
\r
142 <p class="whs6">As for plane segmentation, once the command
\r
143 is activated, a new window, <span style="font-weight: bold;"><B>below the
\r
144 main 3D view</B></span> and <span style="font-weight: bold;"><B>docked</B></span>
\r
145 within the desktop is created to display the content of the segmentation
\r
148 <p class="whs6"> </p>
\r
150 <p class="whs6">A <span style="font-weight: bold;"><B>dialog
\r
151 box</B></span> (see <a href="#Fig__54___Sphere_Segmentation_configuration_dialog">Fig.
\r
152 54 : Sphere Segmentation configuration dialog</a>) is also displayed to
\r
153 manually configure the segmentation cursor parameters.</p>
\r
159 <ul type="disc" class="whs7">
\r
161 <li class=kadov-p><p>The main view (top) shows the results at Gauss
\r
162 points with its scalar bars as described in the previous chapter. In addition,
\r
163 a <span style="font-weight: bold;"><B>semi-transparent segmentation cursor</B></span>
\r
164 \96 in the form of a box with an axis to define its orientation
\96 is added
\r
165 to define the part of the variables to be inspected. <span style="font-weight: bold;"><B>Two
\r
166 different presentations</B></span> for Gauss points are used, depending on
\r
167 location of points: inside or outside the segmentation cursor. Inside
\r
168 points uses the normal presentation for Gauss points as defined in <a href="description_of_commands_display_results.htm#Fig__10___Results_at_Gauss_points_primitive_configuration_dialog">Fig.
\r
169 10 : Results at Gauss points primitive configuration dialog</a>. Outside
\r
170 points presentation is to be defined in the segmentation configuration
\r
176 <ul type="disc" class="whs7">
\r
178 <li class=kadov-p><p>The second view (bottom)
\96 also called segmentation
\r
179 viewer
\96 shows, in real time, the results at Gauss points only (no meshes
\r
180 elements) that are located<span style="font-weight: bold;"><B> inside</B></span>
\r
181 the segmentation cursor. Gauss points are displayed with the <span style="font-weight: bold;"><B>same
\r
182 presentation</B></span> as the one used for points<span style="font-weight: bold;"><B>
\r
183 inside</B></span> the cursor of the first view. This view is automatically
\r
184 updated when the cursor is changed in the first view.</p></li>
\r
189 <p class="whs5"> </p>
\r
191 <p class="whs5">Picking capabilities</p>
\r
193 <p>The picking functionality, as defined in <a href="picking_general.htm">Picking</a>,
\r
194 is available in both views. The picked point is also highlighted by the
\r
195 3D cursor in both views simultaneously. The semi-transparent information
\r
196 window is displayed in the view used for the picking.</p>
\r
200 <p>In the case a picked point (from the first view) is not visible in the
\r
201 second view
\96 i.e.: the point is not contained within the segmentation
\r
202 cursor
\96 only the picking cursor is displayed in the second view till
\r
203 the selection is cancelled.</p>
\r
207 <p class="whs5"> </p>
\r
209 <p class="whs5">Edition of the box segmentation cursor</p>
\r
211 <p>A dialog with 2 tabs is opened when the function is activated. When
\r
212 user exits this dialog, the function is ended and the second view (segmentation
\r
213 cursor viewer) is erased.</p>
\r
217 <p class="whs8"><a
\r
218 name=Fig__52___Segmentation_configuration_dialog></a>The following dialog
\r
219 describes configuration of the segmentation cursor:</p>
\r
223 <p align="center" class="whs2"><img src="image73.gif" x-maintain-ratio="FALSE" width="350px" height="405px" border="0" class="img_whs9"></p>
\r
225 <p align="center" class="whs2"> </p>
\r
227 <p align="center" class="whs4">Fig. 52 : Segmentation configuration dialog</p>
\r
231 <p>This dialog defines the coordinates of the origin of the segmentation
\r
232 cursor, in addition to its direction and depth.</p>
\r
236 <p>Parameters are explained as follows:</p>
\r
240 <p align="center" class="whs2"><img src="image74.gif" width="283px" height="177px" border="0" class="img_whs10"></p>
\r
242 <p align="center" class="whs2"> </p>
\r
244 <p align="center" class="whs4">Fig. 53 : Understanding segmentation cursor parameters</p>
\r
246 <p align="center" class="whs2"> </p>
\r
248 <p>It is also possible to graphically <span style="font-weight: bold;"><B>edit
\r
249 these parameters directly from the first 3D view</B></span> with the mouse:</p>
\r
253 <ul type="disc" class="whs7">
\r
255 <li class=kadov-p><p>Translation (dragging) of the lower plane along
\r
256 the V axis changes the origin of the cursor</p></li>
\r
258 <li class=kadov-p><p>Rotating the V axis around its origin defines
\r
259 a new direction for the cursor</p></li>
\r
261 <li class=kadov-p><p>Dragging the second plane (upper one) along its
\r
262 axis changes the depth of the cursor. It is not possible to move this
\r
263 second plane under the first one (minimum depth is set to 0).</p></li>
\r
268 <p>The dialog is automatically updated.</p>
\r
274 <p class="whs5">Edition of the segmentation cursor</p>
\r
278 <p>A dialog with 2 tabs is opened when the function is activated. When
\r
279 user exits this dialog, the function is ended and the second view (segmentation
\r
280 cursor viewer) is erased.</p>
\r
284 <p class="whs8"><a
\r
285 name=Fig__54___Sphere_Segmentation_configuration_dialog></a>The following
\r
286 dialog describes configuration of the segmentation cursor:</p>
\r
290 <p align="center" class="whs2"><img src="image116.gif" x-maintain-ratio="FALSE" width="350px" height="406px" border="0" class="img_whs11"></p>
\r
292 <p align="center" class="whs4"> </p>
\r
294 <p align="center" class="whs4">Fig. 54 : Sphere Segmentation configuration dialog</p>
\r
296 <p align="center" class="whs2"> </p>
\r
298 <p class="whs6">This dialog defines the coordinates of
\r
299 the origin of the segmentation cursor, in addition to its radius.</p>
\r
301 <p class="whs6"> </p>
\r
303 <ul type="disc" class="whs7">
\r
305 <li class=kadov-p><p class="whs6"><span style="font-weight: bold;"><B>Origin</B></span>
\r
306 defines the coordinates of the origin of the segmentation cursor. <span
\r
307 style="font-weight: bold;"><B>Default is set to the CAD origin.</B></span></p></li>
\r
310 <p class="whs6"> </p>
\r
312 <ul type="disc" class="whs7">
\r
314 <li class=kadov-p><p class="whs6"><span style="font-weight: bold;"><B>Radius</B></span>
\r
315 corresponds to the radius of the sphere. <span style="font-weight: bold;"><B>Default
\r
316 is set to 5%</B></span> of the diagonal of the bounding box for the scene
\r
317 (i.e.: diameter is then equal to 10% of the diagonal).</p></li>
\r
320 <p class="whs6"> </p>
\r
322 <ul type="disc" class="whs7">
\r
324 <li class=kadov-p><p class="whs6"><span style="font-weight: bold;"><B>+/-
\r
325 Ratio</B></span> corresponds to the number by which the radius will be respectively
\r
326 multiplied or divided at edition. <span style="font-weight: bold;"><B>Default
\r
327 is set to 2 mm</B></span>.</p></li>
\r
330 <p class="whs6"> </p>
\r
332 <p class="whs6"><span style="font-weight: bold;"><B>Keyboard:</B></span>
\r
333 During rendering the scene, it is possible to modify the <span style="font-weight: bold;"><B>radius</B></span>
\r
334 (multiply/divide by the radius ratio) by using
\91<span style="font-weight: bold;"><B>D</B></span>
\92,
\r
335 \91<span style="font-weight: bold;"><B>d</B></span>
\92 keys of the keyboard when
\r
336 the 3D view is active. The effect is immediately applied. The value of
\r
337 the ratio is only defined through the dialog box.</p>
\r
339 <p class="whs6"> </p>
\r
341 <p class="whs6">Parameters are explained as follows:</p>
\r
343 <p class="whs6"> </p>
\r
345 <p align="center" class="whs2"><img src="image117.gif" width="154px" height="173px" border="0" class="img_whs12"></p>
\r
347 <p align="center" class="whs2"> </p>
\r
349 <p align="center" class="whs4">Fig. 55 : Understanding segmentation cursor parameters</p>
\r
351 <p align="center" class="whs2"> </p>
\r
353 <p>It is also possible to graphically edit these parameters directly from
\r
354 the first 3D view with the mouse:</p>
\r
358 <ul type="disc" class="whs7">
\r
360 <li class=kadov-p><p>Translation (dragging) of the sphere by moving
\r
361 the centre (glyph) of the sphere</p></li>
\r
363 <li class=kadov-p><p>Change the radius my moving the boundary glyph
\r
364 on the top of the sphere (minimum radius is set to 0)</p></li>
\r
369 <p>The dialog is automatically updated accordingly.</p>
\r
371 <p class="whs5"> </p>
\r
373 <p class="whs13"> </p>
\r
375 <p class="whs13"><span
\r
376 style="font-weight: bold;"><B>The second tab</B></span> provides the user with
\r
377 the ability to change both presentations of Gauss points inside and outside
\r
378 the segmentation cursor within the same dialog. This is applicable for
\r
379 all segmentation cursors (plane & sphere).</p>
\r
381 <p class="whs13">Therefore,
\r
382 dialogs are made of two parts:</p>
\r
384 <p class="whs13"> </p>
\r
386 <ul type="disc" class="whs7">
\r
388 <li class=kadov-p><p class="whs13">First
\r
389 part defines primitives inside the cursor</p></li>
\r
391 <li class=kadov-p><p class="whs13">Second
\r
392 part defines primitives outside the cursor</p></li>
\r
395 <p class="whs14"> </p>
\r
397 <p class="whs15"><img src="ex_green.jpg" x-maintain-ratio="TRUE" width="32px" height="37px" border="0" class="img_whs1"> Note: </p>
\r
399 <p class="whs16">the next dialogs only
\r
400 described the content of primitive parameterisation inside the cursor,
\r
401 intended that all the three primitives are also applicable outside the
\r
404 <p class="whs17"> </p>
\r
406 <p class="whs18">Primitive presentation definition for
\r
407 Gauss points and in the case of a segmentation are defined by the following
\r
412 <p align="center" class="whs2"><img src="image93.gif" x-maintain-ratio="FALSE" width="350px" height="515px" border="0" class="img_whs19"></p>
\r
414 <p align="center" class="whs2"> </p>
\r
416 <p align="center" class="whs4">Fig. 56 : Segmentation Gauss points primitive
\96 Point
\r
417 sprite parameters</p>
\r
419 <p align="center" class="whs4"> </p>
\r
421 <p align="center" class="whs4"><img src="image94.gif" x-maintain-ratio="FALSE" width="350px" height="460px" border="0" class="img_whs20"></p>
\r
423 <p align="center" class="whs4"> </p>
\r
425 <p align="center" class="whs4">Fig. 57 : Segmentation Gauss points primitive
\96 OpenGL
\r
428 <p align="center" class="whs4"> </p>
\r
430 <p align="center" class="whs4"><img src="image95.gif" x-maintain-ratio="FALSE" width="350px" height="496px" border="0" class="img_whs21"></p>
\r
432 <p align="center" class="whs4"> </p>
\r
434 <p align="center" class="whs4">Fig. 58 : Segmentation Gauss points primitive
\96 Geometrical
\r
435 sphere parameters</p>
\r
437 <p align="center" class="whs4"> </p>
\r
439 <p align="center" class="whs4"> </p>
\r
441 <p>The first part of the dialog is the same as for <a href="description_of_commands_display_results.htm#Fig__10___Results_at_Gauss_points_primitive_configuration_dialog">Fig.
\r
442 10 : Results at Gauss points primitive configuration dialog</a>.</p>
\r
446 <ul type="disc" class="whs7">
\r
448 <li class=kadov-p><p>Size: defines the size of Gauss points located
\r
449 outside the segmentation cursor. It is a percentage of the normal size
\r
450 of Gauss points defined in <a href="description_of_commands_display_results.htm#Fig__10___Results_at_Gauss_points_primitive_configuration_dialog">Fig.
\r
451 10 : Results at Gauss points primitive configuration dialog</a>.</p></li>
\r
453 <li class=kadov-p><p>Color: define the unique color used for Gauss
\r
454 points located outside the segmentation cursor. It is a button control.
\r
455 When user press it, he can choose a color from a standard color configuration
\r
461 <p align="center" class="whs2"><img src="image76.gif" x-maintain-ratio="FALSE" width="300px" height="240px" border="0" class="img_whs22"></p>
\r
463 <p align="center" class="whs2"> </p>
\r
465 <p align="center" class="whs4">Fig. 59 : Standard color dialog</p>
\r
467 <p align="center" class="whs2"> </p>
\r
469 <p class="whs5">Predefined view for the segmentation 3D view</p>
\r
471 <p>A new toolbar is defined for the second view only (segmentation viewer)
\r
472 to define certain pre-defined point of view:</p>
\r
476 <p align="center" class="whs2"><img src="image77.gif" width="209px" height="29px" border="0" class="img_whs23"></p>
\r
478 <p align="center" class="whs2"> </p>
\r
480 <p align="center" class="whs4">Fig. 60 : New toolbar for the segmentation viewer 3D view</p>
\r
482 <p align="center" class="whs2"> </p>
\r
484 <p>From left to right, the predefined points of view are:</p>
\r
488 <ul type="disc" class="whs7">
\r
490 <li class=kadov-p><p>Front</p></li>
\r
492 <li class=kadov-p><p>Back</p></li>
\r
494 <li class=kadov-p><p>Top</p></li>
\r
496 <li class=kadov-p><p>Bottom</p></li>
\r
498 <li class=kadov-p><p>Left</p></li>
\r
500 <li class=kadov-p><p>Right</p></li>
\r
502 <li class=kadov-p><p>Cursor (front)</p></li>
\r
504 <li class=kadov-p><p>Cursor (back)</p></li>
\r
509 <p>This toolbar is docked to the frame of the second view.</p>
\r
513 <p class="whs5"><img src="ex_green.jpg" x-maintain-ratio="TRUE" width="32px" height="37px" border="0" class="img_whs1"> Note:</p>
\r
515 <p class="whs16">The possibility to adjust
\r
516 in real time the segmentation viewer to the segmentation cursor can be
\r
517 proposed as a future improvement of this functionality, but is out of
\r
518 the scope of this project.</p>
\r
522 <script type="text/javascript" language="javascript1.2">
\r
524 if (window.writeIntopicBar)
\r
525 writeIntopicBar(0);
\r