@xtctwins/tctwins-core 1.1.19 → 1.1.20

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 (151) hide show
  1. package/README.md +4 -4
  2. package/dist/tctwins-core.es5.js +27517 -27493
  3. package/dist/tctwins-core.min.es5.js +4 -4
  4. package/package.json +84 -84
  5. package/types/extras/ContextMenu/ContextMenu.d.ts +127 -127
  6. package/types/extras/ContextMenu/index.d.ts +1 -1
  7. package/types/extras/PointerCircle/PointerCircle.d.ts +51 -51
  8. package/types/extras/PointerCircle/index.d.ts +1 -1
  9. package/types/extras/PointerLens/PointerLens.d.ts +146 -146
  10. package/types/extras/index.d.ts +3 -3
  11. package/types/index.d.ts +3 -3
  12. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurement.d.ts +204 -204
  13. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurementsControl.d.ts +91 -91
  14. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurementsMouseControl.d.ts +125 -125
  15. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurementsPlugin.d.ts +151 -151
  16. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurementsSimulateMouseControl.d.ts +86 -86
  17. package/types/plugins/AngleMeasurementsPlugin/AngleMeasurementsTouchControl.d.ts +124 -124
  18. package/types/plugins/AngleMeasurementsPlugin/index.d.ts +5 -5
  19. package/types/plugins/AnnotationsPlugin/Annotation.d.ts +135 -135
  20. package/types/plugins/AnnotationsPlugin/AnnotationsPlugin.d.ts +172 -172
  21. package/types/plugins/AnnotationsPlugin/index.d.ts +2 -2
  22. package/types/plugins/BCFViewpointsPlugin/BCFViewpointsPlugin.d.ts +148 -148
  23. package/types/plugins/BCFViewpointsPlugin/index.d.ts +1 -1
  24. package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurement.d.ts +253 -253
  25. package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurementsControl.d.ts +96 -96
  26. package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurementsMouseControl.d.ts +102 -102
  27. package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurementsPlugin.d.ts +192 -192
  28. package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurementsSimulateMouseControl.d.ts +83 -83
  29. package/types/plugins/DistanceMeasurementsPlugin/DistanceMeasurementsTouchControl.d.ts +103 -103
  30. package/types/plugins/DistanceMeasurementsPlugin/index.d.ts +5 -5
  31. package/types/plugins/FastNavPlugin/FastNavPlugin.d.ts +223 -223
  32. package/types/plugins/FastNavPlugin/index.d.ts +1 -1
  33. package/types/plugins/GLTFLoaderPlugin/GLTFLoaderPlugin.d.ts +142 -142
  34. package/types/plugins/GLTFLoaderPlugin/index.d.ts +1 -1
  35. package/types/plugins/LASLoaderPlugin/LASLoaderPlugin.d.ts +240 -240
  36. package/types/plugins/LASLoaderPlugin/index.d.ts +1 -1
  37. package/types/plugins/NavCubePlugin/NavCubePlugin.d.ts +177 -177
  38. package/types/plugins/NavCubePlugin/index.d.ts +1 -1
  39. package/types/plugins/ObjectEditPlugin/ObjectEditPlugin.d.ts +242 -242
  40. package/types/plugins/ObjectEditPlugin/index.d.ts +1 -1
  41. package/types/plugins/SectionPlanesPlugin/SectionBoxControl.d.ts +36 -36
  42. package/types/plugins/SectionPlanesPlugin/SectionPlanesPlugin.d.ts +186 -186
  43. package/types/plugins/SectionPlanesPlugin/index.d.ts +2 -2
  44. package/types/plugins/SkyboxesPlugin/SkyboxesPlugin.d.ts +66 -66
  45. package/types/plugins/SkyboxesPlugin/index.d.ts +1 -1
  46. package/types/plugins/StoreyViewsPlugin/Storey.d.ts +69 -69
  47. package/types/plugins/StoreyViewsPlugin/StoreyMap.d.ts +41 -41
  48. package/types/plugins/StoreyViewsPlugin/StoreyViewsPlugin.d.ts +180 -180
  49. package/types/plugins/StoreyViewsPlugin/index.d.ts +1 -1
  50. package/types/plugins/TreeViewPlugin/ModelTreeView.d.ts +24 -24
  51. package/types/plugins/TreeViewPlugin/TreeViewNode.d.ts +71 -71
  52. package/types/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +267 -267
  53. package/types/plugins/TreeViewPlugin/index.d.ts +1 -1
  54. package/types/plugins/TreeViewPlugin/renderService.d.ts +128 -128
  55. package/types/plugins/ViewCullPlugin/ViewCullPlugin.d.ts +34 -34
  56. package/types/plugins/ViewCullPlugin/index.d.ts +1 -1
  57. package/types/plugins/WebIFCLoaderPlugin/WebIFCLoaderPlugin.d.ts +236 -236
  58. package/types/plugins/WebIFCLoaderPlugin/index.d.ts +1 -1
  59. package/types/plugins/XTCLoaderPlugin/XTCLoaderPlugin.d.ts +288 -288
  60. package/types/plugins/XTCLoaderPlugin/index.d.ts +1 -1
  61. package/types/plugins/index.d.ts +30 -30
  62. package/types/viewer/Configs.d.ts +46 -46
  63. package/types/viewer/Plugin.d.ts +69 -69
  64. package/types/viewer/Viewer.d.ts +282 -282
  65. package/types/viewer/index.d.ts +6 -6
  66. package/types/viewer/localization/LocaleService.d.ts +183 -183
  67. package/types/viewer/metadata/IFCObjectDefaults.d.ts +9 -9
  68. package/types/viewer/metadata/MetaModel.d.ts +94 -102
  69. package/types/viewer/metadata/MetaObject.d.ts +74 -74
  70. package/types/viewer/metadata/MetaScene.d.ts +135 -135
  71. package/types/viewer/metadata/Property.d.ts +29 -29
  72. package/types/viewer/metadata/PropertySet.d.ts +31 -31
  73. package/types/viewer/metadata/index.d.ts +6 -6
  74. package/types/viewer/scene/Bitmap/Bitmap.d.ts +255 -255
  75. package/types/viewer/scene/CameraControl/CameraControl.d.ts +777 -777
  76. package/types/viewer/scene/Component.d.ts +155 -155
  77. package/types/viewer/scene/Entity.d.ts +401 -401
  78. package/types/viewer/scene/LineSet/LineSet.d.ts +111 -111
  79. package/types/viewer/scene/camera/Camera.d.ts +364 -364
  80. package/types/viewer/scene/camera/CameraFlightAnimation.d.ts +167 -167
  81. package/types/viewer/scene/camera/CameraPath.d.ts +28 -28
  82. package/types/viewer/scene/camera/CameraPathAnimation.d.ts +95 -95
  83. package/types/viewer/scene/camera/CustomProjection.d.ts +57 -57
  84. package/types/viewer/scene/camera/Frustum.d.ts +166 -166
  85. package/types/viewer/scene/camera/Ortho.d.ts +115 -115
  86. package/types/viewer/scene/camera/Perspective.d.ts +136 -136
  87. package/types/viewer/scene/camera/index.d.ts +4 -4
  88. package/types/viewer/scene/geometry/Geometry.d.ts +7 -7
  89. package/types/viewer/scene/geometry/ReadableGeometry.d.ts +95 -95
  90. package/types/viewer/scene/geometry/VBOGeometry.d.ts +62 -62
  91. package/types/viewer/scene/geometry/builders/buildBoxGeometry.d.ts +21 -21
  92. package/types/viewer/scene/geometry/builders/buildBoxLinesGeometry.d.ts +21 -21
  93. package/types/viewer/scene/geometry/builders/buildCylinderGeometry.d.ts +27 -27
  94. package/types/viewer/scene/geometry/builders/buildGridGeometry.d.ts +17 -17
  95. package/types/viewer/scene/geometry/builders/buildPlaneGeometry.d.ts +21 -21
  96. package/types/viewer/scene/geometry/builders/buildSphereGeometry.d.ts +21 -21
  97. package/types/viewer/scene/geometry/builders/buildTorusGeometry.d.ts +25 -25
  98. package/types/viewer/scene/geometry/builders/buildVectorTextGeometry.d.ts +21 -21
  99. package/types/viewer/scene/geometry/builders/index.d.ts +8 -8
  100. package/types/viewer/scene/geometry/index.d.ts +2 -2
  101. package/types/viewer/scene/index.d.ts +23 -23
  102. package/types/viewer/scene/input/input.d.ts +69 -69
  103. package/types/viewer/scene/lights/AmbientLight.d.ts +19 -19
  104. package/types/viewer/scene/lights/DirLight.d.ts +25 -25
  105. package/types/viewer/scene/lights/Light.d.ts +3 -3
  106. package/types/viewer/scene/lights/PointLight.d.ts +30 -30
  107. package/types/viewer/scene/lights/index.d.ts +2 -2
  108. package/types/viewer/scene/marker/Marker.d.ts +136 -136
  109. package/types/viewer/scene/marker/SpriteMarker.d.ts +185 -185
  110. package/types/viewer/scene/marker/index.d.ts +2 -2
  111. package/types/viewer/scene/materials/EdgeMaterial.d.ts +83 -83
  112. package/types/viewer/scene/materials/EmphasisMaterial.d.ts +241 -241
  113. package/types/viewer/scene/materials/Fresnel.d.ts +148 -148
  114. package/types/viewer/scene/materials/LinesMaterial.d.ts +71 -71
  115. package/types/viewer/scene/materials/Material.d.ts +3 -3
  116. package/types/viewer/scene/materials/PhongMaterial.d.ts +468 -468
  117. package/types/viewer/scene/materials/PointsMaterial.d.ts +206 -206
  118. package/types/viewer/scene/materials/Texture.d.ts +260 -260
  119. package/types/viewer/scene/materials/index.d.ts +6 -6
  120. package/types/viewer/scene/math/Frustum.d.ts +41 -41
  121. package/types/viewer/scene/math/index.d.ts +1 -1
  122. package/types/viewer/scene/math/math.d.ts +104 -104
  123. package/types/viewer/scene/mementos/CameraMemento.d.ts +28 -28
  124. package/types/viewer/scene/mementos/ModelMemento.d.ts +44 -44
  125. package/types/viewer/scene/mementos/ObjectsMemento.d.ts +39 -39
  126. package/types/viewer/scene/mementos/index.d.ts +3 -3
  127. package/types/viewer/scene/mesh/Mesh.d.ts +793 -793
  128. package/types/viewer/scene/mesh/index.d.ts +1 -1
  129. package/types/viewer/scene/models/PerformanceModel/PerformanceModel.d.ts +9 -9
  130. package/types/viewer/scene/models/PerformanceModel/index.d.ts +1 -1
  131. package/types/viewer/scene/models/SceneModel.d.ts +757 -762
  132. package/types/viewer/scene/models/SceneModelEntity.d.ts +417 -417
  133. package/types/viewer/scene/models/SceneModelMesh.d.ts +68 -68
  134. package/types/viewer/scene/models/SceneModelTexture.d.ts +16 -16
  135. package/types/viewer/scene/models/SceneModelTextureSet.d.ts +51 -51
  136. package/types/viewer/scene/models/SceneModelTransform.d.ts +197 -197
  137. package/types/viewer/scene/models/VBOSceneModel/VBOSceneModel.d.ts +7 -7
  138. package/types/viewer/scene/models/index.d.ts +7 -7
  139. package/types/viewer/scene/nodes/Node.d.ts +664 -664
  140. package/types/viewer/scene/nodes/index.d.ts +1 -1
  141. package/types/viewer/scene/postfx/CrossSections.d.ts +42 -42
  142. package/types/viewer/scene/postfx/SAO.d.ts +209 -209
  143. package/types/viewer/scene/scene/Scene.d.ts +1068 -1068
  144. package/types/viewer/scene/sectionPlane/SectionPlane.d.ts +110 -110
  145. package/types/viewer/scene/sectionPlane/index.d.ts +1 -1
  146. package/types/viewer/scene/stats.d.ts +40 -40
  147. package/types/viewer/scene/viewport/Viewport.d.ts +23 -23
  148. package/types/viewer/scene/viewport/index.d.ts +1 -1
  149. package/types/viewer/scene/webgl/PickResult.d.ts +115 -115
  150. package/types/viewer/scene/webgl/index.d.ts +1 -1
  151. package/dist/tctwins-core.umd.js +0 -37
@@ -1,148 +1,148 @@
1
- import { Plugin, Viewer } from "../../viewer";
2
-
3
- export declare type BCFViewpointsPluginConfiguration = {
4
- /** Optional ID for this plugin, so that we can find it within {@link Viewer.plugins}. */
5
- id?: string;
6
- /** Identifies the originating system for BCF records. */
7
- originatingSystem?: string;
8
- /** Identifies the authoring tool for BCF records. */
9
- authoringTool?: string;
10
- };
11
-
12
- /**
13
- * {@link Viewer} plugin that saves and loads BCF viewpoints as JSON objects.
14
- */
15
- export declare class BCFViewpointsPlugin extends Plugin {
16
- /**
17
- * @constructor
18
- * @param {Viewer} viewer The Viewer.
19
- * @param {BCFViewpointsPluginConfiguration} cfg Plugin configuration.
20
- */
21
- constructor(viewer: Viewer, cfg?: BCFViewpointsPluginConfiguration);
22
-
23
- /**
24
- * Identifies the originating system to include in BCF viewpoints saved by this plugin.
25
- * @type {string}
26
- */
27
- originatingSystem: string;
28
-
29
- /**
30
- * Identifies the authoring tool to include in BCF viewpoints saved by this plugin.
31
- * @type {string}
32
- */
33
- authoringTool: string;
34
-
35
- /**
36
- * Saves viewer state to a BCF viewpoint.
37
- *
38
- * Note that xeokit's {@link Camera.look} is the **point-of-interest**, whereas the BCF ````camera_direction```` is a
39
- * direction vector. Therefore, we save ````camera_direction```` as the vector from {@link Camera.eye} to {@link Camera.look}.
40
- *
41
- * @param {*} [options] Options for getting the viewpoint.
42
- * @param {Boolean} [options.spacesVisible=false] Indicates whether ````IfcSpace```` types should be forced visible in the viewpoint.
43
- * @param {Boolean} [options.openingsVisible=false] Indicates whether ````IfcOpening```` types should be forced visible in the viewpoint.
44
- * @param {Boolean} [options.spaceBoundariesVisible=false] Indicates whether the boundaries of ````IfcSpace```` types should be visible in the viewpoint.
45
- * @param {Boolean} [options.snapshot=true] Indicates whether the snapshot should be included in the viewpoint.
46
- * @param {Boolean} [options.defaultInvisible=false] When ````true````, will save the default visibility of all objects
47
- * as ````false````. This means that when we load the viewpoint again, and there are additional models loaded that
48
- * were not saved in the viewpoint, those models will be hidden when we load the viewpoint, and that only the
49
- * objects in the viewpoint will be visible.
50
- * @param {Boolean} [options.reverseClippingPlanes=false] When ````true````, clipping planes are reversed (https://github.com/buildingSMART/BCF-XML/issues/193)
51
- * @returns {*} BCF JSON viewpoint object
52
- * @example
53
- *
54
- * const viewer = new Viewer();
55
- *
56
- * const bcfPlugin = new BCFPlugin(viewer, {
57
- * //...
58
- * });
59
- *
60
- * const viewpoint = bcfPlugin.getViewpoint({ // Options - see constructor
61
- * spacesVisible: false, // Default
62
- * spaceBoundariesVisible: false, // Default
63
- * openingsVisible: false // Default
64
- * });
65
- *
66
- * // viewpoint will resemble the following:
67
- *
68
- * {
69
- * perspective_camera: {
70
- * camera_view_point: {
71
- * x: 0.0,
72
- * y: 0.0,
73
- * z: 0.0
74
- * },
75
- * camera_direction: {
76
- * x: 1.0,
77
- * y: 1.0,
78
- * z: 2.0
79
- * },
80
- * camera_up_vector: {
81
- * x: 0.0,
82
- * y: 0.0,
83
- * z: 1.0
84
- * },
85
- * field_of_view: 90.0
86
- * },
87
- * lines: [],
88
- * clipping_planes: [{
89
- * location: {
90
- * x: 0.5,
91
- * y: 0.5,
92
- * z: 0.5
93
- * },
94
- * direction: {
95
- * x: 1.0,
96
- * y: 0.0,
97
- * z: 0.0
98
- * }
99
- * }],
100
- * bitmaps: [],
101
- * snapshot: {
102
- * snapshot_type: png,
103
- * snapshot_data: "data:image/png;base64,......"
104
- * },
105
- * components: {
106
- * visibility: {
107
- * default_visibility: false,
108
- * exceptions: [{
109
- * ifc_guid: 4$cshxZO9AJBebsni$z9Yk,
110
- * originating_system: xeokit.io,
111
- * authoring_tool_id: xeokit/v1.0
112
- * }]
113
- * },
114
- * selection: [{
115
- * ifc_guid: "4$cshxZO9AJBebsni$z9Yk",
116
- * }]
117
- * }
118
- * }
119
- */
120
- getViewpoint(options?: any): any;
121
-
122
- /**
123
- * Sets viewer state to the given BCF viewpoint.
124
- *
125
- * Note that xeokit's {@link Camera.look} is the **point-of-interest**, whereas the BCF ````camera_direction```` is a
126
- * direction vector. Therefore, when loading a BCF viewpoint, we set {@link Camera.look} to the absolute position
127
- * obtained by offsetting the BCF ````camera_view_point```` along ````camera_direction````.
128
- *
129
- * When loading a viewpoint, we also have the option to find {@link Camera.look} as the closest point of intersection
130
- * (on the surface of any visible and pickable {@link Entity}) with a 3D ray fired from ````camera_view_point```` in
131
- * the direction of ````camera_direction````.
132
- *
133
- * @param {*} bcfViewpoint BCF JSON viewpoint object,
134
- * shows default visible entities and restores camera to initial default position.
135
- * @param {*} [options] Options for setting the viewpoint.
136
- * @param {Boolean} [options.rayCast=true] When ````true```` (default), will attempt to set {@link Camera.look} to the closest
137
- * point of surface intersection with a ray fired from the BCF ````camera_view_point```` in the direction of ````camera_direction````.
138
- * @param {Boolean} [options.immediate=true] When ````true```` (default), immediately set camera position.
139
- * @param {Boolean} [options.duration] Flight duration in seconds. Overrides {@link CameraFlightAnimation.duration}. Only applies when ````immediate```` is ````false````.
140
- * @param {Boolean} [options.reset=true] When ````true```` (default), set {@link Entity.xrayed} and {@link Entity.highlighted} ````false```` on all scene objects.
141
- * @param {Boolean} [options.reverseClippingPlanes=false] When ````true````, clipping planes are reversed (https://github.com/buildingSMART/BCF-XML/issues/193)
142
- * @param {Boolean} [options.updateCompositeObjects=false] When ````true````, then when visibility and selection updates refer to composite objects (eg. an IfcBuildingStorey),
143
- * then this method will apply the updates to objects within those composites.
144
- */
145
- setViewpoint(bcfViewpoint: any, options?: any): void;
146
-
147
- getUUID(): string;
148
- }
1
+ import { Plugin, Viewer } from "../../viewer";
2
+
3
+ export declare type BCFViewpointsPluginConfiguration = {
4
+ /** Optional ID for this plugin, so that we can find it within {@link Viewer.plugins}. */
5
+ id?: string;
6
+ /** Identifies the originating system for BCF records. */
7
+ originatingSystem?: string;
8
+ /** Identifies the authoring tool for BCF records. */
9
+ authoringTool?: string;
10
+ };
11
+
12
+ /**
13
+ * {@link Viewer} plugin that saves and loads BCF viewpoints as JSON objects.
14
+ */
15
+ export declare class BCFViewpointsPlugin extends Plugin {
16
+ /**
17
+ * @constructor
18
+ * @param {Viewer} viewer The Viewer.
19
+ * @param {BCFViewpointsPluginConfiguration} cfg Plugin configuration.
20
+ */
21
+ constructor(viewer: Viewer, cfg?: BCFViewpointsPluginConfiguration);
22
+
23
+ /**
24
+ * Identifies the originating system to include in BCF viewpoints saved by this plugin.
25
+ * @type {string}
26
+ */
27
+ originatingSystem: string;
28
+
29
+ /**
30
+ * Identifies the authoring tool to include in BCF viewpoints saved by this plugin.
31
+ * @type {string}
32
+ */
33
+ authoringTool: string;
34
+
35
+ /**
36
+ * Saves viewer state to a BCF viewpoint.
37
+ *
38
+ * Note that xeokit's {@link Camera.look} is the **point-of-interest**, whereas the BCF ````camera_direction```` is a
39
+ * direction vector. Therefore, we save ````camera_direction```` as the vector from {@link Camera.eye} to {@link Camera.look}.
40
+ *
41
+ * @param {*} [options] Options for getting the viewpoint.
42
+ * @param {Boolean} [options.spacesVisible=false] Indicates whether ````IfcSpace```` types should be forced visible in the viewpoint.
43
+ * @param {Boolean} [options.openingsVisible=false] Indicates whether ````IfcOpening```` types should be forced visible in the viewpoint.
44
+ * @param {Boolean} [options.spaceBoundariesVisible=false] Indicates whether the boundaries of ````IfcSpace```` types should be visible in the viewpoint.
45
+ * @param {Boolean} [options.snapshot=true] Indicates whether the snapshot should be included in the viewpoint.
46
+ * @param {Boolean} [options.defaultInvisible=false] When ````true````, will save the default visibility of all objects
47
+ * as ````false````. This means that when we load the viewpoint again, and there are additional models loaded that
48
+ * were not saved in the viewpoint, those models will be hidden when we load the viewpoint, and that only the
49
+ * objects in the viewpoint will be visible.
50
+ * @param {Boolean} [options.reverseClippingPlanes=false] When ````true````, clipping planes are reversed (https://github.com/buildingSMART/BCF-XML/issues/193)
51
+ * @returns {*} BCF JSON viewpoint object
52
+ * @example
53
+ *
54
+ * const viewer = new Viewer();
55
+ *
56
+ * const bcfPlugin = new BCFPlugin(viewer, {
57
+ * //...
58
+ * });
59
+ *
60
+ * const viewpoint = bcfPlugin.getViewpoint({ // Options - see constructor
61
+ * spacesVisible: false, // Default
62
+ * spaceBoundariesVisible: false, // Default
63
+ * openingsVisible: false // Default
64
+ * });
65
+ *
66
+ * // viewpoint will resemble the following:
67
+ *
68
+ * {
69
+ * perspective_camera: {
70
+ * camera_view_point: {
71
+ * x: 0.0,
72
+ * y: 0.0,
73
+ * z: 0.0
74
+ * },
75
+ * camera_direction: {
76
+ * x: 1.0,
77
+ * y: 1.0,
78
+ * z: 2.0
79
+ * },
80
+ * camera_up_vector: {
81
+ * x: 0.0,
82
+ * y: 0.0,
83
+ * z: 1.0
84
+ * },
85
+ * field_of_view: 90.0
86
+ * },
87
+ * lines: [],
88
+ * clipping_planes: [{
89
+ * location: {
90
+ * x: 0.5,
91
+ * y: 0.5,
92
+ * z: 0.5
93
+ * },
94
+ * direction: {
95
+ * x: 1.0,
96
+ * y: 0.0,
97
+ * z: 0.0
98
+ * }
99
+ * }],
100
+ * bitmaps: [],
101
+ * snapshot: {
102
+ * snapshot_type: png,
103
+ * snapshot_data: "data:image/png;base64,......"
104
+ * },
105
+ * components: {
106
+ * visibility: {
107
+ * default_visibility: false,
108
+ * exceptions: [{
109
+ * ifc_guid: 4$cshxZO9AJBebsni$z9Yk,
110
+ * originating_system: xeokit.io,
111
+ * authoring_tool_id: xeokit/v1.0
112
+ * }]
113
+ * },
114
+ * selection: [{
115
+ * ifc_guid: "4$cshxZO9AJBebsni$z9Yk",
116
+ * }]
117
+ * }
118
+ * }
119
+ */
120
+ getViewpoint(options?: any): any;
121
+
122
+ /**
123
+ * Sets viewer state to the given BCF viewpoint.
124
+ *
125
+ * Note that xeokit's {@link Camera.look} is the **point-of-interest**, whereas the BCF ````camera_direction```` is a
126
+ * direction vector. Therefore, when loading a BCF viewpoint, we set {@link Camera.look} to the absolute position
127
+ * obtained by offsetting the BCF ````camera_view_point```` along ````camera_direction````.
128
+ *
129
+ * When loading a viewpoint, we also have the option to find {@link Camera.look} as the closest point of intersection
130
+ * (on the surface of any visible and pickable {@link Entity}) with a 3D ray fired from ````camera_view_point```` in
131
+ * the direction of ````camera_direction````.
132
+ *
133
+ * @param {*} bcfViewpoint BCF JSON viewpoint object,
134
+ * shows default visible entities and restores camera to initial default position.
135
+ * @param {*} [options] Options for setting the viewpoint.
136
+ * @param {Boolean} [options.rayCast=true] When ````true```` (default), will attempt to set {@link Camera.look} to the closest
137
+ * point of surface intersection with a ray fired from the BCF ````camera_view_point```` in the direction of ````camera_direction````.
138
+ * @param {Boolean} [options.immediate=true] When ````true```` (default), immediately set camera position.
139
+ * @param {Boolean} [options.duration] Flight duration in seconds. Overrides {@link CameraFlightAnimation.duration}. Only applies when ````immediate```` is ````false````.
140
+ * @param {Boolean} [options.reset=true] When ````true```` (default), set {@link Entity.xrayed} and {@link Entity.highlighted} ````false```` on all scene objects.
141
+ * @param {Boolean} [options.reverseClippingPlanes=false] When ````true````, clipping planes are reversed (https://github.com/buildingSMART/BCF-XML/issues/193)
142
+ * @param {Boolean} [options.updateCompositeObjects=false] When ````true````, then when visibility and selection updates refer to composite objects (eg. an IfcBuildingStorey),
143
+ * then this method will apply the updates to objects within those composites.
144
+ */
145
+ setViewpoint(bcfViewpoint: any, options?: any): void;
146
+
147
+ getUUID(): string;
148
+ }
@@ -1 +1 @@
1
- export * from "./BCFViewpointsPlugin";
1
+ export * from "./BCFViewpointsPlugin";