Salome HOME
PAL 14158 Add the Octree and OctreeNode classes to accelerate detection of close...
[modules/smesh.git] / doc / salome / gui / SMESH / whdata / whfts.js
1 //      WebHelp 5.10.001\r
2 var gaFileMapping = new Array();\r
3 var gaFileTopicMapping = new Array();\r
4 \r
5 function fileMapping(sStartKey, sEndKey, sFileName)\r
6 {\r
7         this.sStartKey = sStartKey;\r
8         this.sEndKey = sEndKey;\r
9         this.sFileName = sFileName;\r
10         this.aFtsKeys = null;\r
11 }\r
12 \r
13 function fileTopicMapping(nIdBegin, nIdEnd, sFileName)\r
14 {\r
15         this.nBegin = nIdBegin;\r
16         this.nEnd = nIdEnd;\r
17         this.sFileName = sFileName;\r
18         this.aTopics = null;\r
19 }\r
20 \r
21 \r
22 function iWM(sStartKey, sEndKey, sFileName)\r
23 {\r
24         gaFileMapping[gaFileMapping.length] = new fileMapping(sStartKey, sEndKey, sFileName);   \r
25 }\r
26 \r
27 function window_OnLoad()\r
28 {\r
29         if (parent && parent != this && parent.ftsReady)\r
30         {\r
31                 parent.ftsReady(gaFileMapping, gaFileTopicMapping);\r
32         }               \r
33 }\r
34 \r
35 function iTM(nIdBegin, nIdEnd, sFileName)\r
36 {\r
37         gaFileTopicMapping[gaFileTopicMapping.length] = new fileTopicMapping(nIdBegin, nIdEnd, sFileName);      \r
38 }\r
39 \r
40 window.onload = window_OnLoad;\r