fcs-core-viewer 0.2.2 → 0.3.0

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 (159) hide show
  1. package/fcs-core-viewer@types/Addins/CustomScript.d.ts +11 -11
  2. package/fcs-core-viewer@types/Addins/Index.d.ts +1 -1
  3. package/fcs-core-viewer@types/Api.d.ts +10 -10
  4. package/fcs-core-viewer@types/BackendEvents/BackendEvents.d.ts +218 -218
  5. package/fcs-core-viewer@types/BackendEvents/TaskExecutionResponse.d.ts +22 -22
  6. package/fcs-core-viewer@types/CloudViewer/CoreInterfaces.d.ts +12 -12
  7. package/fcs-core-viewer@types/CloudViewer/FcsViewer.d.ts +379 -379
  8. package/fcs-core-viewer@types/CloudViewer/Index.d.ts +1 -1
  9. package/fcs-core-viewer@types/CloudViewer/Settings/CameraSettings.d.ts +44 -44
  10. package/fcs-core-viewer@types/CloudViewer/Settings/Index.d.ts +11 -11
  11. package/fcs-core-viewer@types/CloudViewer/Settings/SelectionSettings.d.ts +78 -78
  12. package/fcs-core-viewer@types/CloudViewer/Settings/StyleSettings.d.ts +71 -71
  13. package/fcs-core-viewer@types/CloudViewer/Settings/VisibilitySettings.d.ts +19 -19
  14. package/fcs-core-viewer@types/CloudViewer/TypesFcs.d.ts +12 -12
  15. package/fcs-core-viewer@types/Common/CommsChannels/BackendClient.d.ts +47 -47
  16. package/fcs-core-viewer@types/Common/CommsChannels/Socket.d.ts +34 -34
  17. package/fcs-core-viewer@types/Common/Diagnostics/Exceptions.d.ts +26 -26
  18. package/fcs-core-viewer@types/Common/Diagnostics/StatusDialog.d.ts +72 -72
  19. package/fcs-core-viewer@types/Common/Diagnostics/WebLogger.d.ts +21 -21
  20. package/fcs-core-viewer@types/Common/Index.d.ts +6 -6
  21. package/fcs-core-viewer@types/Common/LocalStorage/localStorage.d.ts +2 -2
  22. package/fcs-core-viewer@types/Common/UIDGenerator/UIDGenerator.d.ts +15 -15
  23. package/fcs-core-viewer@types/Foundations/Index.d.ts +5 -5
  24. package/fcs-core-viewer@types/Foundations/VectorGeometry.d.ts +30 -30
  25. package/fcs-core-viewer@types/FrontendEvents/MenuEvents.d.ts +132 -132
  26. package/fcs-core-viewer@types/FrontendEvents/OptionsEvents.d.ts +21 -21
  27. package/fcs-core-viewer@types/FrontendEvents/SidebarEvents.d.ts +23 -23
  28. package/fcs-core-viewer@types/FrontendEvents/TopbarEvents.d.ts +124 -124
  29. package/fcs-core-viewer@types/FrontendEvents/TreeEvents.d.ts +47 -47
  30. package/fcs-core-viewer@types/Loader/LoadEdge.d.ts +47 -47
  31. package/fcs-core-viewer@types/Loader/LoadSTEP.d.ts +68 -68
  32. package/fcs-core-viewer@types/Loader/LoadVertex.d.ts +41 -41
  33. package/fcs-core-viewer@types/Loader/Loader.d.ts +67 -67
  34. package/fcs-core-viewer@types/Loader/LoaderUtils.d.ts +234 -234
  35. package/fcs-core-viewer@types/Model/ActiveCloudDocument.d.ts +84 -84
  36. package/fcs-core-viewer@types/Model/Index.d.ts +9 -9
  37. package/fcs-core-viewer@types/Model/MeshWrapper.d.ts +87 -87
  38. package/fcs-core-viewer@types/Model/SceneWrapper.d.ts +171 -171
  39. package/fcs-core-viewer@types/SelectionTools/SelectEntities/SelectItem.d.ts +38 -38
  40. package/fcs-core-viewer@types/SelectionTools/Selection.d.ts +83 -83
  41. package/fcs-core-viewer@types/SelectionTools/SelectionEdge.d.ts +25 -25
  42. package/fcs-core-viewer@types/SelectionTools/SelectionEdgeByID.d.ts +29 -29
  43. package/fcs-core-viewer@types/SelectionTools/SelectionFace.d.ts +42 -42
  44. package/fcs-core-viewer@types/SelectionTools/SelectionFaceByID.d.ts +26 -26
  45. package/fcs-core-viewer@types/SelectionTools/SelectionUtils.d.ts +71 -71
  46. package/fcs-core-viewer@types/SelectionTools/SelectionValidation.d.ts +63 -63
  47. package/fcs-core-viewer@types/SelectionTools/SelectionVertex.d.ts +26 -26
  48. package/fcs-core-viewer@types/SelectionTools/SelectionVertexByID.d.ts +26 -26
  49. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectActive.d.ts +12 -12
  50. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectAll.d.ts +23 -23
  51. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectEdge.d.ts +7 -7
  52. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectFace.d.ts +7 -7
  53. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectItem.d.ts +14 -14
  54. package/fcs-core-viewer@types/SelectionTools/UnselectEntities/UnselectVertex.d.ts +8 -8
  55. package/fcs-core-viewer@types/SelectionTools/Unselection.d.ts +81 -81
  56. package/fcs-core-viewer@types/StyleHandler/TreeStyle.d.ts +23 -23
  57. package/fcs-core-viewer@types/TaskHandler/Context/Context.d.ts +80 -80
  58. package/fcs-core-viewer@types/TaskHandler/Merge/Merge.d.ts +9 -9
  59. package/fcs-core-viewer@types/TaskHandler/Model/RequestHandler/CollaborationTool_req.d.ts +15 -15
  60. package/fcs-core-viewer@types/TaskHandler/Model/ResponseHandler/CollaborationTool_res.d.ts +11 -11
  61. package/fcs-core-viewer@types/TaskHandler/Options/Options.d.ts +31 -31
  62. package/fcs-core-viewer@types/TaskHandler/Output/Output.d.ts +14 -14
  63. package/fcs-core-viewer@types/TaskHandler/TaskHandler.d.ts +325 -325
  64. package/fcs-core-viewer@types/TaskHandler/TaskUtils.d.ts +54 -54
  65. package/fcs-core-viewer@types/TaskHandler/Topbar/Delete/Delete.d.ts +89 -89
  66. package/fcs-core-viewer@types/TaskHandler/Topbar/Display/Display.d.ts +31 -31
  67. package/fcs-core-viewer@types/TaskHandler/Topbar/Tools/Find.d.ts +86 -86
  68. package/fcs-core-viewer@types/TaskHandler/Topbar/Tools/Measurement.d.ts +26 -26
  69. package/fcs-core-viewer@types/TaskHandler/Topbar/Tools/Transformation.d.ts +35 -35
  70. package/fcs-core-viewer@types/TaskHandler/Topbar/View/CutView.d.ts +85 -85
  71. package/fcs-core-viewer@types/TaskHandler/Topbar/View/ExplodedView.d.ts +38 -38
  72. package/fcs-core-viewer@types/TaskHandler/Topbar/View/GeomVisualisation.d.ts +46 -46
  73. package/fcs-core-viewer@types/TaskHandler/Topbar/View/Rotate.d.ts +54 -54
  74. package/fcs-core-viewer@types/TaskHandler/Topbar/View/Screenshot.d.ts +41 -41
  75. package/fcs-core-viewer@types/TaskHandler/Topbar/View/Views.d.ts +22 -22
  76. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/AddContainer.d.ts +16 -16
  77. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/AddFile.d.ts +18 -18
  78. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/AddFolder.d.ts +16 -16
  79. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/ITaskDefinition.d.ts +5 -5
  80. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/Interactions.d.ts +47 -47
  81. package/fcs-core-viewer@types/TaskHandler/Tree/RequestHandler/RemoveFile.d.ts +6 -6
  82. package/fcs-core-viewer@types/TaskHandler/Tree/ResponseHandler/AddTreeItem.d.ts +14 -14
  83. package/fcs-core-viewer@types/TaskHandler/Tree/ResponseHandler/Interactions.d.ts +3 -3
  84. package/fcs-core-viewer@types/TaskHandler/Tree/ResponseHandler/RemoveTreeItem.d.ts +10 -10
  85. package/fcs-core-viewer@types/TaskHandler/Tree/ResponseHandler.d.ts +5 -5
  86. package/fcs-core-viewer@types/TaskHandler/Tree/Tree.d.ts +236 -236
  87. package/fcs-core-viewer@types/Tree/TreeStructure/TreeStructure.d.ts +68 -68
  88. package/fcs-core-viewer@types/Tree/TreeView/TreeCore.d.ts +175 -175
  89. package/fcs-core-viewer@types/Tree/TreeView/TreeCoreUtils.d.ts +82 -82
  90. package/fcs-core-viewer@types/UserInterface/EventListeners/EventListeners.d.ts +32 -32
  91. package/fcs-core-viewer@types/UserInterface/EventListeners/ModelEvents.d.ts +13 -13
  92. package/fcs-core-viewer@types/UserInterface/EventListeners/TreeViewEvents.d.ts +15 -15
  93. package/fcs-core-viewer@types/UserInterface/UIComponents/Model.d.ts +33 -33
  94. package/fcs-core-viewer@types/UserInterface/UIComponents/TreeView.d.ts +52 -52
  95. package/fcs-core-viewer@types/UserInterface/UIComponents/UIComponents.d.ts +32 -32
  96. package/fcs-core-viewer@types/UserInterface/UIComponents.d.ts +44 -44
  97. package/fcs-core-viewer@types/UserInterface/UIDefinition.d.ts +37 -37
  98. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/BaseComponents/FcsUiBaseComponent.d.ts +6 -6
  99. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/BaseComponents/FcsUiFunctionGroup.d.ts +14 -14
  100. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/BaseComponents/FcsUiInputCollector.d.ts +10 -10
  101. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/BaseComponents/FcsUiPushButton.d.ts +8 -8
  102. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/BaseComponents/FcsUiSlider.d.ts +3 -3
  103. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/BaseComponents/FcsUiStatusBar.d.ts +27 -27
  104. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/BaseComponents/FcsUiTreeView.d.ts +3 -3
  105. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/CloudCAE.d.ts +48 -48
  106. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/CloudCAEDummyActions.d.ts +10 -10
  107. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/CloudCAEDummyAssets.d.ts +10 -10
  108. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/ExclusiveComponents/FcsUiAdvancedHelp.d.ts +3 -3
  109. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/ExclusiveComponents/FcsUiExclusiveComponent.d.ts +6 -6
  110. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/MainComponents/FcsUiContextMenu.d.ts +3 -3
  111. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/MainComponents/FcsUiDockPanel.d.ts +7 -7
  112. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/MainComponents/FcsUiDockedQuickMenu.d.ts +10 -10
  113. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/MainComponents/FcsUiDropButton.d.ts +5 -5
  114. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/MainComponents/FcsUiHowerPanel.d.ts +3 -3
  115. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/MainComponents/FcsUiMainComponent.d.ts +2 -2
  116. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/MainComponents/FcsUiQuickOptionsMenu.d.ts +12 -12
  117. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/Settings/FcsUiButtonStyle.d.ts +22 -22
  118. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/Settings/FcsUiPositions.d.ts +20 -20
  119. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/Settings/FcsUiSizing.d.ts +4 -4
  120. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/Wrapper/FcsUiBinder.d.ts +6 -6
  121. package/fcs-core-viewer@types/UserInterface/UiApi_deprecated/Wrapper/FcsUiDefinition.d.ts +8 -8
  122. package/fcs-core-viewer@types/ViewerEntities/AbstractEntities.d.ts +76 -76
  123. package/fcs-core-viewer@types/ViewerEntities/ContainerEntities.d.ts +27 -27
  124. package/fcs-core-viewer@types/ViewerEntities/Index.d.ts +11 -11
  125. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/AnnotationEntities.d.ts +79 -79
  126. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/CollaborationEntities.d.ts +125 -125
  127. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/GeometricEntities.d.ts +20 -20
  128. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/Index.d.ts +7 -7
  129. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/TemporaryEntities.d.ts +15 -15
  130. package/fcs-core-viewer@types/ViewerEntities/VisibleEntities/VisibleBaseEntities.d.ts +38 -38
  131. package/fcs-core-viewer@types/ViewerSetup.d.ts +5 -5
  132. package/fcs-core-viewer@types/Workspace/StyleHandler.d.ts +133 -133
  133. package/fcs-core-viewer@types/Workspace/ThreeJsExtensions.d.ts +47 -47
  134. package/fcs-core-viewer@types/Workspace/ViewerWrapper.d.ts +215 -215
  135. package/package.json +1 -1
  136. package/fcs-core-viewer@types/UserInterface/UiApi/BaseComponents/FcsUiBaseComponent.d.ts +0 -6
  137. package/fcs-core-viewer@types/UserInterface/UiApi/BaseComponents/FcsUiFunctionGroup.d.ts +0 -14
  138. package/fcs-core-viewer@types/UserInterface/UiApi/BaseComponents/FcsUiInputCollector.d.ts +0 -10
  139. package/fcs-core-viewer@types/UserInterface/UiApi/BaseComponents/FcsUiPushButton.d.ts +0 -8
  140. package/fcs-core-viewer@types/UserInterface/UiApi/BaseComponents/FcsUiSlider.d.ts +0 -3
  141. package/fcs-core-viewer@types/UserInterface/UiApi/BaseComponents/FcsUiStatusBar.d.ts +0 -27
  142. package/fcs-core-viewer@types/UserInterface/UiApi/BaseComponents/FcsUiTreeView.d.ts +0 -3
  143. package/fcs-core-viewer@types/UserInterface/UiApi/CloudCAE.d.ts +0 -48
  144. package/fcs-core-viewer@types/UserInterface/UiApi/CloudCAEDummyActions.d.ts +0 -10
  145. package/fcs-core-viewer@types/UserInterface/UiApi/CloudCAEDummyAssets.d.ts +0 -10
  146. package/fcs-core-viewer@types/UserInterface/UiApi/ExclusiveComponents/FcsUiAdvancedHelp.d.ts +0 -3
  147. package/fcs-core-viewer@types/UserInterface/UiApi/ExclusiveComponents/FcsUiExclusiveComponent.d.ts +0 -6
  148. package/fcs-core-viewer@types/UserInterface/UiApi/MainComponents/FcsUiContextMenu.d.ts +0 -3
  149. package/fcs-core-viewer@types/UserInterface/UiApi/MainComponents/FcsUiDockPanel.d.ts +0 -7
  150. package/fcs-core-viewer@types/UserInterface/UiApi/MainComponents/FcsUiDockedQuickMenu.d.ts +0 -10
  151. package/fcs-core-viewer@types/UserInterface/UiApi/MainComponents/FcsUiDropButton.d.ts +0 -5
  152. package/fcs-core-viewer@types/UserInterface/UiApi/MainComponents/FcsUiHowerPanel.d.ts +0 -3
  153. package/fcs-core-viewer@types/UserInterface/UiApi/MainComponents/FcsUiMainComponent.d.ts +0 -2
  154. package/fcs-core-viewer@types/UserInterface/UiApi/MainComponents/FcsUiQuickOptionsMenu.d.ts +0 -12
  155. package/fcs-core-viewer@types/UserInterface/UiApi/Settings/FcsUiButtonStyle.d.ts +0 -22
  156. package/fcs-core-viewer@types/UserInterface/UiApi/Settings/FcsUiPositions.d.ts +0 -20
  157. package/fcs-core-viewer@types/UserInterface/UiApi/Settings/FcsUiSizing.d.ts +0 -4
  158. package/fcs-core-viewer@types/UserInterface/UiApi/Wrapper/FcsUiBinder.d.ts +0 -6
  159. package/fcs-core-viewer@types/UserInterface/UiApi/Wrapper/FcsUiDefinition.d.ts +0 -8
@@ -1 +1 @@
1
- export * from './FcsViewer';
1
+ export * from './FcsViewer';
@@ -1,44 +1,44 @@
1
- import { VectorGeometry } from "../../Foundations/VectorGeometry";
2
- export declare namespace CameraSettings {
3
- /**
4
- * Controls all camera related settings.
5
- */
6
- class Camera {
7
- /**
8
- * The direction of where the camera is looking.
9
- * For a human, this would be the direction of where our eyes are looking.
10
- */
11
- readonly CameraViewDirection: VectorGeometry.Vector3D;
12
- /**
13
- * The 'up' direction in the plane defined by the `cameraViewDirection`.
14
- * For a human, this would be the direction of where the head is pointing.
15
- */
16
- readonly CameraUpDirection: VectorGeometry.Vector3D;
17
- /**
18
- * A point around which the camera is rotating.
19
- */
20
- readonly OrbitPoint: VectorGeometry.Vector3D;
21
- /**
22
- * The 3D position of the camera. It is recommended to keep this null
23
- * For a human, this would be the position where the person is standing.
24
- */
25
- readonly CameraPosition: VectorGeometry.Vector3D;
26
- /**
27
- * Adjusts zoom of the camera.
28
- */
29
- readonly ZoomFactor: number;
30
- /**
31
- * Constructor creates camera settings that clearly define
32
- * @param {VectorGeometry.Vector3D} cameraViewDirection The direction of where the camera is looking.
33
- * @param {VectorGeometry.Vector3D} cameraUpDirection The 'up' direction in the plane defined by the `camereViewDirection`.
34
- * @param {VectorGeometry.Vector3D} cameraPosition Where is the camera?
35
- */
36
- constructor(cameraViewDirection: VectorGeometry.Vector3D, cameraUpDirection: VectorGeometry.Vector3D, orbitPoint: VectorGeometry.Vector3D, cameraPosition: VectorGeometry.Vector3D, zoomFactor: number);
37
- /**
38
- * Method to check equality of two Camera objects based on Vector3D properties
39
- * @param otherCamera
40
- * @returns True - if two cameras have the same exact setup.
41
- */
42
- isSame(otherCamera: Camera): boolean;
43
- }
44
- }
1
+ import { VectorGeometry } from "../../Foundations/VectorGeometry";
2
+ export declare namespace CameraSettings {
3
+ /**
4
+ * Controls all camera related settings.
5
+ */
6
+ class Camera {
7
+ /**
8
+ * The direction of where the camera is looking.
9
+ * For a human, this would be the direction of where our eyes are looking.
10
+ */
11
+ readonly CameraViewDirection: VectorGeometry.Vector3D;
12
+ /**
13
+ * The 'up' direction in the plane defined by the `cameraViewDirection`.
14
+ * For a human, this would be the direction of where the head is pointing.
15
+ */
16
+ readonly CameraUpDirection: VectorGeometry.Vector3D;
17
+ /**
18
+ * A point around which the camera is rotating.
19
+ */
20
+ readonly OrbitPoint: VectorGeometry.Vector3D;
21
+ /**
22
+ * The 3D position of the camera. It is recommended to keep this null
23
+ * For a human, this would be the position where the person is standing.
24
+ */
25
+ readonly CameraPosition: VectorGeometry.Vector3D;
26
+ /**
27
+ * Adjusts zoom of the camera.
28
+ */
29
+ readonly ZoomFactor: number;
30
+ /**
31
+ * Constructor creates camera settings that clearly define
32
+ * @param {VectorGeometry.Vector3D} cameraViewDirection The direction of where the camera is looking.
33
+ * @param {VectorGeometry.Vector3D} cameraUpDirection The 'up' direction in the plane defined by the `camereViewDirection`.
34
+ * @param {VectorGeometry.Vector3D} cameraPosition Where is the camera?
35
+ */
36
+ constructor(cameraViewDirection: VectorGeometry.Vector3D, cameraUpDirection: VectorGeometry.Vector3D, orbitPoint: VectorGeometry.Vector3D, cameraPosition: VectorGeometry.Vector3D, zoomFactor: number);
37
+ /**
38
+ * Method to check equality of two Camera objects based on Vector3D properties
39
+ * @param otherCamera
40
+ * @returns True - if two cameras have the same exact setup.
41
+ */
42
+ isSame(otherCamera: Camera): boolean;
43
+ }
44
+ }
@@ -1,11 +1,11 @@
1
- import * as CameraSettings from './CameraSettings';
2
- import * as SelectionSettings from './SelectionSettings';
3
- import * as StyleSettings from './StyleSettings';
4
- import * as VisibilitySettings from './VisibilitySettings';
5
- declare const Settings: {
6
- SelectionSettings: typeof SelectionSettings.SelectionSettings;
7
- VisibilitySettings: typeof VisibilitySettings.VisibilitySettings;
8
- CameraSettings: typeof CameraSettings.CameraSettings;
9
- StyleSettings: typeof StyleSettings.StyleSettings;
10
- };
11
- export { Settings };
1
+ import * as CameraSettings from './CameraSettings';
2
+ import * as SelectionSettings from './SelectionSettings';
3
+ import * as StyleSettings from './StyleSettings';
4
+ import * as VisibilitySettings from './VisibilitySettings';
5
+ declare const Settings: {
6
+ SelectionSettings: typeof SelectionSettings.SelectionSettings;
7
+ VisibilitySettings: typeof VisibilitySettings.VisibilitySettings;
8
+ CameraSettings: typeof CameraSettings.CameraSettings;
9
+ StyleSettings: typeof StyleSettings.StyleSettings;
10
+ };
11
+ export { Settings };
@@ -1,78 +1,78 @@
1
- export declare namespace SelectionSettings {
2
- /**
3
- * What do we allow to select
4
- */
5
- namespace SelectionControl {
6
- /**
7
- * Collection of those entities that are selectable.
8
- */
9
- enum AllowedEntities {
10
- /**
11
- * All entities (hierarchical, topological, discrete, abstract)
12
- */
13
- ANY_ENTITIES = 0,
14
- /**
15
- * Geometric vertices (topological)
16
- */
17
- VERTICES = 1,
18
- /**
19
- * Geometric edges (topological)
20
- */
21
- EDGES = 2,
22
- /**
23
- * Geometric face (topological)
24
- */
25
- FACES = 3,
26
- /**
27
- * Geometric solid (topological)
28
- */
29
- SOLIDS = 4,
30
- /**
31
- * Collection of combined geometric solids (topological)
32
- */
33
- COMPOUNDS = 5,
34
- /**
35
- * Text, dimensions, and
36
- */
37
- ANNOTATION = 6,
38
- /**
39
- * A vector with arrow-like representation (abstract)
40
- */
41
- VECTOR = 7,
42
- /**
43
- *
44
- */
45
- BOUNDARY_CONDITION = 8,
46
- /**
47
- * Multiple items in the object tree (hierarchical)
48
- * ToDo: @Botond lehet csak erre van szükség?
49
- */
50
- ITEM = 9,
51
- /**
52
- * Only a single it the object tree (hierarchical)
53
- * ToDo: @Botond
54
- */
55
- SINGLE_ITEM = 10
56
- }
57
- /**
58
- * Contains selection area definitions that are produced
59
- * on holding down the left mouse key.
60
- */
61
- enum AreaSelectionType {
62
- /**
63
- * The selection area is a rectangle. This is the default
64
- * and most commonly used.
65
- */
66
- RECTANGLE = 0,
67
- /**
68
- * The selection area is a circle. The circle's radius is defined
69
- * by the distance from the start and end locations of the cursor.
70
- */
71
- CIRCLE = 1,
72
- /**
73
- * The selection area is a square.
74
- */
75
- SQUARE = 2
76
- }
77
- }
78
- }
1
+ export declare namespace SelectionSettings {
2
+ /**
3
+ * What do we allow to select
4
+ */
5
+ namespace SelectionControl {
6
+ /**
7
+ * Collection of those entities that are selectable.
8
+ */
9
+ enum AllowedEntities {
10
+ /**
11
+ * All entities (hierarchical, topological, discrete, abstract)
12
+ */
13
+ ANY_ENTITIES = 0,
14
+ /**
15
+ * Geometric vertices (topological)
16
+ */
17
+ VERTICES = 1,
18
+ /**
19
+ * Geometric edges (topological)
20
+ */
21
+ EDGES = 2,
22
+ /**
23
+ * Geometric face (topological)
24
+ */
25
+ FACES = 3,
26
+ /**
27
+ * Geometric solid (topological)
28
+ */
29
+ SOLIDS = 4,
30
+ /**
31
+ * Collection of combined geometric solids (topological)
32
+ */
33
+ COMPOUNDS = 5,
34
+ /**
35
+ * Text, dimensions, and
36
+ */
37
+ ANNOTATION = 6,
38
+ /**
39
+ * A vector with arrow-like representation (abstract)
40
+ */
41
+ VECTOR = 7,
42
+ /**
43
+ *
44
+ */
45
+ BOUNDARY_CONDITION = 8,
46
+ /**
47
+ * Multiple items in the object tree (hierarchical)
48
+ * ToDo: @Botond lehet csak erre van szükség?
49
+ */
50
+ ITEM = 9,
51
+ /**
52
+ * Only a single it the object tree (hierarchical)
53
+ * ToDo: @Botond
54
+ */
55
+ SINGLE_ITEM = 10
56
+ }
57
+ /**
58
+ * Contains selection area definitions that are produced
59
+ * on holding down the left mouse key.
60
+ */
61
+ enum AreaSelectionType {
62
+ /**
63
+ * The selection area is a rectangle. This is the default
64
+ * and most commonly used.
65
+ */
66
+ RECTANGLE = 0,
67
+ /**
68
+ * The selection area is a circle. The circle's radius is defined
69
+ * by the distance from the start and end locations of the cursor.
70
+ */
71
+ CIRCLE = 1,
72
+ /**
73
+ * The selection area is a square.
74
+ */
75
+ SQUARE = 2
76
+ }
77
+ }
78
+ }
@@ -1,71 +1,71 @@
1
- import { AbstractEntities } from "../../ViewerEntities/AbstractEntities";
2
- export declare namespace StyleSettings {
3
- /**
4
- * There are two existing preset styles for the viewer at time of writing
5
- * this version:
6
- * 0) Clean viewer
7
- * 1) Simple Viewer
8
- * 2) Cloud CAE
9
- */
10
- enum PresetStyles {
11
- /**
12
- * Clean viewer has only model and triade
13
- */
14
- CLEAN_VIEWER = 0,
15
- /**
16
- * Minimal UI enabled, widgets for collaboration and model overview
17
- */
18
- SIMPLE_VIEWER = 1,
19
- /**
20
- * All widgets to access operations enabled.
21
- */
22
- CLOUD_CAE = 2
23
- }
24
- /**
25
- * Style settings customize the viewer so that it changes
26
- * the visual appearance of the viewer but not how it functions.
27
- */
28
- class ViewerStyleSettings {
29
- /**
30
- * Constructor creates viewer style settings of default type.
31
- */
32
- constructor();
33
- /**
34
- * Selection color.
35
- */
36
- selectionColor: AbstractEntities.Color;
37
- /**
38
- * The color of the top half of the canvas.
39
- */
40
- private topColor;
41
- /**
42
- * The color of the bottom half of the canvas.
43
- */
44
- private bottomColor;
45
- /**
46
- * Widget control. ToDo: Separate into functional settings.
47
- */
48
- presetStyle: PresetStyles;
49
- /**
50
- * Sets the background top color of the canvas.
51
- * @param {Femsolve.Color} backgroundTopColor - The color of the upper segment of the screen.
52
- * */
53
- setBackgroundTopColor(backgroundTopColor: AbstractEntities.Color): void;
54
- /**
55
- * Sets the highlighted entities default selection color
56
- * ToDo?: Should be under selection settings.
57
- * @param selectionColor
58
- */
59
- setSelectionColor(selectionColor: AbstractEntities.Color): void;
60
- /**
61
- * Set the background bottom color of the canvas.
62
- * @param {Femsolve.Color} backgroundBottomColor - The color of the upper segment of the screen.
63
- * */
64
- setBackgroundBottomColor(backgroundBottomColor: AbstractEntities.Color): void;
65
- /**
66
- * Sets the required preset style from the available options.
67
- * @param {PresetStyles} style Preset style for initialisation
68
- */
69
- setPresetStyle(style: PresetStyles): void;
70
- }
71
- }
1
+ import { AbstractEntities } from "../../ViewerEntities/AbstractEntities";
2
+ export declare namespace StyleSettings {
3
+ /**
4
+ * There are two existing preset styles for the viewer at time of writing
5
+ * this version:
6
+ * 0) Clean viewer
7
+ * 1) Simple Viewer
8
+ * 2) Cloud CAE
9
+ */
10
+ enum PresetStyles {
11
+ /**
12
+ * Clean viewer has only model and triade
13
+ */
14
+ CLEAN_VIEWER = 0,
15
+ /**
16
+ * Minimal UI enabled, widgets for collaboration and model overview
17
+ */
18
+ SIMPLE_VIEWER = 1,
19
+ /**
20
+ * All widgets to access operations enabled.
21
+ */
22
+ CLOUD_CAE = 2
23
+ }
24
+ /**
25
+ * Style settings customize the viewer so that it changes
26
+ * the visual appearance of the viewer but not how it functions.
27
+ */
28
+ class ViewerStyleSettings {
29
+ /**
30
+ * Constructor creates viewer style settings of default type.
31
+ */
32
+ constructor();
33
+ /**
34
+ * Selection color.
35
+ */
36
+ selectionColor: AbstractEntities.Color;
37
+ /**
38
+ * The color of the top half of the canvas.
39
+ */
40
+ private topColor;
41
+ /**
42
+ * The color of the bottom half of the canvas.
43
+ */
44
+ private bottomColor;
45
+ /**
46
+ * Widget control. ToDo: Separate into functional settings.
47
+ */
48
+ presetStyle: PresetStyles;
49
+ /**
50
+ * Sets the background top color of the canvas.
51
+ * @param {Femsolve.Color} backgroundTopColor - The color of the upper segment of the screen.
52
+ * */
53
+ setBackgroundTopColor(backgroundTopColor: AbstractEntities.Color): void;
54
+ /**
55
+ * Sets the highlighted entities default selection color
56
+ * ToDo?: Should be under selection settings.
57
+ * @param selectionColor
58
+ */
59
+ setSelectionColor(selectionColor: AbstractEntities.Color): void;
60
+ /**
61
+ * Set the background bottom color of the canvas.
62
+ * @param {Femsolve.Color} backgroundBottomColor - The color of the upper segment of the screen.
63
+ * */
64
+ setBackgroundBottomColor(backgroundBottomColor: AbstractEntities.Color): void;
65
+ /**
66
+ * Sets the required preset style from the available options.
67
+ * @param {PresetStyles} style Preset style for initialisation
68
+ */
69
+ setPresetStyle(style: PresetStyles): void;
70
+ }
71
+ }
@@ -1,19 +1,19 @@
1
- export declare namespace VisibilitySettings {
2
- /**
3
- * Contains visibility toggles for topological entities
4
- */
5
- enum TopologyVisibility {
6
- /**
7
- * Visibility option for showing vertex entities.
8
- */
9
- VERTICES = 0,
10
- /**
11
- * Visibility option for showing edge entities.
12
- */
13
- EDGES = 1,
14
- /**
15
- * Visibility option for showing face entities.
16
- */
17
- FACES = 2
18
- }
19
- }
1
+ export declare namespace VisibilitySettings {
2
+ /**
3
+ * Contains visibility toggles for topological entities
4
+ */
5
+ enum TopologyVisibility {
6
+ /**
7
+ * Visibility option for showing vertex entities.
8
+ */
9
+ VERTICES = 0,
10
+ /**
11
+ * Visibility option for showing edge entities.
12
+ */
13
+ EDGES = 1,
14
+ /**
15
+ * Visibility option for showing face entities.
16
+ */
17
+ FACES = 2
18
+ }
19
+ }
@@ -1,12 +1,12 @@
1
- export declare class SceneWrapper {
2
- scene: any;
3
- }
4
- /**
5
- * Required for position the camera
6
- * @param point [xp, yp, zp] - Camera target
7
- * @param diameter Defines bounding sphere diameter
8
- */
9
- export interface CameraOperationInput {
10
- point: number[];
11
- diameter: number;
12
- }
1
+ export declare class SceneWrapper {
2
+ scene: any;
3
+ }
4
+ /**
5
+ * Required for position the camera
6
+ * @param point [xp, yp, zp] - Camera target
7
+ * @param diameter Defines bounding sphere diameter
8
+ */
9
+ export interface CameraOperationInput {
10
+ point: number[];
11
+ diameter: number;
12
+ }
@@ -1,47 +1,47 @@
1
- import { IBackendEvents, ITaskUtilities } from '../../CloudViewer/CoreInterfaces';
2
- /**
3
- * Use this TaskRequest interface to forward tasks to the backend manager.
4
- */
5
- export interface TaskRequest {
6
- taskId: number;
7
- input: string;
8
- blobInput: any;
9
- event: Event;
10
- }
11
- /**
12
- * Proxy class for sending backend transactions.
13
- * All deepend related operations should be transferred through here.
14
- */
15
- export declare class BackendManager {
16
- private _authToken;
17
- private _taskUtilities;
18
- private _backendEvents;
19
- /**
20
- * Constructor. Connects client to backend services.
21
- * @param client
22
- */
23
- constructor(authToken: string, taskUtilities: ITaskUtilities, backendEvents: IBackendEvents);
24
- /**
25
- * Use this method to forward tasks to the backend WITHOUT blob input
26
- * @param taskId This is the common lookup table for the operations. The purpose of this is
27
- * that if the function signatures change, the task IDs remain as they were.
28
- * @param onCompleteEvent When the task finishes it shall callback this event
29
- * @param endpoint By default all tasks are sent to the '/viewer/toBackend' endpoint for now
30
- */
31
- sendTaskRequestToBackend(taskId: number, input?: null | any, blobInput?: File | null, onCompleteEvent?: Function, endpoint?: string): Promise<any>;
32
- /**
33
- * Always use this method send baseline computational requests.
34
- * E.g. import of model, meshing task.
35
- * @param message
36
- * @param endpoint
37
- * @returns
38
- */
39
- sendToBackend(message: any, endpoint: string): Promise<any>;
40
- /**
41
- * Along with a message also a binary file is uploaded.
42
- * @param message
43
- * @param endpoint
44
- * @returns
45
- */
46
- sendToBackendWithBlobInput(message: any, file: File, endpoint: string): Promise<any>;
47
- }
1
+ import { IBackendEvents, ITaskUtilities } from '../../CloudViewer/CoreInterfaces';
2
+ /**
3
+ * Use this TaskRequest interface to forward tasks to the backend manager.
4
+ */
5
+ export interface TaskRequest {
6
+ taskId: number;
7
+ input: string;
8
+ blobInput: any;
9
+ event: Event;
10
+ }
11
+ /**
12
+ * Proxy class for sending backend transactions.
13
+ * All deepend related operations should be transferred through here.
14
+ */
15
+ export declare class BackendManager {
16
+ private _authToken;
17
+ private _taskUtilities;
18
+ private _backendEvents;
19
+ /**
20
+ * Constructor. Connects client to backend services.
21
+ * @param client
22
+ */
23
+ constructor(authToken: string, taskUtilities: ITaskUtilities, backendEvents: IBackendEvents);
24
+ /**
25
+ * Use this method to forward tasks to the backend WITHOUT blob input
26
+ * @param taskId This is the common lookup table for the operations. The purpose of this is
27
+ * that if the function signatures change, the task IDs remain as they were.
28
+ * @param onCompleteEvent When the task finishes it shall callback this event
29
+ * @param endpoint By default all tasks are sent to the '/viewer/toBackend' endpoint for now
30
+ */
31
+ sendTaskRequestToBackend(taskId: number, input?: null | any, blobInput?: File | null, onCompleteEvent?: Function, endpoint?: string): Promise<any>;
32
+ /**
33
+ * Always use this method send baseline computational requests.
34
+ * E.g. import of model, meshing task.
35
+ * @param message
36
+ * @param endpoint
37
+ * @returns
38
+ */
39
+ sendToBackend(message: any, endpoint: string): Promise<any>;
40
+ /**
41
+ * Along with a message also a binary file is uploaded.
42
+ * @param message
43
+ * @param endpoint
44
+ * @returns
45
+ */
46
+ sendToBackendWithBlobInput(message: any, file: File, endpoint: string): Promise<any>;
47
+ }
@@ -1,34 +1,34 @@
1
- import { Socket } from 'socket.io-client';
2
- /**
3
- * Socket Class
4
- */
5
- export declare class CurrentUserSocket {
6
- private static _instance;
7
- socket: Socket;
8
- private static _authToken;
9
- private static _activeModelPath;
10
- /**
11
- * By default, we allow and expect to get callbacks from the backend.
12
- */
13
- private static _allowBackendCallbacks;
14
- private constructor();
15
- static disallowSocketCallbacks(): void;
16
- static getInstance(authToken?: string): CurrentUserSocket;
17
- static getAuthToken(): string | null;
18
- /**
19
- * Handle socket errors and log them to console
20
- */
21
- private _handleErrors;
22
- /**
23
- * Get socket instance of socket
24
- */
25
- get server(): Socket<import("@socket.io/component-emitter").DefaultEventsMap, import("@socket.io/component-emitter").DefaultEventsMap>;
26
- /**
27
- * Set active model path for current user
28
- */
29
- static setActiveModelPath(path: string): void;
30
- /**
31
- * Get active model path for current user
32
- */
33
- get activeModelPath(): string;
34
- }
1
+ import { Socket } from 'socket.io-client';
2
+ /**
3
+ * Socket Class
4
+ */
5
+ export declare class CurrentUserSocket {
6
+ private static _instance;
7
+ socket: Socket;
8
+ private static _authToken;
9
+ private static _activeModelPath;
10
+ /**
11
+ * By default, we allow and expect to get callbacks from the backend.
12
+ */
13
+ private static _allowBackendCallbacks;
14
+ private constructor();
15
+ static disallowSocketCallbacks(): void;
16
+ static getInstance(authToken?: string): CurrentUserSocket;
17
+ static getAuthToken(): string | null;
18
+ /**
19
+ * Handle socket errors and log them to console
20
+ */
21
+ private _handleErrors;
22
+ /**
23
+ * Get socket instance of socket
24
+ */
25
+ get server(): Socket<import("@socket.io/component-emitter").DefaultEventsMap, import("@socket.io/component-emitter").DefaultEventsMap>;
26
+ /**
27
+ * Set active model path for current user
28
+ */
29
+ static setActiveModelPath(path: string): void;
30
+ /**
31
+ * Get active model path for current user
32
+ */
33
+ get activeModelPath(): string;
34
+ }