Salome HOME
Merging with WPdev
[modules/smesh.git] / doc / salome / gui / SMESH / selection_filter_library.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
2
3 <html>
4
5 <head>
6 <title>Selection filter library</title>
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
10 <!--
11 if (navigator.appName !="Netscape")
12 {   document.write("<link rel='stylesheet' href='default.css'>");}
13 //-->
14 </script>
15 <style type="text/css">
16 <!--
17 p.whs1 { font-weight:bold; }
18 img_whs2 { border:none; width:624px; height:776px; float:none; border-style:none; }
19 img_whs3 { border:none; width:31px; height:30px; border-style:none; }
20 img_whs4 { border:none; width:624px; height:525px; float:none; border-style:none; }
21 -->
22 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
23 <!--
24 function reDo() {
25   if (innerWidth != origWidth || innerHeight != origHeight)
26      location.reload();
27 }
28 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
29         origWidth = innerWidth;
30         origHeight = innerHeight;
31         onresize = reDo;
32 }
33 onerror = null; 
34 //-->
35 </script>
36 <style type="text/css">
37 <!--
38 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
39 p.WebHelpNavBar { text-align:right; }
40 -->
41 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
42 <script type="text/javascript" language="javascript" src="whver.js"></script>
43 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
44 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
45 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
46 <script type="text/javascript" language="javascript1.2">
47 <!--
48 if (window.gbWhTopic)
49 {
50         if (window.setRelStartPage)
51         {
52         addTocInfo("MESH module\nGrouping elements\nSelection filter library");
53 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
54 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
55
56         }
57
58
59         if (window.setRelStartPage)
60         {
61         setRelStartPage("index.htm");
62
63                 autoSync(1);
64                 sendSyncInfo();
65                 sendAveInfoOut();
66         }
67
68 }
69 else
70         if (window.gbIE4)
71                 document.location.reload();
72 //-->
73 </script>
74 </head>
75 <body><script type="text/javascript" language="javascript1.2">
76 <!--
77 if (window.writeIntopicBar)
78         writeIntopicBar(4);
79 //-->
80 </script>
81 <h1>Selection filter library</h1>
82
83 <p>Selection filter library is a powerful tool enabling to create filters 
84  to be used on meshes. You can access to it from the Main Menu via <span 
85  style="font-weight: bold;"><B>Tools / Selection filter library.</B></span></p>
86
87 <p>&nbsp;</p>
88
89 <p class="whs1"><img src="pics/selectionfilterlibrary.png" x-maintain-ratio="TRUE" width="624px" height="776px" border="0" class="img_whs2"></p>
90
91 <p>&nbsp;</p>
92
93 <p class="whs1">Library file name s<span style="font-weight: normal;">hows 
94  the path and the file name where your filters will be stored. By clicking 
95  the</span> <img src="image103.gif" width="31px" height="30px" border="0" class="img_whs3"> <span style="font-weight: normal;">browse button 
96  you can load an existing filter library.</span></p>
97
98 <p><span style="font-weight: bold;"><B>Names of filters</B></span> lists the filters 
99  created or uploaded for the current study. You can <span style="font-weight: bold;"><B>Add</B></span> 
100  or <span style="font-weight: bold;"><B>Delete</B></span> filters. &nbsp;</p>
101
102 <p>In <span style="font-weight: bold;"><B>Filter name</B></span> box you can specify 
103  the name for your filter. By default it is prefixed with the corresponding 
104  entity type.</p>
105
106 <p>Each filter can be applicable to <span style="font-weight: bold;"><B>Nodes, 
107  Edges, Faces</B></span> or <span style="font-weight: bold;"><B>Volumes</B></span>. 
108  You can combine many criteria in one filter, but they all must be of the 
109  same <span style="font-weight: bold;"><B>Entity type</B></span>. </p>
110
111 <p>The <span style="font-weight: bold;"><B>Add</B></span> button creates a new 
112  criterion at the end of the list of criteria. The <span style="font-weight: bold;"><B>Insert</B></span> 
113  button creates a new criterion before the selected criterion. The <span 
114  style="font-weight: bold;"><B>Remove</B></span> button deletes the selected criterion. 
115  The <span style="font-weight: bold;"><B>Clear</B></span> button deletes all criteria. 
116  &nbsp;</p>
117
118 <p>Each <span style="font-weight: bold;"><B>Entity type</B></span> has its specific 
119  list of criteria, however all filters have common syntax. For each criterion 
120  you should specify the <span style="font-weight: bold;"><B>Threshold Value</B></span> 
121  and whether we search for the elements that should be <span style="font-weight: bold;"><B>More, 
122  Less or Equal</B></span> to this <span style="font-weight: bold;"><B>Value</B></span>. 
123  You should also specify if the criterion is <span style="font-weight: bold;"><B>Unary</B></span> 
124  or <span style="font-weight: bold;"><B>Binary.</B></span> &nbsp;&nbsp;</p>
125
126 <p>Some criteria should have the additional parameter of <span style="font-weight: bold;"><B>Tolerance</B></span>.</p>
127
128 <p>&nbsp;</p>
129
130 <p>When we create a <span style="font-weight: bold;"><B>Standalone Group</B></span> 
131  using filters (for this click <span style="font-weight: bold;"><B>Set Filters</B></span> 
132  button in the <span style="font-weight: bold;"><B>Create Group</B></span> menu), 
133  the menu for setting filters looks a bit differently. Toggling <span style="font-weight: bold;"><B>Insert 
134  filter in viewer</B></span> checkbox enables to preview the group selected 
135  with your current filter in the viewer. </p>
136
137 <p>In the <span style="font-weight: bold;"><B>Source</B></span> field you choose 
138  if the filter will be applied to the whole <span style="font-weight: bold;"><B>Mesh</B></span>, 
139  the<span style="font-weight: bold;"><B> Initial Selection </B></span>or the<span 
140  style="font-weight: bold;"><B> Current Group. </B></span></p>
141
142 <p><span style="font-weight: bold;"><B>Copy from...</B></span> button gives you 
143  a possibility to load an existing filter from <span style="font-weight: bold;"><B>Selection 
144  filter library</B></span> and <span style="font-weight: bold;"><B>Add to...</B></span> 
145  button gives you a possibility to save your current filter in the Library. 
146  &nbsp;</p>
147
148 <p>&nbsp;</p>
149
150 <p><img src="pics/a-filteronedges.png" x-maintain-ratio="TRUE" width="624px" height="525px" border="0" class="img_whs4"></p>
151
152 <script type="text/javascript" language="javascript1.2">
153 <!--
154 if (window.writeIntopicBar)
155         writeIntopicBar(0);
156 //-->
157 </script>
158 </body>
159 </html>