@realsee/dnalogel 2.3.6 → 2.3.7-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.
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -5
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
- package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +6 -9
- package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -3
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +27 -9
- package/dist/PanoMeasurePlugin/Model/index.d.ts +17 -17
- package/dist/PanoMeasurePlugin/Model/line.d.ts +6 -4
- package/dist/PanoMeasurePlugin/Model/point.d.ts +2 -4
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
- package/dist/PanoMeasurePlugin/index.d.ts +6 -2
- package/dist/PanoMeasurePlugin/typings/data.d.ts +6 -16
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
- package/dist/PanoMeasurePlugin/typings/index.d.ts +4 -2
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +4 -3
- package/dist/index.cjs.js +96 -96
- package/dist/index.js +2535 -2459
- package/dist/index.umd.js +91 -91
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +301 -0
- package/docs/classes/PanoMeasurePluginModel.html +275 -0
- package/docs/classes/PanoMeasurePluginPoint.html +160 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +306 -0
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +12 -7
- package/docs/functions/CameraMovementPlugin.html +12 -7
- package/docs/functions/CruisePlugin.html +12 -7
- package/docs/functions/GuideLinePlugin.html +13 -8
- package/docs/functions/ItemLabelPlugin.html +12 -7
- package/docs/functions/MapviewFloorplanPlugin.html +12 -7
- package/docs/functions/ModelChassisCompassPlugin.html +12 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +12 -7
- package/docs/functions/ModelFloorplanPlugin.html +12 -7
- package/docs/functions/ModelItemLabelPlugin.html +12 -7
- package/docs/functions/ModelRoomLabelPlugin.html +12 -7
- package/docs/functions/ModelTVVideoPlugin.html +12 -7
- package/docs/functions/ModelViewPlugin.html +12 -7
- package/docs/functions/Object3DHelperPlugin.html +12 -7
- package/docs/functions/PanoCompassPlugin.html +12 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +12 -7
- package/docs/functions/PanoDoorLabelPlugin.html +12 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +12 -7
- package/docs/functions/PanoMeasurePlugin.html +12 -7
- package/docs/functions/PanoRulerPlugin.html +12 -7
- package/docs/functions/PanoRulerProPlugin.html +12 -7
- package/docs/functions/PanoSpatialTagPlugin.html +12 -7
- package/docs/functions/PanoTagPlugin.html +12 -7
- package/docs/functions/TopviewFloorplanPlugin.html +12 -7
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +13 -8
- package/docs/index.html +12 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +13 -8
- package/docs/interfaces/PanoMeasureParameterType.html +24 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +78 -0
- package/docs/interfaces/{OpenParameter.html → PanoMeasurePluginOpenParameter.html} +15 -15
- package/docs/interfaces/{LineJson.html → PanoMeasurePluginPointJson.html} +18 -18
- package/docs/interfaces/{PointJson.html → PanoMeasurePluginPolylineJson.html} +24 -22
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +13 -8
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +13 -8
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +13 -8
- package/docs/interfaces/Rooms.html +13 -8
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +20 -10
- package/docs/types/ArrayPosition.html +13 -8
- package/docs/types/CSS3DRenderExportType.html +13 -8
- package/docs/types/CSS3DRenderPluginExportType.html +13 -8
- package/docs/types/CSS3DRenderPluginParameterType.html +13 -8
- package/docs/types/Color.html +13 -8
- package/docs/types/ContentTypeConfigKey.html +13 -8
- package/docs/types/ContentTypeConfigKeyArray.html +13 -8
- package/docs/types/Create3DDomContainerReturnType.html +13 -8
- package/docs/types/Create3DElementReturnType.html +13 -8
- package/docs/types/CruisePluginExportType.html +13 -8
- package/docs/types/Direction-1.html +13 -8
- package/docs/types/Direction4.html +13 -8
- package/docs/types/FloorplanRuleLabels.html +13 -8
- package/docs/types/FloorplanServerRuleLabels.html +13 -8
- package/docs/types/GuideLinePluginExportType.html +13 -8
- package/docs/types/HelperEventMap.html +13 -8
- package/docs/types/MapviewFloorplanPluginParameterType.html +13 -8
- package/docs/types/MapviewFloorplanPluginReturnType.html +13 -8
- package/docs/types/MediaData.html +13 -8
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +13 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +13 -8
- package/docs/types/ModelFloorplanPluginReturnType.html +13 -8
- package/docs/types/ModelRoomLabelPluginParameters.html +13 -8
- package/docs/types/ModelRoomLabelPluginReturnType.html +13 -8
- package/docs/types/MoveArgs.html +13 -8
- package/docs/types/MoveOpts.html +13 -8
- package/docs/types/Object3DHelperEventMap.html +13 -8
- package/docs/types/ObjectFit.html +13 -8
- package/docs/types/PaintBrushEventMap.html +13 -8
- package/docs/types/PanoCompassPluginData.html +13 -8
- package/docs/types/PanoCompassPluginExportType.html +13 -8
- package/docs/types/PanoCompassPluginParameterType.html +13 -8
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +13 -8
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +13 -8
- package/docs/types/PanoMeasurePluginEvent.html +13 -8
- package/docs/types/PanoMeasureReturnType.html +13 -8
- package/docs/types/PanoSpatialTagPluginId.html +13 -8
- package/docs/types/PanoTagPluginExportInterface.html +13 -8
- package/docs/types/PanoTagPluginParamsInterface.html +13 -8
- package/docs/types/PlaneTag.html +13 -8
- package/docs/types/PointTag.html +13 -8
- package/docs/types/Position.html +13 -8
- package/docs/types/RotateArgs.html +13 -8
- package/docs/types/RotateOpts.html +13 -8
- package/docs/types/RuleLabelsKey.html +13 -8
- package/docs/types/RuleLabelsValue.html +13 -8
- package/docs/types/Tag.html +13 -8
- package/docs/types/Tag2D.html +13 -8
- package/docs/types/Tag3D.html +13 -8
- package/docs/types/TagId.html +13 -8
- package/docs/types/TopviewFloorplanPluginParameterType.html +13 -8
- package/docs/types/TopviewFloorplanPluginReturnType.html +13 -8
- package/docs/variables/FLOOR_TYPE_MAP.html +13 -8
- package/docs/variables/PLUGIN.html +13 -8
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +13 -8
- package/docs/variables/ROOM_TYPE_MAP.html +13 -8
- package/docs/variables/VERSION.html +13 -8
- package/docs/variables/itemLabelPluginServerParams.html +13 -8
- package/docs/variables/modelItemLabelPluginServerParams.html +13 -8
- package/docs/variables/modelRoomLabelPluginServerParams.html +13 -8
- package/libs/PanoCompassPlugin/Controller.js +3 -8
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -5
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +8 -8
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
- package/libs/PanoMeasurePlugin/Controller/EditController.js +56 -57
- package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +6 -9
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +38 -37
- package/libs/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -3
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +68 -52
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +39 -41
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +27 -9
- package/libs/PanoMeasurePlugin/Controller/index.js +117 -92
- package/libs/PanoMeasurePlugin/Model/index.d.ts +17 -17
- package/libs/PanoMeasurePlugin/Model/index.js +49 -72
- package/libs/PanoMeasurePlugin/Model/line.d.ts +6 -4
- package/libs/PanoMeasurePlugin/Model/line.js +29 -25
- package/libs/PanoMeasurePlugin/Model/point.d.ts +2 -4
- package/libs/PanoMeasurePlugin/Model/point.js +3 -3
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
- package/libs/PanoMeasurePlugin/Model/polyline.js +90 -37
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -11
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +5 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +21 -21
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +22 -22
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +5 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +10 -10
- package/libs/PanoMeasurePlugin/index.d.ts +6 -2
- package/libs/PanoMeasurePlugin/index.js +31 -27
- package/libs/PanoMeasurePlugin/typings/data.d.ts +6 -16
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
- package/libs/PanoMeasurePlugin/typings/index.d.ts +4 -2
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +4 -3
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +57 -41
- package/libs/index.js +109 -105
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.3.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.3.7-0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.3.7-0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.3.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.3.7-0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.3.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.3.7-0</a></li>
|
|
16
16
|
<li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/1822f1f/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.3.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.3.7-<wbr/>0</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
47
47
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
@@ -63,6 +63,10 @@
|
|
|
63
63
|
<li class="tsd-kind-class"><a href="../classes/ModelRoomLabelController.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Model<wbr/>Room<wbr/>Label<wbr/>Controller</a></li>
|
|
64
64
|
<li class="tsd-kind-class"><a href="../classes/Object3DHelperController.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Object3DHelper<wbr/>Controller</a></li>
|
|
65
65
|
<li class="tsd-kind-class"><a href="../classes/PaintBrush.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Paint<wbr/>Brush</a></li>
|
|
66
|
+
<li class="tsd-kind-class"><a href="../classes/PanoMeasurePluginLine.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Line</a></li>
|
|
67
|
+
<li class="tsd-kind-class"><a href="../classes/PanoMeasurePluginModel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Model</a></li>
|
|
68
|
+
<li class="tsd-kind-class"><a href="../classes/PanoMeasurePluginPoint.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Point</a></li>
|
|
69
|
+
<li class="tsd-kind-class"><a href="../classes/PanoMeasurePluginPolyline.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Polyline</a></li>
|
|
66
70
|
<li class="tsd-kind-class"><a href="../classes/PanoTagPluginController.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Controller</a></li>
|
|
67
71
|
<li class="tsd-kind-interface"><a href="../interfaces/CSS3DRenderPluginEventMap.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>CSS3DRender<wbr/>Plugin<wbr/>Event<wbr/>Map</a></li>
|
|
68
72
|
<li class="tsd-kind-interface"><a href="../interfaces/CSS3DRenderPluginState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>CSS3DRender<wbr/>Plugin<wbr/>State</a></li>
|
|
@@ -96,7 +100,6 @@
|
|
|
96
100
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Item<wbr/>Label<wbr/>Plugin<wbr/>Data</a></li>
|
|
97
101
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginExportReturnsType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Item<wbr/>Label<wbr/>Plugin<wbr/>Export<wbr/>Returns<wbr/>Type</a></li>
|
|
98
102
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginParametersType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Item<wbr/>Label<wbr/>Plugin<wbr/>Parameters<wbr/>Type</a></li>
|
|
99
|
-
<li class="tsd-kind-interface"><a href="../interfaces/LineJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Line<wbr/>Json</a></li>
|
|
100
103
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelChassisCompassPluginData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>Chassis<wbr/>Compass<wbr/>Plugin<wbr/>Data</a></li>
|
|
101
104
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelChassisCompassPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>Chassis<wbr/>Compass<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
102
105
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelChassisCompassPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>Chassis<wbr/>Compass<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
@@ -111,13 +114,16 @@
|
|
|
111
114
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelTVVideoPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>ModelTVVideo<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
112
115
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelViewPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>View<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
113
116
|
<li class="tsd-kind-interface"><a href="../interfaces/Object3DHelperState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Object3DHelper<wbr/>State</a></li>
|
|
114
|
-
<li class="tsd-kind-interface"><a href="../interfaces/OpenParameter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Open<wbr/>Parameter</a></li>
|
|
115
117
|
<li class="tsd-kind-interface"><a href="../interfaces/PaintBrushAction.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Paint<wbr/>Brush<wbr/>Action</a></li>
|
|
116
118
|
<li class="tsd-kind-interface"><a href="../interfaces/PaintBrushConfigs.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Paint<wbr/>Brush<wbr/>Configs</a></li>
|
|
117
119
|
<li class="tsd-kind-interface"><a href="../interfaces/PaintBrushState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Paint<wbr/>Brush<wbr/>State</a></li>
|
|
118
120
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoCursorRaycasterPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Cursor<wbr/>Raycaster<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
119
121
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoCursorRaycasterPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Cursor<wbr/>Raycaster<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
120
122
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasureParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Parameter<wbr/>Type</a></li>
|
|
123
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasurePluginLineJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Line<wbr/>Json</a></li>
|
|
124
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasurePluginOpenParameter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Open<wbr/>Parameter</a></li>
|
|
125
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasurePluginPointJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Point<wbr/>Json</a></li>
|
|
126
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasurePluginPolylineJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Polyline<wbr/>Json</a></li>
|
|
121
127
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoRulerPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Ruler<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
122
128
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoRulerPluginOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Ruler<wbr/>Plugin<wbr/>Options</a></li>
|
|
123
129
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoRulerPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Ruler<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
@@ -135,7 +141,6 @@
|
|
|
135
141
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoSpatialTagPluginPointElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Spatial<wbr/>Tag<wbr/>Plugin<wbr/>Point<wbr/>Element</a></li>
|
|
136
142
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoSpatialTagPluginTagElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Spatial<wbr/>Tag<wbr/>Plugin<wbr/>Tag<wbr/>Element</a></li>
|
|
137
143
|
<li class="tsd-kind-interface"><a href="../interfaces/Point.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Point</a></li>
|
|
138
|
-
<li class="tsd-kind-interface"><a href="../interfaces/PointJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Point<wbr/>Json</a></li>
|
|
139
144
|
<li class="tsd-kind-interface"><a href="../interfaces/Room.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Room</a></li>
|
|
140
145
|
<li class="tsd-kind-interface"><a href="../interfaces/RoomInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Room<wbr/>Info</a></li>
|
|
141
146
|
<li class="tsd-kind-interface"><a href="../interfaces/RoomLabel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Room<wbr/>Label</a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.3.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.3.7-0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.3.7-0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.3.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.3.7-0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.3.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.3.7-0</a></li>
|
|
16
16
|
<li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/1822f1f/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.3.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.3.7-<wbr/>0</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
47
47
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
@@ -63,6 +63,10 @@
|
|
|
63
63
|
<li class="tsd-kind-class"><a href="../classes/ModelRoomLabelController.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Model<wbr/>Room<wbr/>Label<wbr/>Controller</a></li>
|
|
64
64
|
<li class="tsd-kind-class"><a href="../classes/Object3DHelperController.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Object3DHelper<wbr/>Controller</a></li>
|
|
65
65
|
<li class="tsd-kind-class"><a href="../classes/PaintBrush.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Paint<wbr/>Brush</a></li>
|
|
66
|
+
<li class="tsd-kind-class"><a href="../classes/PanoMeasurePluginLine.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Line</a></li>
|
|
67
|
+
<li class="tsd-kind-class"><a href="../classes/PanoMeasurePluginModel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Model</a></li>
|
|
68
|
+
<li class="tsd-kind-class"><a href="../classes/PanoMeasurePluginPoint.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Point</a></li>
|
|
69
|
+
<li class="tsd-kind-class"><a href="../classes/PanoMeasurePluginPolyline.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Polyline</a></li>
|
|
66
70
|
<li class="tsd-kind-class"><a href="../classes/PanoTagPluginController.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Controller</a></li>
|
|
67
71
|
<li class="tsd-kind-interface"><a href="../interfaces/CSS3DRenderPluginEventMap.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>CSS3DRender<wbr/>Plugin<wbr/>Event<wbr/>Map</a></li>
|
|
68
72
|
<li class="tsd-kind-interface"><a href="../interfaces/CSS3DRenderPluginState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>CSS3DRender<wbr/>Plugin<wbr/>State</a></li>
|
|
@@ -96,7 +100,6 @@
|
|
|
96
100
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Item<wbr/>Label<wbr/>Plugin<wbr/>Data</a></li>
|
|
97
101
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginExportReturnsType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Item<wbr/>Label<wbr/>Plugin<wbr/>Export<wbr/>Returns<wbr/>Type</a></li>
|
|
98
102
|
<li class="tsd-kind-interface"><a href="../interfaces/ItemLabelPluginParametersType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Item<wbr/>Label<wbr/>Plugin<wbr/>Parameters<wbr/>Type</a></li>
|
|
99
|
-
<li class="tsd-kind-interface"><a href="../interfaces/LineJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Line<wbr/>Json</a></li>
|
|
100
103
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelChassisCompassPluginData.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>Chassis<wbr/>Compass<wbr/>Plugin<wbr/>Data</a></li>
|
|
101
104
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelChassisCompassPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>Chassis<wbr/>Compass<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
102
105
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelChassisCompassPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>Chassis<wbr/>Compass<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
@@ -111,13 +114,16 @@
|
|
|
111
114
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelTVVideoPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>ModelTVVideo<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
112
115
|
<li class="tsd-kind-interface"><a href="../interfaces/ModelViewPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Model<wbr/>View<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
113
116
|
<li class="tsd-kind-interface"><a href="../interfaces/Object3DHelperState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Object3DHelper<wbr/>State</a></li>
|
|
114
|
-
<li class="tsd-kind-interface"><a href="../interfaces/OpenParameter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Open<wbr/>Parameter</a></li>
|
|
115
117
|
<li class="tsd-kind-interface"><a href="../interfaces/PaintBrushAction.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Paint<wbr/>Brush<wbr/>Action</a></li>
|
|
116
118
|
<li class="tsd-kind-interface"><a href="../interfaces/PaintBrushConfigs.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Paint<wbr/>Brush<wbr/>Configs</a></li>
|
|
117
119
|
<li class="tsd-kind-interface"><a href="../interfaces/PaintBrushState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Paint<wbr/>Brush<wbr/>State</a></li>
|
|
118
120
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoCursorRaycasterPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Cursor<wbr/>Raycaster<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
119
121
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoCursorRaycasterPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Cursor<wbr/>Raycaster<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
120
122
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasureParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Parameter<wbr/>Type</a></li>
|
|
123
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasurePluginLineJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Line<wbr/>Json</a></li>
|
|
124
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasurePluginOpenParameter.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Open<wbr/>Parameter</a></li>
|
|
125
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasurePluginPointJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Point<wbr/>Json</a></li>
|
|
126
|
+
<li class="tsd-kind-interface"><a href="../interfaces/PanoMeasurePluginPolylineJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Polyline<wbr/>Json</a></li>
|
|
121
127
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoRulerPluginExportType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Ruler<wbr/>Plugin<wbr/>Export<wbr/>Type</a></li>
|
|
122
128
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoRulerPluginOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Ruler<wbr/>Plugin<wbr/>Options</a></li>
|
|
123
129
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoRulerPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Ruler<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
|
|
@@ -135,7 +141,6 @@
|
|
|
135
141
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoSpatialTagPluginPointElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Spatial<wbr/>Tag<wbr/>Plugin<wbr/>Point<wbr/>Element</a></li>
|
|
136
142
|
<li class="tsd-kind-interface"><a href="../interfaces/PanoSpatialTagPluginTagElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Pano<wbr/>Spatial<wbr/>Tag<wbr/>Plugin<wbr/>Tag<wbr/>Element</a></li>
|
|
137
143
|
<li class="tsd-kind-interface"><a href="../interfaces/Point.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Point</a></li>
|
|
138
|
-
<li class="tsd-kind-interface"><a href="../interfaces/PointJson.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Point<wbr/>Json</a></li>
|
|
139
144
|
<li class="tsd-kind-interface"><a href="../interfaces/Room.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Room</a></li>
|
|
140
145
|
<li class="tsd-kind-interface"><a href="../interfaces/RoomInfo.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Room<wbr/>Info</a></li>
|
|
141
146
|
<li class="tsd-kind-interface"><a href="../interfaces/RoomLabel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Room<wbr/>Label</a></li>
|
|
@@ -117,14 +117,9 @@ class se extends A {
|
|
|
117
117
|
).clone().setY(t.y).sub(t).normalize(), b = t.clone().add(f.clone().multiplyScalar(0.7)).setY(t.y + 0.01);
|
|
118
118
|
this.entryDoorMesh.rotation.z = new a.Vector3(0, 0, -1).angleTo(f), this.entryDoorMesh.position.copy(b), ((m = this.data) == null ? void 0 : m.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (I = this.entryDoorMesh) == null || I.material.setValues({ opacity: 0 });
|
|
119
119
|
}
|
|
120
|
-
this.roomInfoInstance && this.roomInfoWrapperInstance && (this.roomInfoWrapperInstance.css3DObject.position.copy(
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
});
|
|
124
|
-
i(this, "onFiveCameraDirectionUpdate", ({
|
|
125
|
-
longitude: e,
|
|
126
|
-
latitude: t
|
|
127
|
-
}) => {
|
|
120
|
+
this.roomInfoInstance && this.roomInfoWrapperInstance && (this.roomInfoWrapperInstance.css3DObject.position.copy(t.clone().setY(t.y + 0.01)), this.roomInfoInstance.setRoom(this.data.room_observers[e].room)), this.five.needsRender = !0;
|
|
121
|
+
});
|
|
122
|
+
i(this, "onFiveCameraDirectionUpdate", ({ longitude: e, latitude: t }) => {
|
|
128
123
|
var o, s;
|
|
129
124
|
!this.roomInfoWrapperInstance || (this.roomInfoWrapperInstance.css3DObject.rotation.z = e, t > 0.66 && this.five.getCurrentState().mode === "Panorama" ? (o = this.roomInfoInstance) == null || o.show() : (s = this.roomInfoInstance) == null || s.hide());
|
|
130
125
|
});
|
|
@@ -8,7 +8,7 @@ import type { UserDistanceItem } from '../utils/distanceDom';
|
|
|
8
8
|
import type { Five, Intersection, IntersectMeshInterface, Subscribe } from '@realsee/five';
|
|
9
9
|
import type { OpenParameter } from '../typings/data';
|
|
10
10
|
import Line from '../Model/line';
|
|
11
|
-
export interface
|
|
11
|
+
export interface ControllerParams {
|
|
12
12
|
five: Five;
|
|
13
13
|
group: Group;
|
|
14
14
|
model: Model;
|
|
@@ -32,10 +32,10 @@ export default class BaseController {
|
|
|
32
32
|
protected mouseGroup: Group;
|
|
33
33
|
protected container: Element;
|
|
34
34
|
protected fiveHelper: FiveHelper;
|
|
35
|
-
protected hook:
|
|
36
|
-
protected magnifier:
|
|
37
|
-
protected userDistanceItemCreator:
|
|
38
|
-
constructor(params:
|
|
35
|
+
protected hook: ControllerParams['hook'];
|
|
36
|
+
protected magnifier: ControllerParams['magnifier'];
|
|
37
|
+
protected userDistanceItemCreator: ControllerParams['userDistanceItemCreator'];
|
|
38
|
+
constructor(params: ControllerParams);
|
|
39
39
|
updateDistanceUI: () => void;
|
|
40
40
|
protected removeLine(line: Line): void;
|
|
41
41
|
protected updateMouseGroup(intersection: Intersection, mesh?: IntersectMeshInterface): Group;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var m = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var t = (i, e, o) => (
|
|
4
|
-
import { Line as
|
|
2
|
+
var l = (i, e, o) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[e] = o;
|
|
3
|
+
var t = (i, e, o) => (l(i, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
|
+
import { Line as a } from "../Model/line.js";
|
|
5
5
|
import { Point as d } from "../Model/point.js";
|
|
6
6
|
import { preventDefault as r } from "../utils/ironbox.js";
|
|
7
|
-
class
|
|
7
|
+
class L {
|
|
8
8
|
constructor(e) {
|
|
9
9
|
t(this, "model");
|
|
10
10
|
t(this, "five");
|
|
@@ -20,10 +20,10 @@ class G {
|
|
|
20
20
|
t(this, "magnifier");
|
|
21
21
|
t(this, "userDistanceItemCreator");
|
|
22
22
|
t(this, "updateDistanceUI", () => {
|
|
23
|
-
this.dashed.distanceItem.update(this.five), this.model.
|
|
23
|
+
this.dashed.distanceItem.update(this.five), this.model.getAllLines().forEach((e) => e.distanceItem.update(this.five));
|
|
24
24
|
});
|
|
25
25
|
var s, n;
|
|
26
|
-
this.five = e.five, this.hook = e.hook, this.model = e.model, this.config = e.config, this.magnifier = e.magnifier, this.container = e.container, this.fiveHelper = e.fiveHelper, this.isMobile = (n = (s = e.openParams) == null ? void 0 : s.isMobile) != null ? n : !1, this.userDistanceItemCreator = e.userDistanceItemCreator, this.group = e.group, this.mouseGroup = e.mouseGroup, this.dashed = new
|
|
26
|
+
this.five = e.five, this.hook = e.hook, this.model = e.model, this.config = e.config, this.magnifier = e.magnifier, this.container = e.container, this.fiveHelper = e.fiveHelper, this.isMobile = (n = (s = e.openParams) == null ? void 0 : s.isMobile) != null ? n : !1, this.userDistanceItemCreator = e.userDistanceItemCreator, this.group = e.group, this.mouseGroup = e.mouseGroup, this.dashed = new a(new d([0, 0, 0]), new d([0, 0, 0]), this.model), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine";
|
|
27
27
|
const o = this.five.getElement();
|
|
28
28
|
o && (o.addEventListener("touchstart", r), o.addEventListener("contextmenu", r));
|
|
29
29
|
}
|
|
@@ -43,11 +43,11 @@ class G {
|
|
|
43
43
|
return this.mouseGroup;
|
|
44
44
|
}
|
|
45
45
|
dispose() {
|
|
46
|
-
this.disposed = !0, this.magnifier.remove(), this.model.
|
|
46
|
+
this.disposed = !0, this.magnifier.remove(), this.model.getAllLines().forEach((o) => this.removeLine(o));
|
|
47
47
|
const e = this.five.getElement();
|
|
48
48
|
e && (e.removeEventListener("touchstart", r), e.removeEventListener("contextmenu", r));
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
L as BaseController
|
|
53
53
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type { LineJson } from '../typings/data';
|
|
2
1
|
import Line from '../Model/line';
|
|
3
|
-
import BaseController, {
|
|
4
|
-
|
|
5
|
-
editedLineChange: (lines: LineJson[]) => void;
|
|
6
|
-
}
|
|
2
|
+
import BaseController, { ControllerParams } from './BaseController';
|
|
3
|
+
import { Polyline } from '../Model/polyline';
|
|
7
4
|
export default class EditController extends BaseController {
|
|
8
5
|
type: string;
|
|
6
|
+
polyline: Polyline;
|
|
7
|
+
/** 拖动的控制点 */
|
|
9
8
|
private pressPoint?;
|
|
10
9
|
private hasAppendDashed;
|
|
11
10
|
private hasAppendMouseGroup;
|
|
@@ -15,7 +14,7 @@ export default class EditController extends BaseController {
|
|
|
15
14
|
private hammer?;
|
|
16
15
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
17
16
|
private onIntersectionUpdate;
|
|
18
|
-
constructor(params:
|
|
17
|
+
constructor(params: ControllerParams);
|
|
19
18
|
dispose(): void;
|
|
20
19
|
getEditingLines(): Line[];
|
|
21
20
|
/** 撤销编辑 */
|
|
@@ -1,102 +1,101 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import { Model as
|
|
6
|
-
import { Line as
|
|
7
|
-
import { Point as
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var l = (h, n, e) => n in h ? d(h, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[n] = e;
|
|
3
|
+
var i = (h, n, e) => (l(h, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
+
import m from "hammerjs";
|
|
5
|
+
import { Model as u } from "../Model/index.js";
|
|
6
|
+
import { Line as f } from "../Model/line.js";
|
|
7
|
+
import { Point as p } from "../Model/point.js";
|
|
8
8
|
import { throttle as v } from "../../shared-utils/throttle.js";
|
|
9
|
-
import { BaseController as
|
|
9
|
+
import { BaseController as P } from "./BaseController.js";
|
|
10
10
|
import { getIntersectionFromEvent as r } from "../utils/getIntersectionFromEvent.js";
|
|
11
|
-
|
|
11
|
+
import { Polyline as c } from "../Model/polyline.js";
|
|
12
|
+
class w extends P {
|
|
12
13
|
constructor(e) {
|
|
13
|
-
var
|
|
14
|
+
var s;
|
|
14
15
|
super(e);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
i(this, "type", "edit");
|
|
17
|
+
i(this, "polyline");
|
|
18
|
+
i(this, "pressPoint");
|
|
19
|
+
i(this, "hasAppendDashed", !1);
|
|
20
|
+
i(this, "hasAppendMouseGroup", !1);
|
|
21
|
+
i(this, "fiveElement");
|
|
22
|
+
i(this, "lastPoint", null);
|
|
23
|
+
i(this, "hammer");
|
|
24
|
+
i(this, "onIntersectionUpdate", v((e, t) => {
|
|
23
25
|
var o;
|
|
24
26
|
this.hasAppendMouseGroup === !1 && (this.group.add(this.mouseGroup), this.magnifier.appendTo(this.container), this.hasAppendMouseGroup = !0);
|
|
25
|
-
const
|
|
26
|
-
(o = this.pressPoint) == null || o.position.copy(
|
|
27
|
+
const s = this.updateMouseGroup(e, t).position;
|
|
28
|
+
(o = this.pressPoint) == null || o.position.copy(s), this.updateDashed(), requestAnimationFrame(() => this.magnifier.renderWithPoint(this.mouseGroup.position)), this.five.needsRender = !0;
|
|
27
29
|
}, 20));
|
|
28
|
-
|
|
29
|
-
if (this.
|
|
30
|
-
this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.distanceItem.remove(), this.group.remove(this.dashed.mesh), this.hook.emit("anchorChange", null), this.five.needsRender = !0;
|
|
30
|
+
i(this, "revoke", () => {
|
|
31
|
+
if (this.polyline.lines.length === 0 && this.lastPoint) {
|
|
32
|
+
this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.distanceItem.remove(), this.group.remove(this.dashed.mesh), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.needsRender = !0;
|
|
31
33
|
return;
|
|
32
34
|
}
|
|
33
|
-
if (this.
|
|
35
|
+
if (this.polyline.lines.length === 0 && !this.lastPoint || !this.lastPoint)
|
|
34
36
|
return;
|
|
35
|
-
const e = this.
|
|
36
|
-
!t || (this.lastPoint = t, this.hook.emit("anchorChange", t.position), this.group.remove(e.mesh), this.
|
|
37
|
+
const e = this.polyline.lines[this.polyline.lines.length - 1], t = e.findAnotherPoint(this.lastPoint);
|
|
38
|
+
!t || (this.lastPoint = t, this.hook.emit("anchorChange", t.position), this.group.remove(e.mesh), this.polyline.removeLine(e), this.hasAppendMouseGroup = !1, this.mouseGroup.position.copy(this.lastPoint.position), this.group.remove(this.mouseGroup), e.distanceItem.remove(), this.updateDashed(), this.magnifier.remove(), this.five.needsRender = !0);
|
|
37
39
|
});
|
|
38
|
-
|
|
40
|
+
i(this, "onMouseLeave", () => {
|
|
39
41
|
this.magnifier.remove(), this.group.remove(this.mouseGroup), this.hasAppendMouseGroup = !1, this.lastPoint && (this.mouseGroup.position.copy(this.lastPoint.position), this.updateDashed());
|
|
40
42
|
});
|
|
41
|
-
|
|
42
|
-
this.hook.emit(
|
|
43
|
-
"editedLineChange",
|
|
44
|
-
this.model.lines.map((e) => e.toCompletelyJson())
|
|
45
|
-
);
|
|
43
|
+
i(this, "onLineChanged", () => {
|
|
44
|
+
this.hook.emit("editedPolylineChange", this.polyline);
|
|
46
45
|
});
|
|
47
|
-
|
|
46
|
+
i(this, "onPress", (e) => {
|
|
48
47
|
const [t] = r(this.five, e);
|
|
49
|
-
if (!t
|
|
48
|
+
if (!(t != null && t.face))
|
|
50
49
|
return;
|
|
51
|
-
const
|
|
52
|
-
this.pressPoint =
|
|
50
|
+
const s = new p(t.point);
|
|
51
|
+
this.pressPoint = s, this.onIntersectionUpdate(t);
|
|
53
52
|
});
|
|
54
|
-
|
|
53
|
+
i(this, "onPan", (e) => {
|
|
55
54
|
if (!this.pressPoint)
|
|
56
55
|
return;
|
|
57
56
|
const [t] = r(this.five, e);
|
|
58
|
-
!t
|
|
57
|
+
!(t != null && t.face) || this.onIntersectionUpdate(t);
|
|
59
58
|
});
|
|
60
|
-
|
|
59
|
+
i(this, "onPanEnd", (e) => {
|
|
61
60
|
!this.pressPoint || this.onTap(e);
|
|
62
61
|
});
|
|
63
|
-
|
|
62
|
+
i(this, "onTap", (e) => {
|
|
64
63
|
this.hasAppendDashed || (this.dashed.distanceItem.appendTo(this.container), this.group.add(this.dashed.mesh)), this.hasAppendDashed = !0;
|
|
65
64
|
const [t] = r(this.five, e);
|
|
66
65
|
this.updateMouseGroup(t);
|
|
67
|
-
const
|
|
68
|
-
if (
|
|
69
|
-
const a = new
|
|
70
|
-
a.distanceItem.appendTo(this.container), this.
|
|
66
|
+
const s = new p(this.mouseGroup.position), o = this.lastPoint;
|
|
67
|
+
if (s && (this.lastPoint = s), s && o) {
|
|
68
|
+
const a = new f(o, s, this.model);
|
|
69
|
+
a.distanceItem.appendTo(this.container), this.polyline.addLine(a), this.group.add(a.mesh), a.distanceItem.update(this.five);
|
|
71
70
|
}
|
|
72
|
-
this.pressPoint = void 0, this.hasAppendMouseGroup = !1, this.magnifier.remove(), this.group.remove(this.mouseGroup), this.updateDashed(), this.five.needsRender = !0, this.hook.emit("anchorChange",
|
|
71
|
+
this.pressPoint = void 0, this.hasAppendMouseGroup = !1, this.magnifier.remove(), this.group.remove(this.mouseGroup), this.updateDashed(), this.five.needsRender = !0, this.hook.emit("anchorChange", s.position);
|
|
73
72
|
});
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
i(this, "onWantsTapGesture", () => !1);
|
|
74
|
+
i(this, "onWantsToMoveToPano", () => !1);
|
|
75
|
+
i(this, "onWantsPanGesture", () => this.pressPoint ? !1 : void 0);
|
|
76
|
+
i(this, "onCameraUpdate", () => {
|
|
78
77
|
this.updateDistanceUI(), this.dashed.distanceItem.update(this.five);
|
|
79
78
|
});
|
|
80
|
-
|
|
81
|
-
!this.lastPoint || (this.dashed.points[0].position.copy(this.lastPoint.position), this.dashed.points[1].position.copy(this.mouseGroup.position), this.dashed.mesh.setPoints(this.lastPoint.position, this.mouseGroup.position), this.dashed.distanceItem.update(this.five));
|
|
79
|
+
i(this, "updateDashed", () => {
|
|
80
|
+
!this.lastPoint || (this.dashed.points[0].position.copy(this.lastPoint.position), this.dashed.points[1].position.copy(this.mouseGroup.position), this.dashed.mesh.setPoints(this.lastPoint.position, this.mouseGroup.position), this.dashed.distanceItem.update(this.five), this.hook.emit("editedDashedLineChange", this.dashed));
|
|
82
81
|
});
|
|
83
|
-
this.model = new
|
|
82
|
+
this.model = new u(this.config), this.polyline = new c({ model: this.model }), this.model.addPolyline(this.polyline), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsPanGesture", this.onWantsPanGesture), this.five.on("wantsTapGesture", this.onWantsTapGesture), this.five.on("wantsToMoveToPano", this.onWantsToMoveToPano), this.five.on("intersectionOnModelUpdate", this.onIntersectionUpdate), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged);
|
|
84
83
|
const t = this.five.getElement();
|
|
85
84
|
if (t) {
|
|
86
85
|
this.fiveElement = t;
|
|
87
|
-
const o = new
|
|
86
|
+
const o = new m(t);
|
|
88
87
|
this.hammer = o, o.on("tap", this.onTap), o.on("pan", this.onPan), o.on("press", this.onPress), o.on("panend", this.onPanEnd);
|
|
89
88
|
}
|
|
90
|
-
(
|
|
89
|
+
this.five.helperVisible = !1, (s = this.fiveElement) == null || s.addEventListener("mouseleave", this.onMouseLeave), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.refresh();
|
|
91
90
|
}
|
|
92
91
|
dispose() {
|
|
93
92
|
var e, t;
|
|
94
|
-
super.dispose(), this.group.remove(this.mouseGroup, this.dashed.mesh), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsPanGesture", this.onWantsPanGesture), this.five.off("wantsTapGesture", this.onWantsTapGesture), this.five.off("wantsToMoveToPano", this.onWantsToMoveToPano), this.five.off("intersectionOnModelUpdate", this.onIntersectionUpdate), this.
|
|
93
|
+
super.dispose(), this.five.helperVisible = !0, this.group.remove(this.mouseGroup, this.dashed.mesh), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsPanGesture", this.onWantsPanGesture), this.five.off("wantsTapGesture", this.onWantsTapGesture), this.five.off("wantsToMoveToPano", this.onWantsToMoveToPano), this.five.off("intersectionOnModelUpdate", this.onIntersectionUpdate), this.polyline.hook.off("lineAdded", this.onLineChanged), this.polyline.hook.off("lineRemoved", this.onLineChanged), (e = this.hammer) == null || e.destroy(), (t = this.fiveElement) == null || t.removeEventListener("mouseleave", this.onMouseLeave), this.magnifier.dispose(), this.dashed.distanceItem.remove(), this.five.needsRender = !0;
|
|
95
94
|
}
|
|
96
95
|
getEditingLines() {
|
|
97
|
-
return this.
|
|
96
|
+
return this.polyline.lines;
|
|
98
97
|
}
|
|
99
98
|
}
|
|
100
99
|
export {
|
|
101
|
-
|
|
100
|
+
w as EditController
|
|
102
101
|
};
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
import type { LineJson } from '../typings/data';
|
|
2
|
-
import { Model } from '../Model';
|
|
3
1
|
import Line from '../Model/line';
|
|
4
|
-
import BaseController, {
|
|
2
|
+
import BaseController, { ControllerParams } from './BaseController';
|
|
3
|
+
import { Polyline } from '../Model/polyline';
|
|
5
4
|
export declare type State = 'watching' | 'editing';
|
|
6
|
-
export interface EditEvent {
|
|
7
|
-
editedLineChange: (lines: LineJson[]) => void;
|
|
8
|
-
}
|
|
9
5
|
export default class MixedController extends BaseController {
|
|
10
6
|
state: State;
|
|
11
|
-
|
|
7
|
+
polyline: Polyline;
|
|
12
8
|
private hasAppendDashed;
|
|
13
|
-
private fiveElement?;
|
|
14
9
|
private mobileStartPoint;
|
|
15
10
|
private mobileNowPoint;
|
|
16
11
|
private highlightedLines;
|
|
17
12
|
private deleteDom;
|
|
18
|
-
|
|
13
|
+
private rangePieceController;
|
|
14
|
+
constructor(params: ControllerParams);
|
|
19
15
|
dispose(): void;
|
|
20
16
|
highlightLine(line: Line): void;
|
|
21
17
|
clearHighlightLines(): void;
|
|
22
18
|
getEditingLines(): Line[];
|
|
19
|
+
addStartPoint(): void;
|
|
23
20
|
/** 编辑线条发生改变时通知外部 */
|
|
24
21
|
private onLineChanged;
|
|
25
22
|
private onWantsTapGesture;
|