fcs-core-viewer 0.2.0 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/README.md +10 -0
  2. package/fcs-core-viewer@types/Addins/CustomScript.d.ts +11 -11
  3. package/fcs-core-viewer@types/Addins/Index.d.ts +1 -1
  4. package/fcs-core-viewer@types/Api.d.ts +10 -10
  5. package/fcs-core-viewer@types/BackendEvents/BackendEvents.d.ts +218 -218
  6. package/fcs-core-viewer@types/BackendEvents/TaskExecutionResponse.d.ts +22 -22
  7. package/fcs-core-viewer@types/CloudViewer/CoreInterfaces.d.ts +12 -12
  8. package/fcs-core-viewer@types/CloudViewer/FcsViewer.d.ts +379 -379
  9. package/fcs-core-viewer@types/CloudViewer/Index.d.ts +1 -1
  10. package/fcs-core-viewer@types/CloudViewer/Settings/CameraSettings.d.ts +44 -44
  11. package/fcs-core-viewer@types/CloudViewer/Settings/Index.d.ts +11 -11
  12. package/fcs-core-viewer@types/CloudViewer/Settings/SelectionSettings.d.ts +78 -78
  13. package/fcs-core-viewer@types/CloudViewer/Settings/StyleSettings.d.ts +71 -71
  14. package/fcs-core-viewer@types/CloudViewer/Settings/VisibilitySettings.d.ts +19 -19
  15. package/fcs-core-viewer@types/CloudViewer/TypesFcs.d.ts +12 -12
  16. package/fcs-core-viewer@types/Common/CommsChannels/BackendClient.d.ts +47 -47
  17. package/fcs-core-viewer@types/Common/CommsChannels/Socket.d.ts +34 -34
  18. package/fcs-core-viewer@types/Common/Diagnostics/Exceptions.d.ts +26 -26
  19. package/fcs-core-viewer@types/Common/Diagnostics/StatusDialog.d.ts +72 -72
  20. package/fcs-core-viewer@types/Common/Diagnostics/WebLogger.d.ts +21 -21
  21. package/fcs-core-viewer@types/Common/Index.d.ts +6 -6
  22. package/fcs-core-viewer@types/Common/LocalStorage/localStorage.d.ts +2 -2
  23. package/fcs-core-viewer@types/Common/UIDGenerator/UIDGenerator.d.ts +15 -15
  24. package/fcs-core-viewer@types/Foundations/Index.d.ts +5 -5
  25. package/fcs-core-viewer@types/Foundations/VectorGeometry.d.ts +30 -30
  26. package/fcs-core-viewer@types/FrontendEvents/MenuEvents.d.ts +132 -132
  27. package/fcs-core-viewer@types/FrontendEvents/OptionsEvents.d.ts +21 -21
  28. package/fcs-core-viewer@types/FrontendEvents/SidebarEvents.d.ts +23 -23
  29. package/fcs-core-viewer@types/FrontendEvents/TopbarEvents.d.ts +124 -124
  30. package/fcs-core-viewer@types/FrontendEvents/TreeEvents.d.ts +47 -47
  31. package/fcs-core-viewer@types/Loader/LoadEdge.d.ts +47 -47
  32. package/fcs-core-viewer@types/Loader/LoadSTEP.d.ts +68 -68
  33. package/fcs-core-viewer@types/Loader/LoadVertex.d.ts +41 -41
  34. package/fcs-core-viewer@types/Loader/Loader.d.ts +67 -67
  35. package/fcs-core-viewer@types/Loader/LoaderUtils.d.ts +234 -234
  36. package/fcs-core-viewer@types/Model/ActiveCloudDocument.d.ts +84 -84
  37. package/fcs-core-viewer@types/Model/Index.d.ts +9 -9
  38. package/fcs-core-viewer@types/Model/MeshWrapper.d.ts +87 -87
  39. package/fcs-core-viewer@types/Model/SceneWrapper.d.ts +171 -171
  40. package/fcs-core-viewer@types/SelectionTools/SelectEntities/SelectItem.d.ts +38 -38
  41. package/fcs-core-viewer@types/SelectionTools/Selection.d.ts +83 -83
  42. package/fcs-core-viewer@types/SelectionTools/SelectionEdge.d.ts +25 -25
  43. package/fcs-core-viewer@types/SelectionTools/SelectionEdgeByID.d.ts +29 -29
  44. package/fcs-core-viewer@types/SelectionTools/SelectionFace.d.ts +42 -42
  45. package/fcs-core-viewer@types/SelectionTools/SelectionFaceByID.d.ts +26 -26
  46. package/fcs-core-viewer@types/SelectionTools/SelectionUtils.d.ts +71 -71
  47. package/fcs-core-viewer@types/SelectionTools/SelectionValidation.d.ts +63 -63
  48. package/fcs-core-viewer@types/SelectionTools/SelectionVertex.d.ts +26 -26
  49. package/fcs-core-viewer@types/SelectionTools/SelectionVertexByID.d.ts +26 -26
  50. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectActive.d.ts +12 -12
  51. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectAll.d.ts +23 -23
  52. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectEdge.d.ts +7 -7
  53. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectFace.d.ts +7 -7
  54. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectItem.d.ts +14 -14
  55. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectVertex.d.ts +8 -8
  56. package/fcs-core-viewer@types/SelectionTools/Unselection.d.ts +81 -81
  57. package/fcs-core-viewer@types/StyleHandler/TreeStyle.d.ts +23 -23
  58. package/fcs-core-viewer@types/TaskHandler/Context/Context.d.ts +80 -80
  59. package/fcs-core-viewer@types/TaskHandler/Merge/Merge.d.ts +9 -9
  60. package/fcs-core-viewer@types/TaskHandler/Model/RequestHandler/CollaborationTool_req.d.ts +15 -15
  61. package/fcs-core-viewer@types/TaskHandler/Model/ResponseHandler/CollaborationTool_res.d.ts +11 -11
  62. package/fcs-core-viewer@types/TaskHandler/Options/Options.d.ts +31 -31
  63. package/fcs-core-viewer@types/TaskHandler/Output/Output.d.ts +14 -14
  64. package/fcs-core-viewer@types/TaskHandler/TaskHandler.d.ts +325 -325
  65. package/fcs-core-viewer@types/TaskHandler/TaskUtils.d.ts +54 -54
  66. package/fcs-core-viewer@types/TaskHandler/Topbar/Delete/Delete.d.ts +89 -89
  67. package/fcs-core-viewer@types/TaskHandler/Topbar/Display/Display.d.ts +31 -31
  68. package/fcs-core-viewer@types/TaskHandler/Topbar/Tools/Find.d.ts +86 -86
  69. package/fcs-core-viewer@types/TaskHandler/Topbar/Tools/Measurement.d.ts +26 -26
  70. package/fcs-core-viewer@types/TaskHandler/Topbar/Tools/Transformation.d.ts +35 -35
  71. package/fcs-core-viewer@types/TaskHandler/Topbar/View/CutView.d.ts +85 -85
  72. package/fcs-core-viewer@types/TaskHandler/Topbar/View/ExplodedView.d.ts +38 -38
  73. package/fcs-core-viewer@types/TaskHandler/Topbar/View/GeomVisualisation.d.ts +46 -46
  74. package/fcs-core-viewer@types/TaskHandler/Topbar/View/Rotate.d.ts +54 -54
  75. package/fcs-core-viewer@types/TaskHandler/Topbar/View/Screenshot.d.ts +41 -41
  76. package/fcs-core-viewer@types/TaskHandler/Topbar/View/Views.d.ts +22 -22
  77. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/AddContainer.d.ts +16 -16
  78. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/AddFile.d.ts +18 -18
  79. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/AddFolder.d.ts +16 -16
  80. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/ITaskDefinition.d.ts +5 -5
  81. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/Interactions.d.ts +47 -47
  82. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/RemoveFile.d.ts +6 -6
  83. package/fcs-core-viewer@types/TaskHandler/Tree/ResponseHandler/AddTreeItem.d.ts +14 -14
  84. package/fcs-core-viewer@types/TaskHandler/Tree/ResponseHandler/Interactions.d.ts +3 -3
  85. package/fcs-core-viewer@types/TaskHandler/Tree/ResponseHandler/RemoveTreeItem.d.ts +10 -10
  86. package/fcs-core-viewer@types/TaskHandler/Tree/ResponseHandler.d.ts +5 -5
  87. package/fcs-core-viewer@types/TaskHandler/Tree/Tree.d.ts +236 -236
  88. package/fcs-core-viewer@types/Tree/TreeStructure/TreeStructure.d.ts +68 -68
  89. package/fcs-core-viewer@types/Tree/TreeView/TreeCore.d.ts +175 -175
  90. package/fcs-core-viewer@types/Tree/TreeView/TreeCoreUtils.d.ts +82 -82
  91. package/fcs-core-viewer@types/UserInterface/EventListeners/EventListeners.d.ts +32 -32
  92. package/fcs-core-viewer@types/UserInterface/EventListeners/ModelEvents.d.ts +13 -13
  93. package/fcs-core-viewer@types/UserInterface/EventListeners/TreeViewEvents.d.ts +15 -15
  94. package/fcs-core-viewer@types/UserInterface/UIComponents/Model.d.ts +33 -33
  95. package/fcs-core-viewer@types/UserInterface/UIComponents/TreeView.d.ts +52 -52
  96. package/fcs-core-viewer@types/UserInterface/UIComponents/UIComponents.d.ts +32 -32
  97. package/fcs-core-viewer@types/UserInterface/UIComponents.d.ts +44 -44
  98. package/fcs-core-viewer@types/UserInterface/UIDefinition.d.ts +37 -37
  99. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/BaseComponents/FcsUiBaseComponent.d.ts +6 -6
  100. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/BaseComponents/FcsUiFunctionGroup.d.ts +14 -14
  101. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/BaseComponents/FcsUiInputCollector.d.ts +10 -10
  102. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/BaseComponents/FcsUiPushButton.d.ts +8 -8
  103. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/BaseComponents/FcsUiSlider.d.ts +3 -3
  104. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/BaseComponents/FcsUiStatusBar.d.ts +27 -27
  105. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/BaseComponents/FcsUiTreeView.d.ts +3 -3
  106. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/CloudCAE.d.ts +48 -48
  107. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/CloudCAEDummyActions.d.ts +10 -10
  108. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/CloudCAEDummyAssets.d.ts +10 -10
  109. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/ExclusiveComponents/FcsUiAdvancedHelp.d.ts +3 -3
  110. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/ExclusiveComponents/FcsUiExclusiveComponent.d.ts +6 -6
  111. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/MainComponents/FcsUiContextMenu.d.ts +3 -3
  112. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/MainComponents/FcsUiDockPanel.d.ts +7 -7
  113. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/MainComponents/FcsUiDockedQuickMenu.d.ts +10 -10
  114. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/MainComponents/FcsUiDropButton.d.ts +5 -5
  115. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/MainComponents/FcsUiHowerPanel.d.ts +3 -3
  116. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/MainComponents/FcsUiMainComponent.d.ts +2 -2
  117. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/MainComponents/FcsUiQuickOptionsMenu.d.ts +12 -12
  118. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/Settings/FcsUiButtonStyle.d.ts +22 -22
  119. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/Settings/FcsUiPositions.d.ts +20 -20
  120. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/Settings/FcsUiSizing.d.ts +4 -4
  121. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/Wrapper/FcsUiBinder.d.ts +6 -6
  122. package/fcs-core-viewer@types/UserInterface/{UiApi → UiApi_deprecated}/Wrapper/FcsUiDefinition.d.ts +8 -8
  123. package/fcs-core-viewer@types/ViewerEntities/AbstractEntities.d.ts +76 -76
  124. package/fcs-core-viewer@types/ViewerEntities/ContainerEntities.d.ts +27 -27
  125. package/fcs-core-viewer@types/ViewerEntities/Index.d.ts +11 -11
  126. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/AnnotationEntities.d.ts +79 -79
  127. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/CollaborationEntities.d.ts +125 -125
  128. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/GeometricEntities.d.ts +20 -20
  129. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/Index.d.ts +7 -7
  130. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/TemporaryEntities.d.ts +15 -15
  131. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/VisibleBaseEntities.d.ts +38 -38
  132. package/fcs-core-viewer@types/ViewerSetup.d.ts +5 -5
  133. package/fcs-core-viewer@types/Workspace/StyleHandler.d.ts +133 -133
  134. package/fcs-core-viewer@types/Workspace/ThreeJsExtensions.d.ts +47 -47
  135. package/fcs-core-viewer@types/Workspace/ViewerWrapper.d.ts +215 -215
  136. package/package.json +41 -41
@@ -1,21 +1,21 @@
1
- import { Options } from '../TaskHandler/Options/Options';
2
- import { Loader } from '../Loader/Loader';
3
- import { TaskUtils } from '../TaskHandler/TaskUtils';
4
- /**
5
- * Options Events
6
- */
7
- export declare class OptionsEvents {
8
- options: Options;
9
- loader: Loader;
10
- taskUtils: TaskUtils;
11
- /**
12
- * Constructor.
13
- * @param options
14
- * @param loader
15
- */
16
- constructor(options: Options, loader: Loader, taskUtils: TaskUtils);
17
- /**
18
- * Register event listener related to options events.
19
- */
20
- private _registerListeners;
21
- }
1
+ import { Options } from '../TaskHandler/Options/Options';
2
+ import { Loader } from '../Loader/Loader';
3
+ import { TaskUtils } from '../TaskHandler/TaskUtils';
4
+ /**
5
+ * Options Events
6
+ */
7
+ export declare class OptionsEvents {
8
+ options: Options;
9
+ loader: Loader;
10
+ taskUtils: TaskUtils;
11
+ /**
12
+ * Constructor.
13
+ * @param options
14
+ * @param loader
15
+ */
16
+ constructor(options: Options, loader: Loader, taskUtils: TaskUtils);
17
+ /**
18
+ * Register event listener related to options events.
19
+ */
20
+ private _registerListeners;
21
+ }
@@ -1,23 +1,23 @@
1
- import { SceneWrapper } from "../Model/SceneWrapper";
2
- export declare class SidebarEvents {
3
- sceneWrapper: SceneWrapper;
4
- readonly menuSections: any[];
5
- readonly topbarSections_L1: any[];
6
- readonly a_geom: HTMLElement;
7
- readonly section_geom: HTMLElement;
8
- readonly a_1D: HTMLElement;
9
- readonly section_1D: HTMLElement;
10
- readonly a_dev: HTMLElement;
11
- readonly section_dev: HTMLElement;
12
- readonly a_beam: HTMLElement;
13
- readonly section_beam: HTMLElement;
14
- readonly a_node: HTMLElement;
15
- readonly section_node: HTMLElement;
16
- readonly icon_options: HTMLElement;
17
- readonly section_options: HTMLElement;
18
- constructor(sceneWrapper: SceneWrapper);
19
- /**
20
- * Registers event listeners.
21
- */
22
- private _registerListeners;
23
- }
1
+ import { SceneWrapper } from "../Model/SceneWrapper";
2
+ export declare class SidebarEvents {
3
+ sceneWrapper: SceneWrapper;
4
+ readonly menuSections: any[];
5
+ readonly topbarSections_L1: any[];
6
+ readonly a_geom: HTMLElement;
7
+ readonly section_geom: HTMLElement;
8
+ readonly a_1D: HTMLElement;
9
+ readonly section_1D: HTMLElement;
10
+ readonly a_dev: HTMLElement;
11
+ readonly section_dev: HTMLElement;
12
+ readonly a_beam: HTMLElement;
13
+ readonly section_beam: HTMLElement;
14
+ readonly a_node: HTMLElement;
15
+ readonly section_node: HTMLElement;
16
+ readonly icon_options: HTMLElement;
17
+ readonly section_options: HTMLElement;
18
+ constructor(sceneWrapper: SceneWrapper);
19
+ /**
20
+ * Registers event listeners.
21
+ */
22
+ private _registerListeners;
23
+ }
@@ -1,124 +1,124 @@
1
- import { Views } from "../TaskHandler/Topbar/View/Views";
2
- import { Rotate } from "../TaskHandler/Topbar/View/Rotate";
3
- import { Screenshot } from "../TaskHandler/Topbar/View/Screenshot";
4
- import { GeomVisualisation } from "../TaskHandler/Topbar/View/GeomVisualisation";
5
- import { TaskHandler } from "../TaskHandler/TaskHandler";
6
- import { SceneWrapper } from "../Model/SceneWrapper";
7
- import { UIDefinition } from "../UserInterface/UIDefinition";
8
- export declare class TopbarEvents {
9
- views: Views;
10
- rotate: Rotate;
11
- screenshot: Screenshot;
12
- geomVisualisation: GeomVisualisation;
13
- taskHandler: TaskHandler;
14
- sceneWrapper: SceneWrapper;
15
- taskName: string;
16
- uiDef: UIDefinition;
17
- readonly topbar: Element;
18
- readonly nav_topbar: Element;
19
- readonly topbarSections_L1: any[];
20
- readonly topbarSections_L2: any[];
21
- readonly myCanvas: HTMLElement;
22
- readonly a_tree: HTMLElement;
23
- readonly a_view: HTMLElement;
24
- readonly section_view: HTMLElement;
25
- readonly a_disp: HTMLElement;
26
- readonly section_disp: HTMLElement;
27
- readonly a_repr: HTMLElement;
28
- readonly a_vertexRepr_typ0: HTMLElement;
29
- readonly a_vertexRepr_typ1: HTMLElement;
30
- readonly a_lineRepr: HTMLElement;
31
- readonly a_faceRepr: HTMLElement;
32
- readonly section_repr: HTMLElement;
33
- readonly input_text_disp: HTMLElement;
34
- readonly a_disp_entity1: HTMLElement;
35
- readonly a_tools: HTMLElement;
36
- readonly a_find: HTMLElement;
37
- readonly a_info: HTMLElement;
38
- readonly a_measure: HTMLElement;
39
- readonly a_pos: HTMLElement;
40
- readonly a_assy: HTMLElement;
41
- readonly section_tools: HTMLElement;
42
- readonly a_insp: HTMLElement;
43
- readonly section_insp: HTMLElement;
44
- readonly a_delete: HTMLElement;
45
- readonly a_slctMe: HTMLElement;
46
- readonly a_byID: HTMLElement;
47
- readonly a_byClick: HTMLElement;
48
- readonly a_byAll: HTMLElement;
49
- readonly a_byItem: HTMLElement;
50
- readonly section_methods: HTMLElement;
51
- readonly a_slctMo: HTMLElement;
52
- readonly a_visibleOnly: HTMLElement;
53
- readonly a_throughAll: HTMLElement;
54
- readonly section_modes: HTMLElement;
55
- readonly a_slctEn: HTMLElement;
56
- readonly a_vertex: HTMLElement;
57
- readonly a_edge: HTMLElement;
58
- readonly a_face: HTMLElement;
59
- readonly section_entities: HTMLElement;
60
- readonly a_sktch: HTMLElement;
61
- readonly a_views: HTMLElement;
62
- readonly a_xy_plus: HTMLElement;
63
- readonly a_xy_minus: HTMLElement;
64
- readonly a_xz_plus: HTMLElement;
65
- readonly a_xz_minus: HTMLElement;
66
- readonly a_yz_plus: HTMLElement;
67
- readonly a_yz_minus: HTMLElement;
68
- readonly section_views: HTMLElement;
69
- readonly a_rotPlus: HTMLElement;
70
- readonly a_rotMinus: HTMLElement;
71
- readonly a_fit: HTMLElement;
72
- readonly a_id: HTMLElement;
73
- readonly a_att: HTMLElement;
74
- readonly input_text_id: HTMLElement;
75
- readonly a_id_entity1: HTMLElement;
76
- readonly a_dist: HTMLElement;
77
- readonly a_translate: HTMLElement;
78
- readonly a_rotate: HTMLElement;
79
- readonly a_position: HTMLElement;
80
- readonly section_measure: HTMLElement;
81
- readonly section_transformation: HTMLElement;
82
- readonly a_merge: HTMLElement;
83
- readonly a_mergeBySelection: HTMLElement;
84
- readonly a_mergeByTolerance: HTMLElement;
85
- readonly section_merge: HTMLElement;
86
- readonly section_tree: HTMLElement;
87
- readonly section_find: HTMLElement;
88
- readonly a_aux: HTMLElement;
89
- readonly section_aux: HTMLElement;
90
- readonly a_picture: HTMLElement;
91
- readonly fcs_viewer_div: any;
92
- constructor(views: Views, rotate: Rotate, screenshot: Screenshot, geomVisualisation: GeomVisualisation, taskHandler: TaskHandler, sceneWrapper: SceneWrapper);
93
- /**
94
- *
95
- */
96
- private _registerListeners;
97
- /**
98
- * Megnyitja az 1. szintu dropdown menut. L1 ... Level 1
99
- * @param section
100
- * @param a
101
- */
102
- showDropdown_L1(section: any, a: any): void;
103
- /**
104
- * Megnyitja az 2. szintu dropdown menut. L2 ... Level 2 --> csak 1 szint maradjon. A tobb level-bol subtask-ot kell csinalni
105
- * @param section
106
- * @param a
107
- */
108
- showDropdown_L2(section: any, a: any): void;
109
- /**
110
- * Bezarja a task GUI-jat a rightPanel-en
111
- * @param section
112
- */
113
- menuHide(section: any): void;
114
- /**
115
- * Hide-olja a 1. szintu dropdown menu-t
116
- * @param section
117
- */
118
- topbarHide_L1(section: any): void;
119
- /**
120
- * Hide-olja a 2. szintu dropdown menu-t
121
- * @param section
122
- */
123
- topbarHide_L2(section: any): void;
124
- }
1
+ import { Views } from "../TaskHandler/Topbar/View/Views";
2
+ import { Rotate } from "../TaskHandler/Topbar/View/Rotate";
3
+ import { Screenshot } from "../TaskHandler/Topbar/View/Screenshot";
4
+ import { GeomVisualisation } from "../TaskHandler/Topbar/View/GeomVisualisation";
5
+ import { TaskHandler } from "../TaskHandler/TaskHandler";
6
+ import { SceneWrapper } from "../Model/SceneWrapper";
7
+ import { UIDefinition } from "../UserInterface/UIDefinition";
8
+ export declare class TopbarEvents {
9
+ views: Views;
10
+ rotate: Rotate;
11
+ screenshot: Screenshot;
12
+ geomVisualisation: GeomVisualisation;
13
+ taskHandler: TaskHandler;
14
+ sceneWrapper: SceneWrapper;
15
+ taskName: string;
16
+ uiDef: UIDefinition;
17
+ readonly topbar: Element;
18
+ readonly nav_topbar: Element;
19
+ readonly topbarSections_L1: any[];
20
+ readonly topbarSections_L2: any[];
21
+ readonly myCanvas: HTMLElement;
22
+ readonly a_tree: HTMLElement;
23
+ readonly a_view: HTMLElement;
24
+ readonly section_view: HTMLElement;
25
+ readonly a_disp: HTMLElement;
26
+ readonly section_disp: HTMLElement;
27
+ readonly a_repr: HTMLElement;
28
+ readonly a_vertexRepr_typ0: HTMLElement;
29
+ readonly a_vertexRepr_typ1: HTMLElement;
30
+ readonly a_lineRepr: HTMLElement;
31
+ readonly a_faceRepr: HTMLElement;
32
+ readonly section_repr: HTMLElement;
33
+ readonly input_text_disp: HTMLElement;
34
+ readonly a_disp_entity1: HTMLElement;
35
+ readonly a_tools: HTMLElement;
36
+ readonly a_find: HTMLElement;
37
+ readonly a_info: HTMLElement;
38
+ readonly a_measure: HTMLElement;
39
+ readonly a_pos: HTMLElement;
40
+ readonly a_assy: HTMLElement;
41
+ readonly section_tools: HTMLElement;
42
+ readonly a_insp: HTMLElement;
43
+ readonly section_insp: HTMLElement;
44
+ readonly a_delete: HTMLElement;
45
+ readonly a_slctMe: HTMLElement;
46
+ readonly a_byID: HTMLElement;
47
+ readonly a_byClick: HTMLElement;
48
+ readonly a_byAll: HTMLElement;
49
+ readonly a_byItem: HTMLElement;
50
+ readonly section_methods: HTMLElement;
51
+ readonly a_slctMo: HTMLElement;
52
+ readonly a_visibleOnly: HTMLElement;
53
+ readonly a_throughAll: HTMLElement;
54
+ readonly section_modes: HTMLElement;
55
+ readonly a_slctEn: HTMLElement;
56
+ readonly a_vertex: HTMLElement;
57
+ readonly a_edge: HTMLElement;
58
+ readonly a_face: HTMLElement;
59
+ readonly section_entities: HTMLElement;
60
+ readonly a_sktch: HTMLElement;
61
+ readonly a_views: HTMLElement;
62
+ readonly a_xy_plus: HTMLElement;
63
+ readonly a_xy_minus: HTMLElement;
64
+ readonly a_xz_plus: HTMLElement;
65
+ readonly a_xz_minus: HTMLElement;
66
+ readonly a_yz_plus: HTMLElement;
67
+ readonly a_yz_minus: HTMLElement;
68
+ readonly section_views: HTMLElement;
69
+ readonly a_rotPlus: HTMLElement;
70
+ readonly a_rotMinus: HTMLElement;
71
+ readonly a_fit: HTMLElement;
72
+ readonly a_id: HTMLElement;
73
+ readonly a_att: HTMLElement;
74
+ readonly input_text_id: HTMLElement;
75
+ readonly a_id_entity1: HTMLElement;
76
+ readonly a_dist: HTMLElement;
77
+ readonly a_translate: HTMLElement;
78
+ readonly a_rotate: HTMLElement;
79
+ readonly a_position: HTMLElement;
80
+ readonly section_measure: HTMLElement;
81
+ readonly section_transformation: HTMLElement;
82
+ readonly a_merge: HTMLElement;
83
+ readonly a_mergeBySelection: HTMLElement;
84
+ readonly a_mergeByTolerance: HTMLElement;
85
+ readonly section_merge: HTMLElement;
86
+ readonly section_tree: HTMLElement;
87
+ readonly section_find: HTMLElement;
88
+ readonly a_aux: HTMLElement;
89
+ readonly section_aux: HTMLElement;
90
+ readonly a_picture: HTMLElement;
91
+ readonly fcs_viewer_div: any;
92
+ constructor(views: Views, rotate: Rotate, screenshot: Screenshot, geomVisualisation: GeomVisualisation, taskHandler: TaskHandler, sceneWrapper: SceneWrapper);
93
+ /**
94
+ *
95
+ */
96
+ private _registerListeners;
97
+ /**
98
+ * Megnyitja az 1. szintu dropdown menut. L1 ... Level 1
99
+ * @param section
100
+ * @param a
101
+ */
102
+ showDropdown_L1(section: any, a: any): void;
103
+ /**
104
+ * Megnyitja az 2. szintu dropdown menut. L2 ... Level 2 --> csak 1 szint maradjon. A tobb level-bol subtask-ot kell csinalni
105
+ * @param section
106
+ * @param a
107
+ */
108
+ showDropdown_L2(section: any, a: any): void;
109
+ /**
110
+ * Bezarja a task GUI-jat a rightPanel-en
111
+ * @param section
112
+ */
113
+ menuHide(section: any): void;
114
+ /**
115
+ * Hide-olja a 1. szintu dropdown menu-t
116
+ * @param section
117
+ */
118
+ topbarHide_L1(section: any): void;
119
+ /**
120
+ * Hide-olja a 2. szintu dropdown menu-t
121
+ * @param section
122
+ */
123
+ topbarHide_L2(section: any): void;
124
+ }
@@ -1,47 +1,47 @@
1
- import { SceneWrapper } from "../Model/SceneWrapper";
2
- import { TreeOperations } from "../TaskHandler/Tree/Tree";
3
- /**
4
- * To do:
5
- * szetvalasztani a listener-eket a operation-tol
6
- * Rename eseten a treeJSON-ben update-elni a name-et
7
- * Add toggle visibility
8
- * Highlight-olja a modellt, ha rakattintunk
9
- */
10
- export declare class TreeEvents {
11
- treeOps: TreeOperations;
12
- sceneWrapper: SceneWrapper;
13
- scene: any;
14
- renderer: any;
15
- currentCamera: any;
16
- readonly div_treeHTML: HTMLElement;
17
- readonly myCanvas: HTMLElement;
18
- readonly parent: any;
19
- readonly id: HTMLElement;
20
- readonly mid: HTMLElement;
21
- readonly pid: HTMLElement;
22
- readonly a_showSelected: HTMLElement;
23
- readonly a_hideSelected: HTMLElement;
24
- readonly a_showOnlyItem: HTMLElement;
25
- readonly a_showAll: HTMLElement;
26
- readonly a_hideAll: HTMLElement;
27
- readonly a_rename: HTMLElement;
28
- readonly a_makeCurrent: HTMLElement;
29
- readonly a_copy: HTMLElement;
30
- readonly a_move: HTMLElement;
31
- readonly a_treeDelete: HTMLElement;
32
- readonly a_addComponent: HTMLElement;
33
- readonly a_addProperty: HTMLElement;
34
- readonly a_addMaterial: HTMLElement;
35
- readonly a_addSet: HTMLElement;
36
- readonly a_addLoad: HTMLElement;
37
- readonly a_addConstraint: HTMLElement;
38
- readonly a_addLoadstep: HTMLElement;
39
- readonly input_rename: HTMLElement;
40
- readonly tol: number;
41
- readonly a_add: HTMLElement;
42
- constructor(treeOperations: TreeOperations, sceneWrapper: SceneWrapper);
43
- /**
44
- * Registers listeners
45
- */
46
- private _registerListeners;
47
- }
1
+ import { SceneWrapper } from "../Model/SceneWrapper";
2
+ import { TreeOperations } from "../TaskHandler/Tree/Tree";
3
+ /**
4
+ * To do:
5
+ * szetvalasztani a listener-eket a operation-tol
6
+ * Rename eseten a treeJSON-ben update-elni a name-et
7
+ * Add toggle visibility
8
+ * Highlight-olja a modellt, ha rakattintunk
9
+ */
10
+ export declare class TreeEvents {
11
+ treeOps: TreeOperations;
12
+ sceneWrapper: SceneWrapper;
13
+ scene: any;
14
+ renderer: any;
15
+ currentCamera: any;
16
+ readonly div_treeHTML: HTMLElement;
17
+ readonly myCanvas: HTMLElement;
18
+ readonly parent: any;
19
+ readonly id: HTMLElement;
20
+ readonly mid: HTMLElement;
21
+ readonly pid: HTMLElement;
22
+ readonly a_showSelected: HTMLElement;
23
+ readonly a_hideSelected: HTMLElement;
24
+ readonly a_showOnlyItem: HTMLElement;
25
+ readonly a_showAll: HTMLElement;
26
+ readonly a_hideAll: HTMLElement;
27
+ readonly a_rename: HTMLElement;
28
+ readonly a_makeCurrent: HTMLElement;
29
+ readonly a_copy: HTMLElement;
30
+ readonly a_move: HTMLElement;
31
+ readonly a_treeDelete: HTMLElement;
32
+ readonly a_addComponent: HTMLElement;
33
+ readonly a_addProperty: HTMLElement;
34
+ readonly a_addMaterial: HTMLElement;
35
+ readonly a_addSet: HTMLElement;
36
+ readonly a_addLoad: HTMLElement;
37
+ readonly a_addConstraint: HTMLElement;
38
+ readonly a_addLoadstep: HTMLElement;
39
+ readonly input_rename: HTMLElement;
40
+ readonly tol: number;
41
+ readonly a_add: HTMLElement;
42
+ constructor(treeOperations: TreeOperations, sceneWrapper: SceneWrapper);
43
+ /**
44
+ * Registers listeners
45
+ */
46
+ private _registerListeners;
47
+ }
@@ -1,47 +1,47 @@
1
- import { MeshWrapper } from '../Model/MeshWrapper';
2
- import { SceneWrapper } from '../Model/SceneWrapper';
3
- import { LoaderUtils, LoaderTools } from './LoaderUtils';
4
- import { Appearance } from '../TaskHandler/Context/Context';
5
- import { TreeView } from '../UserInterface/UIComponents/TreeView';
6
- /**
7
- * Load Edge
8
- */
9
- export declare class LoadEdge {
10
- generalLineMaterial: any;
11
- generalPointMaterial: any;
12
- loaderTools: LoaderTools;
13
- loaderUtils: LoaderUtils;
14
- appearance: Appearance;
15
- sceneWrapper: SceneWrapper;
16
- meshWrapper: MeshWrapper;
17
- treeView: TreeView;
18
- mesh: any;
19
- line: any;
20
- point: any;
21
- promise: any;
22
- itemUID: any;
23
- meshGeometry: any;
24
- scene: any;
25
- currentCamera: any;
26
- renderer: any;
27
- uniqueToViewer: {};
28
- vertexToUnique: {};
29
- components: {};
30
- /**
31
- *
32
- * @param loaderTools
33
- * @param loaderUtils
34
- * @param sceneWrapper
35
- * @param meshWrapper
36
- */
37
- constructor(loaderTools: LoaderTools, loaderUtils: LoaderUtils, appearance: Appearance, sceneWrapper: SceneWrapper, meshWrapper: MeshWrapper, treeView: TreeView);
38
- /**
39
- * Import edgeBased item
40
- * @param name
41
- * @param itemUID
42
- * @param parentUID
43
- * @param objParsed
44
- * @returns
45
- */
46
- importEdge(name: any, itemUID: any, parentUID: any, objParsed: any): Promise<string>;
47
- }
1
+ import { MeshWrapper } from '../Model/MeshWrapper';
2
+ import { SceneWrapper } from '../Model/SceneWrapper';
3
+ import { LoaderUtils, LoaderTools } from './LoaderUtils';
4
+ import { Appearance } from '../TaskHandler/Context/Context';
5
+ import { TreeView } from '../UserInterface/UIComponents/TreeView';
6
+ /**
7
+ * Load Edge
8
+ */
9
+ export declare class LoadEdge {
10
+ generalLineMaterial: any;
11
+ generalPointMaterial: any;
12
+ loaderTools: LoaderTools;
13
+ loaderUtils: LoaderUtils;
14
+ appearance: Appearance;
15
+ sceneWrapper: SceneWrapper;
16
+ meshWrapper: MeshWrapper;
17
+ treeView: TreeView;
18
+ mesh: any;
19
+ line: any;
20
+ point: any;
21
+ promise: any;
22
+ itemUID: any;
23
+ meshGeometry: any;
24
+ scene: any;
25
+ currentCamera: any;
26
+ renderer: any;
27
+ uniqueToViewer: {};
28
+ vertexToUnique: {};
29
+ components: {};
30
+ /**
31
+ *
32
+ * @param loaderTools
33
+ * @param loaderUtils
34
+ * @param sceneWrapper
35
+ * @param meshWrapper
36
+ */
37
+ constructor(loaderTools: LoaderTools, loaderUtils: LoaderUtils, appearance: Appearance, sceneWrapper: SceneWrapper, meshWrapper: MeshWrapper, treeView: TreeView);
38
+ /**
39
+ * Import edgeBased item
40
+ * @param name
41
+ * @param itemUID
42
+ * @param parentUID
43
+ * @param objParsed
44
+ * @returns
45
+ */
46
+ importEdge(name: any, itemUID: any, parentUID: any, objParsed: any): Promise<string>;
47
+ }
@@ -1,68 +1,68 @@
1
- import * as THREE from '../three/build/three.module';
2
- import { SceneWrapper } from '../Model/SceneWrapper';
3
- import { MeshWrapper } from '../Model/MeshWrapper';
4
- import { LoaderUtils, LoaderTools } from './LoaderUtils';
5
- import { Appearance } from '../TaskHandler/Context/Context';
6
- import { TreeView } from '../UserInterface/UIComponents/TreeView';
7
- /**
8
- * Itt tortenik a STEP model importja.
9
- * Egyedi ID-t generalunk a beimportalni kivant mdoellnek
10
- * Belerakjuk a Register-be (ez a treeJSON, amit a meshWrapper.js-ben keszitunk/modositunk)
11
- * Belerakjuk a model tree-be is. (a tree szerkezetenek manipulalasaval kapcsolatos funkciok a tree.js-ben vannak)
12
- */
13
- export declare class STEPLoader {
14
- generalMeshMaterial: any;
15
- generalLineMaterial: any;
16
- generalPointMaterial: any;
17
- loaderTools: LoaderTools;
18
- appearance: Appearance;
19
- loaderUtils: LoaderUtils;
20
- sceneWrapper: SceneWrapper;
21
- meshWrapper: MeshWrapper;
22
- treeView: TreeView;
23
- mesh: any;
24
- line: any;
25
- point: any;
26
- promise: any;
27
- itemUID: any;
28
- meshGeometry: any;
29
- scene: any;
30
- currentCamera: any;
31
- renderer: any;
32
- uniqueToViewer: {};
33
- vertexToUnique: {};
34
- components: {};
35
- /**
36
- *
37
- * @param loaderTools
38
- * @param loaderUtils
39
- * @param sceneWrapper
40
- * @param meshWrapper
41
- */
42
- constructor(loaderTools: LoaderTools, loaderUtils: LoaderUtils, appearance: Appearance, sceneWrapper: SceneWrapper, meshWrapper: MeshWrapper, treeView: TreeView);
43
- loadSTL(name: string, itemUID: number, parentUID: number, objectURL: string): Promise<string>;
44
- loadingFunc_STL(geometry: THREE.Mesh): Promise<string>;
45
- /**
46
- *
47
- * @param name
48
- * @param itemUID
49
- * @param parentUID
50
- * @param objParsed
51
- * @param objectURL
52
- * @returns
53
- */
54
- loadSTLwithJson(name: any, itemUID: any, parentUID: any, objParsed: any, objectURL: any): Promise<string>;
55
- /**
56
- * Import faceBased item
57
- * @param meshGeometry
58
- * @param name
59
- * @param itemUID
60
- * @param parentUID
61
- * @param objParsed
62
- * @returns
63
- */
64
- loadingFunc_STEP(meshGeometry: any, name: any, itemUID: string, parentUID: string, objParsed: {
65
- tFaces: any;
66
- tEdges: any;
67
- }): Promise<string>;
68
- }
1
+ import * as THREE from '../three/build/three.module';
2
+ import { SceneWrapper } from '../Model/SceneWrapper';
3
+ import { MeshWrapper } from '../Model/MeshWrapper';
4
+ import { LoaderUtils, LoaderTools } from './LoaderUtils';
5
+ import { Appearance } from '../TaskHandler/Context/Context';
6
+ import { TreeView } from '../UserInterface/UIComponents/TreeView';
7
+ /**
8
+ * Itt tortenik a STEP model importja.
9
+ * Egyedi ID-t generalunk a beimportalni kivant mdoellnek
10
+ * Belerakjuk a Register-be (ez a treeJSON, amit a meshWrapper.js-ben keszitunk/modositunk)
11
+ * Belerakjuk a model tree-be is. (a tree szerkezetenek manipulalasaval kapcsolatos funkciok a tree.js-ben vannak)
12
+ */
13
+ export declare class STEPLoader {
14
+ generalMeshMaterial: any;
15
+ generalLineMaterial: any;
16
+ generalPointMaterial: any;
17
+ loaderTools: LoaderTools;
18
+ appearance: Appearance;
19
+ loaderUtils: LoaderUtils;
20
+ sceneWrapper: SceneWrapper;
21
+ meshWrapper: MeshWrapper;
22
+ treeView: TreeView;
23
+ mesh: any;
24
+ line: any;
25
+ point: any;
26
+ promise: any;
27
+ itemUID: any;
28
+ meshGeometry: any;
29
+ scene: any;
30
+ currentCamera: any;
31
+ renderer: any;
32
+ uniqueToViewer: {};
33
+ vertexToUnique: {};
34
+ components: {};
35
+ /**
36
+ *
37
+ * @param loaderTools
38
+ * @param loaderUtils
39
+ * @param sceneWrapper
40
+ * @param meshWrapper
41
+ */
42
+ constructor(loaderTools: LoaderTools, loaderUtils: LoaderUtils, appearance: Appearance, sceneWrapper: SceneWrapper, meshWrapper: MeshWrapper, treeView: TreeView);
43
+ loadSTL(name: string, itemUID: number, parentUID: number, objectURL: string): Promise<string>;
44
+ loadingFunc_STL(geometry: THREE.Mesh): Promise<string>;
45
+ /**
46
+ *
47
+ * @param name
48
+ * @param itemUID
49
+ * @param parentUID
50
+ * @param objParsed
51
+ * @param objectURL
52
+ * @returns
53
+ */
54
+ loadSTLwithJson(name: any, itemUID: any, parentUID: any, objParsed: any, objectURL: any): Promise<string>;
55
+ /**
56
+ * Import faceBased item
57
+ * @param meshGeometry
58
+ * @param name
59
+ * @param itemUID
60
+ * @param parentUID
61
+ * @param objParsed
62
+ * @returns
63
+ */
64
+ loadingFunc_STEP(meshGeometry: any, name: any, itemUID: string, parentUID: string, objParsed: {
65
+ tFaces: any;
66
+ tEdges: any;
67
+ }): Promise<string>;
68
+ }