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