@realsee/dnalogel 0.1.7-alpha.2 → 0.1.7-alpha.3
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/data/PrXel3aqGbp34JQn.js +139 -1
- package/data/vLykj3NWrllMrG06.js +335 -71
- package/libs/gltf-viewer/index.d.ts +5 -0
- package/libs/gltf-viewer/index.js +39 -7
- package/package.json +3 -3
- package/plugins/ModelRoomLabelPlugin/Controller.js +1 -0
- package/plugins/ModelRoomLabelPlugin/RoomLabelItem.js +5 -5
- package/plugins/floorplan/ModelFloorplanPlugin/Controller.d.ts +5 -2
- package/plugins/floorplan/ModelFloorplanPlugin/Controller.js +22 -11
- package/plugins/floorplan/ModelFloorplanPlugin/components/Camera.js +4 -4
- package/plugins/floorplan/ModelFloorplanPlugin/components/Compass.js +5 -5
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomLabels.js +2 -2
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomMaterial.d.ts +11 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RoomMaterial.js +174 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RuleLabels.d.ts +8 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/RuleLabels.js +179 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.d.ts +2 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/NowFloor/index.js +14 -2
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.d.ts +3 -0
- package/plugins/floorplan/ModelFloorplanPlugin/components/index.js +1 -1
- package/plugins/floorplan/ModelFloorplanPlugin/typings/utility.d.ts +2 -0
- package/plugins/floorplan/ModelFloorplanPlugin/typings/utility.js +7 -0
- package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.d.ts +1 -1
- package/plugins/floorplan/ModelFloorplanPlugin/utils/constant.js +1 -1
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/Camera.style.js +4 -4
- package/plugins/floorplan/PanoFloorplanRadarPlugin/Content/NowFloor/ExtraObjects.js +2 -2
- package/plugins/floorplan/TopviewFloorplanPlugin/Controller.js +3 -3
- package/plugins/floorplan/typings/floorplanData.d.ts +2 -0
- package/plugins/floorplan/typings/floorplanServerData.d.ts +2 -0
- package/plugins/floorplan/utils/formatData.js +2 -1
- package/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
- package/shared-utils/{changeModelCanvansOpacity.js → changeModelCanvasOpacity.js} +2 -2
- package/shared-utils/three/loadTexture.d.ts +2 -2
- package/shared-utils/three/loadTexture.js +21 -2
- package/shared-utils/changeModelCanvansOpacity.d.ts +0 -2
package/data/vLykj3NWrllMrG06.js
CHANGED
|
@@ -1287,10 +1287,8 @@ var floorplanServerData = {
|
|
|
1287
1287
|
floor_index: 0,
|
|
1288
1288
|
floor_name: '一层',
|
|
1289
1289
|
rooms: [{
|
|
1290
|
-
floor_type: 1,
|
|
1291
1290
|
id: 'u-OYiP6TkTe8hSA8',
|
|
1292
1291
|
name: '客厅',
|
|
1293
|
-
observer_indexs: [1, 2, 5, 6, 9, 10, 11, 12, 14, 19, 20, 21, 22, 23],
|
|
1294
1292
|
path: [{
|
|
1295
1293
|
x: 37771,
|
|
1296
1294
|
y: 36441
|
|
@@ -1325,6 +1323,9 @@ var floorplanServerData = {
|
|
|
1325
1323
|
x: 37771,
|
|
1326
1324
|
y: 33712
|
|
1327
1325
|
}],
|
|
1326
|
+
size: 47743872.38195658,
|
|
1327
|
+
room_type: '100900000002',
|
|
1328
|
+
floor_type: 1,
|
|
1328
1329
|
room_label: {
|
|
1329
1330
|
position: {
|
|
1330
1331
|
x: 38977.5,
|
|
@@ -1335,13 +1336,10 @@ var floorplanServerData = {
|
|
|
1335
1336
|
y: 0.5072642146925379
|
|
1336
1337
|
}
|
|
1337
1338
|
},
|
|
1338
|
-
|
|
1339
|
-
size: 47743872.38195658
|
|
1339
|
+
observer_indexs: [1, 2, 5, 6, 9, 10, 11, 12, 14, 19, 20, 21, 22, 23]
|
|
1340
1340
|
}, {
|
|
1341
|
-
floor_type: 1,
|
|
1342
1341
|
id: 'u-gSJA1fkTe8J6es',
|
|
1343
1342
|
name: '门厅',
|
|
1344
|
-
observer_indexs: [0],
|
|
1345
1343
|
path: [{
|
|
1346
1344
|
x: 37771,
|
|
1347
1345
|
y: 40027
|
|
@@ -1358,6 +1356,9 @@ var floorplanServerData = {
|
|
|
1358
1356
|
x: 37771,
|
|
1359
1357
|
y: 38548.0267
|
|
1360
1358
|
}],
|
|
1359
|
+
size: 3044190.376399994,
|
|
1360
|
+
room_type: '100900000012',
|
|
1361
|
+
floor_type: 1,
|
|
1361
1362
|
room_label: {
|
|
1362
1363
|
position: {
|
|
1363
1364
|
x: 39005,
|
|
@@ -1368,13 +1369,10 @@ var floorplanServerData = {
|
|
|
1368
1369
|
y: 0.08396080702770538
|
|
1369
1370
|
}
|
|
1370
1371
|
},
|
|
1371
|
-
|
|
1372
|
-
size: 3044190.376399994
|
|
1372
|
+
observer_indexs: [0]
|
|
1373
1373
|
}, {
|
|
1374
|
-
floor_type: 3,
|
|
1375
1374
|
id: 'u-12zVUSKTe8JmL2',
|
|
1376
1375
|
name: '卫生间A',
|
|
1377
|
-
observer_indexs: [7, 8],
|
|
1378
1376
|
path: [{
|
|
1379
1377
|
x: 35886,
|
|
1380
1378
|
y: 36441
|
|
@@ -1388,6 +1386,9 @@ var floorplanServerData = {
|
|
|
1388
1386
|
x: 35886,
|
|
1389
1387
|
y: 33712
|
|
1390
1388
|
}],
|
|
1389
|
+
size: 4604885,
|
|
1390
|
+
room_type: '100900000004',
|
|
1391
|
+
floor_type: 3,
|
|
1391
1392
|
room_label: {
|
|
1392
1393
|
position: {
|
|
1393
1394
|
x: 36828.5,
|
|
@@ -1398,13 +1399,10 @@ var floorplanServerData = {
|
|
|
1398
1399
|
y: 0.2872140167969881
|
|
1399
1400
|
}
|
|
1400
1401
|
},
|
|
1401
|
-
|
|
1402
|
-
size: 4604885
|
|
1402
|
+
observer_indexs: [7, 8]
|
|
1403
1403
|
}, {
|
|
1404
|
-
floor_type: 3,
|
|
1405
1404
|
id: 'u-KhmJ4PKtE8JUg3',
|
|
1406
1405
|
name: '厨房',
|
|
1407
|
-
observer_indexs: [3, 4],
|
|
1408
1406
|
path: [{
|
|
1409
1407
|
x: 42069,
|
|
1410
1408
|
y: 40027
|
|
@@ -1424,6 +1422,9 @@ var floorplanServerData = {
|
|
|
1424
1422
|
x: 40239,
|
|
1425
1423
|
y: 40027
|
|
1426
1424
|
}],
|
|
1425
|
+
size: 10827694.066843271,
|
|
1426
|
+
room_type: '100900000003',
|
|
1427
|
+
floor_type: 3,
|
|
1427
1428
|
room_label: {
|
|
1428
1429
|
position: {
|
|
1429
1430
|
x: 40719,
|
|
@@ -1434,13 +1435,10 @@ var floorplanServerData = {
|
|
|
1434
1435
|
y: 0.21980886185925283
|
|
1435
1436
|
}
|
|
1436
1437
|
},
|
|
1437
|
-
|
|
1438
|
-
size: 10827694.066843271
|
|
1438
|
+
observer_indexs: [3, 4]
|
|
1439
1439
|
}, {
|
|
1440
|
-
floor_type: 0,
|
|
1441
1440
|
id: 'u-MvmD6EkTE8k5rk',
|
|
1442
1441
|
name: '卧室A',
|
|
1443
|
-
observer_indexs: [15, 16, 17],
|
|
1444
1442
|
path: [{
|
|
1445
1443
|
x: 39176,
|
|
1446
1444
|
y: 25806
|
|
@@ -1469,6 +1467,9 @@ var floorplanServerData = {
|
|
|
1469
1467
|
x: 39236,
|
|
1470
1468
|
y: 25806
|
|
1471
1469
|
}],
|
|
1470
|
+
size: 13518211.473999977,
|
|
1471
|
+
room_type: '100900000001',
|
|
1472
|
+
floor_type: 0,
|
|
1472
1473
|
room_label: {
|
|
1473
1474
|
position: {
|
|
1474
1475
|
x: 37531.147705078125,
|
|
@@ -1479,13 +1480,10 @@ var floorplanServerData = {
|
|
|
1479
1480
|
y: 0.7687713360853183
|
|
1480
1481
|
}
|
|
1481
1482
|
},
|
|
1482
|
-
|
|
1483
|
-
size: 13518211.473999977
|
|
1483
|
+
observer_indexs: [15, 16, 17]
|
|
1484
1484
|
}, {
|
|
1485
|
-
floor_type: 4,
|
|
1486
1485
|
id: 'u-oJFy5Mkte8kd9M',
|
|
1487
1486
|
name: '阳台A',
|
|
1488
|
-
observer_indexs: [13],
|
|
1489
1487
|
path: [{
|
|
1490
1488
|
x: 42069,
|
|
1491
1489
|
y: 25806
|
|
@@ -1499,6 +1497,9 @@ var floorplanServerData = {
|
|
|
1499
1497
|
x: 42069,
|
|
1500
1498
|
y: 27426.7556
|
|
1501
1499
|
}],
|
|
1500
|
+
size: 3868080.828799963,
|
|
1501
|
+
room_type: '100900000005',
|
|
1502
|
+
floor_type: 4,
|
|
1502
1503
|
room_label: {
|
|
1503
1504
|
position: {
|
|
1504
1505
|
x: 40652.5,
|
|
@@ -1509,13 +1510,10 @@ var floorplanServerData = {
|
|
|
1509
1510
|
y: 0.69557872381504
|
|
1510
1511
|
}
|
|
1511
1512
|
},
|
|
1512
|
-
|
|
1513
|
-
size: 3868080.828799963
|
|
1513
|
+
observer_indexs: [13]
|
|
1514
1514
|
}, {
|
|
1515
|
-
floor_type: 4,
|
|
1516
1515
|
id: 'u-g4FuqwKtE8Keee',
|
|
1517
1516
|
name: '阳台B',
|
|
1518
|
-
observer_indexs: [18],
|
|
1519
1517
|
path: [{
|
|
1520
1518
|
x: 38854,
|
|
1521
1519
|
y: 21309
|
|
@@ -1529,6 +1527,9 @@ var floorplanServerData = {
|
|
|
1529
1527
|
x: 38854,
|
|
1530
1528
|
y: 22958
|
|
1531
1529
|
}],
|
|
1530
|
+
size: 4240672,
|
|
1531
|
+
room_type: '100900000005',
|
|
1532
|
+
floor_type: 4,
|
|
1532
1533
|
room_label: {
|
|
1533
1534
|
position: {
|
|
1534
1535
|
x: 37370,
|
|
@@ -1539,17 +1540,116 @@ var floorplanServerData = {
|
|
|
1539
1540
|
y: 0.9119364803552467
|
|
1540
1541
|
}
|
|
1541
1542
|
},
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1543
|
+
observer_indexs: [18]
|
|
1544
|
+
}],
|
|
1545
|
+
rules: {
|
|
1546
|
+
top: [[{
|
|
1547
|
+
x: 35946,
|
|
1548
|
+
y: 36381
|
|
1549
|
+
}, {
|
|
1550
|
+
x: 37711,
|
|
1551
|
+
y: 36381
|
|
1552
|
+
}], [{
|
|
1553
|
+
x: 37831,
|
|
1554
|
+
y: 39967
|
|
1555
|
+
}, {
|
|
1556
|
+
x: 40139,
|
|
1557
|
+
y: 39967
|
|
1558
|
+
}], [{
|
|
1559
|
+
x: 40339,
|
|
1560
|
+
y: 39967
|
|
1561
|
+
}, {
|
|
1562
|
+
x: 42009,
|
|
1563
|
+
y: 39967
|
|
1564
|
+
}]],
|
|
1565
|
+
right: [[{
|
|
1566
|
+
x: 39116,
|
|
1567
|
+
y: 23078
|
|
1568
|
+
}, {
|
|
1569
|
+
x: 39116,
|
|
1570
|
+
y: 25866
|
|
1571
|
+
}], [{
|
|
1572
|
+
x: 42009,
|
|
1573
|
+
y: 35183
|
|
1574
|
+
}, {
|
|
1575
|
+
x: 42009,
|
|
1576
|
+
y: 39967
|
|
1577
|
+
}], [{
|
|
1578
|
+
x: 42009,
|
|
1579
|
+
y: 27526
|
|
1580
|
+
}, {
|
|
1581
|
+
x: 42009,
|
|
1582
|
+
y: 35063
|
|
1583
|
+
}], [{
|
|
1584
|
+
x: 42009,
|
|
1585
|
+
y: 25866
|
|
1586
|
+
}, {
|
|
1587
|
+
x: 42009,
|
|
1588
|
+
y: 27326
|
|
1589
|
+
}], [{
|
|
1590
|
+
x: 38794,
|
|
1591
|
+
y: 21369
|
|
1592
|
+
}, {
|
|
1593
|
+
x: 38794,
|
|
1594
|
+
y: 22858
|
|
1595
|
+
}]],
|
|
1596
|
+
bottom: [[{
|
|
1597
|
+
x: 35946,
|
|
1598
|
+
y: 21369
|
|
1599
|
+
}, {
|
|
1600
|
+
x: 38794,
|
|
1601
|
+
y: 21369
|
|
1602
|
+
}], [{
|
|
1603
|
+
x: 39361,
|
|
1604
|
+
y: 25866
|
|
1605
|
+
}, {
|
|
1606
|
+
x: 42009,
|
|
1607
|
+
y: 25866
|
|
1608
|
+
}]],
|
|
1609
|
+
left: [[{
|
|
1610
|
+
x: 37831,
|
|
1611
|
+
y: 38648
|
|
1612
|
+
}, {
|
|
1613
|
+
x: 37831,
|
|
1614
|
+
y: 39967
|
|
1615
|
+
}], [{
|
|
1616
|
+
x: 37831,
|
|
1617
|
+
y: 36441
|
|
1618
|
+
}, {
|
|
1619
|
+
x: 37831,
|
|
1620
|
+
y: 38448
|
|
1621
|
+
}], [{
|
|
1622
|
+
x: 35946,
|
|
1623
|
+
y: 33772
|
|
1624
|
+
}, {
|
|
1625
|
+
x: 35946,
|
|
1626
|
+
y: 36381
|
|
1627
|
+
}], [{
|
|
1628
|
+
x: 35946,
|
|
1629
|
+
y: 27526
|
|
1630
|
+
}, {
|
|
1631
|
+
x: 35946,
|
|
1632
|
+
y: 33652
|
|
1633
|
+
}], [{
|
|
1634
|
+
x: 35946,
|
|
1635
|
+
y: 23058
|
|
1636
|
+
}, {
|
|
1637
|
+
x: 35946,
|
|
1638
|
+
y: 27326
|
|
1639
|
+
}], [{
|
|
1640
|
+
x: 35946,
|
|
1641
|
+
y: 21369
|
|
1642
|
+
}, {
|
|
1643
|
+
x: 35946,
|
|
1644
|
+
y: 22858
|
|
1645
|
+
}]]
|
|
1646
|
+
}
|
|
1545
1647
|
}, {
|
|
1546
1648
|
floor_index: 1,
|
|
1547
1649
|
floor_name: '二层',
|
|
1548
1650
|
rooms: [{
|
|
1549
|
-
floor_type: 1,
|
|
1550
1651
|
id: 'u-8U1mk8kTE8p152',
|
|
1551
1652
|
name: '过道',
|
|
1552
|
-
observer_indexs: [24, 27, 28, 41, 42, 43, 44, 45],
|
|
1553
1653
|
path: [{
|
|
1554
1654
|
x: 37902,
|
|
1555
1655
|
y: 32654
|
|
@@ -1569,6 +1669,9 @@ var floorplanServerData = {
|
|
|
1569
1669
|
x: 37902,
|
|
1570
1670
|
y: 33122.187
|
|
1571
1671
|
}],
|
|
1672
|
+
size: 11753938.620619774,
|
|
1673
|
+
room_type: '100900000012',
|
|
1674
|
+
floor_type: 1,
|
|
1572
1675
|
room_label: {
|
|
1573
1676
|
position: {
|
|
1574
1677
|
x: 37050,
|
|
@@ -1579,13 +1682,10 @@ var floorplanServerData = {
|
|
|
1579
1682
|
y: 0.5177864658750845
|
|
1580
1683
|
}
|
|
1581
1684
|
},
|
|
1582
|
-
|
|
1583
|
-
size: 11753938.620619774
|
|
1685
|
+
observer_indexs: [24, 27, 28, 41, 42, 43, 44, 45]
|
|
1584
1686
|
}, {
|
|
1585
|
-
floor_type: 4,
|
|
1586
1687
|
id: 'u-Qt2a8lkTE8Q5Fn',
|
|
1587
1688
|
name: '阳台C',
|
|
1588
|
-
observer_indexs: [37, 38],
|
|
1589
1689
|
path: [{
|
|
1590
1690
|
x: 37902,
|
|
1591
1691
|
y: 37108
|
|
@@ -1608,6 +1708,9 @@ var floorplanServerData = {
|
|
|
1608
1708
|
x: 37902,
|
|
1609
1709
|
y: 36534
|
|
1610
1710
|
}],
|
|
1711
|
+
size: 7719881,
|
|
1712
|
+
room_type: '100900000005',
|
|
1713
|
+
floor_type: 4,
|
|
1611
1714
|
room_label: {
|
|
1612
1715
|
position: {
|
|
1613
1716
|
x: 39601.5,
|
|
@@ -1618,13 +1721,10 @@ var floorplanServerData = {
|
|
|
1618
1721
|
y: 0.17146925378897576
|
|
1619
1722
|
}
|
|
1620
1723
|
},
|
|
1621
|
-
|
|
1622
|
-
size: 7719881
|
|
1724
|
+
observer_indexs: [37, 38]
|
|
1623
1725
|
}, {
|
|
1624
|
-
floor_type: 3,
|
|
1625
1726
|
id: 'u-NUjVStktE8QgQB',
|
|
1626
1727
|
name: '卫生间C',
|
|
1627
|
-
observer_indexs: [35, 36],
|
|
1628
1728
|
path: [{
|
|
1629
1729
|
x: 37902,
|
|
1630
1730
|
y: 36454
|
|
@@ -1653,6 +1753,9 @@ var floorplanServerData = {
|
|
|
1653
1753
|
x: 37902,
|
|
1654
1754
|
y: 35648
|
|
1655
1755
|
}],
|
|
1756
|
+
size: 6760375.56400013,
|
|
1757
|
+
room_type: '100900000004',
|
|
1758
|
+
floor_type: 3,
|
|
1656
1759
|
room_label: {
|
|
1657
1760
|
position: {
|
|
1658
1761
|
x: 38916,
|
|
@@ -1663,13 +1766,10 @@ var floorplanServerData = {
|
|
|
1663
1766
|
y: 0.3105029442996428
|
|
1664
1767
|
}
|
|
1665
1768
|
},
|
|
1666
|
-
|
|
1667
|
-
size: 6760375.56400013
|
|
1769
|
+
observer_indexs: [35, 36]
|
|
1668
1770
|
}, {
|
|
1669
|
-
floor_type: 0,
|
|
1670
1771
|
id: 'u-k8xCaekTE8qNO7',
|
|
1671
1772
|
name: '衣帽间',
|
|
1672
|
-
observer_indexs: [34],
|
|
1673
1773
|
path: [{
|
|
1674
1774
|
x: 42085,
|
|
1675
1775
|
y: 36534
|
|
@@ -1683,6 +1783,9 @@ var floorplanServerData = {
|
|
|
1683
1783
|
x: 39930.5492,
|
|
1684
1784
|
y: 36534
|
|
1685
1785
|
}],
|
|
1786
|
+
size: 7466434.43599987,
|
|
1787
|
+
room_type: '100900000013',
|
|
1788
|
+
floor_type: 0,
|
|
1686
1789
|
room_label: {
|
|
1687
1790
|
position: {
|
|
1688
1791
|
x: 41007.5,
|
|
@@ -1693,13 +1796,10 @@ var floorplanServerData = {
|
|
|
1693
1796
|
y: 0.3105029442996428
|
|
1694
1797
|
}
|
|
1695
1798
|
},
|
|
1696
|
-
|
|
1697
|
-
size: 7466434.43599987
|
|
1799
|
+
observer_indexs: [34]
|
|
1698
1800
|
}, {
|
|
1699
|
-
floor_type: 3,
|
|
1700
1801
|
id: 'u-HLe50ekte8QoQY',
|
|
1701
1802
|
name: '卫生间B',
|
|
1702
|
-
observer_indexs: [39, 40],
|
|
1703
1803
|
path: [{
|
|
1704
1804
|
x: 35906,
|
|
1705
1805
|
y: 36454
|
|
@@ -1719,6 +1819,9 @@ var floorplanServerData = {
|
|
|
1719
1819
|
x: 35906,
|
|
1720
1820
|
y: 33122.187
|
|
1721
1821
|
}],
|
|
1822
|
+
size: 6025361.187999964,
|
|
1823
|
+
room_type: '100900000004',
|
|
1824
|
+
floor_type: 3,
|
|
1722
1825
|
room_label: {
|
|
1723
1826
|
position: {
|
|
1724
1827
|
x: 36904,
|
|
@@ -1729,13 +1832,10 @@ var floorplanServerData = {
|
|
|
1729
1832
|
y: 0.30113910609132155
|
|
1730
1833
|
}
|
|
1731
1834
|
},
|
|
1732
|
-
|
|
1733
|
-
size: 6025361.187999964
|
|
1835
|
+
observer_indexs: [39, 40]
|
|
1734
1836
|
}, {
|
|
1735
|
-
floor_type: 0,
|
|
1736
1837
|
id: 'u-LOmp8sKtE8QwsF',
|
|
1737
1838
|
name: '卧室C',
|
|
1738
|
-
observer_indexs: [25, 26],
|
|
1739
1839
|
path: [{
|
|
1740
1840
|
x: 39167,
|
|
1741
1841
|
y: 25808
|
|
@@ -1764,6 +1864,9 @@ var floorplanServerData = {
|
|
|
1764
1864
|
x: 39225.7979,
|
|
1765
1865
|
y: 25808
|
|
1766
1866
|
}],
|
|
1867
|
+
size: 13217001.946569204,
|
|
1868
|
+
room_type: '100900000001',
|
|
1869
|
+
floor_type: 0,
|
|
1767
1870
|
room_label: {
|
|
1768
1871
|
position: {
|
|
1769
1872
|
x: 37536.73425292969,
|
|
@@ -1774,13 +1877,10 @@ var floorplanServerData = {
|
|
|
1774
1877
|
y: 0.7327377506406717
|
|
1775
1878
|
}
|
|
1776
1879
|
},
|
|
1777
|
-
|
|
1778
|
-
size: 13217001.946569204
|
|
1880
|
+
observer_indexs: [25, 26]
|
|
1779
1881
|
}, {
|
|
1780
|
-
floor_type: 0,
|
|
1781
1882
|
id: 'u-v7i75MKtE8R6AJ',
|
|
1782
1883
|
name: '卧室B',
|
|
1783
|
-
observer_indexs: [29, 30, 31, 33],
|
|
1784
1884
|
path: [{
|
|
1785
1885
|
x: 42085,
|
|
1786
1886
|
y: 32654
|
|
@@ -1800,6 +1900,9 @@ var floorplanServerData = {
|
|
|
1800
1900
|
x: 39930.5492,
|
|
1801
1901
|
y: 32654
|
|
1802
1902
|
}],
|
|
1903
|
+
size: 18915787.384480238,
|
|
1904
|
+
room_type: '100900000001',
|
|
1905
|
+
floor_type: 0,
|
|
1803
1906
|
room_label: {
|
|
1804
1907
|
position: {
|
|
1805
1908
|
x: 40139.5,
|
|
@@ -1810,13 +1913,10 @@ var floorplanServerData = {
|
|
|
1810
1913
|
y: 0.5290809923737813
|
|
1811
1914
|
}
|
|
1812
1915
|
},
|
|
1813
|
-
|
|
1814
|
-
size: 18915787.384480238
|
|
1916
|
+
observer_indexs: [29, 30, 31, 33]
|
|
1815
1917
|
}, {
|
|
1816
|
-
floor_type: 4,
|
|
1817
1918
|
id: 'u-GnW2cJkTE8r794',
|
|
1818
1919
|
name: '阳台D',
|
|
1819
|
-
observer_indexs: [32],
|
|
1820
1920
|
path: [{
|
|
1821
1921
|
x: 42085,
|
|
1822
1922
|
y: 25808
|
|
@@ -1830,6 +1930,9 @@ var floorplanServerData = {
|
|
|
1830
1930
|
x: 42085,
|
|
1831
1931
|
y: 27477.7671
|
|
1832
1932
|
}],
|
|
1933
|
+
size: 4037422.349330902,
|
|
1934
|
+
room_type: '100900000005',
|
|
1935
|
+
floor_type: 4,
|
|
1833
1936
|
room_label: {
|
|
1834
1937
|
position: {
|
|
1835
1938
|
x: 40655,
|
|
@@ -1840,17 +1943,104 @@ var floorplanServerData = {
|
|
|
1840
1943
|
y: 0.6942996428226663
|
|
1841
1944
|
}
|
|
1842
1945
|
},
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1946
|
+
observer_indexs: [32]
|
|
1947
|
+
}],
|
|
1948
|
+
rules: {
|
|
1949
|
+
top: [[{
|
|
1950
|
+
x: 35966,
|
|
1951
|
+
y: 36394
|
|
1952
|
+
}, {
|
|
1953
|
+
x: 37842,
|
|
1954
|
+
y: 36394
|
|
1955
|
+
}], [{
|
|
1956
|
+
x: 37178,
|
|
1957
|
+
y: 38355
|
|
1958
|
+
}, {
|
|
1959
|
+
x: 42025,
|
|
1960
|
+
y: 38355
|
|
1961
|
+
}]],
|
|
1962
|
+
right: [[{
|
|
1963
|
+
x: 42025,
|
|
1964
|
+
y: 36684
|
|
1965
|
+
}, {
|
|
1966
|
+
x: 42025,
|
|
1967
|
+
y: 38355
|
|
1968
|
+
}], [{
|
|
1969
|
+
x: 42025,
|
|
1970
|
+
y: 32714
|
|
1971
|
+
}, {
|
|
1972
|
+
x: 42025,
|
|
1973
|
+
y: 36384
|
|
1974
|
+
}], [{
|
|
1975
|
+
x: 42025,
|
|
1976
|
+
y: 27577
|
|
1977
|
+
}, {
|
|
1978
|
+
x: 42025,
|
|
1979
|
+
y: 32594
|
|
1980
|
+
}], [{
|
|
1981
|
+
x: 42025,
|
|
1982
|
+
y: 25868
|
|
1983
|
+
}, {
|
|
1984
|
+
x: 42025,
|
|
1985
|
+
y: 27377
|
|
1986
|
+
}], [{
|
|
1987
|
+
x: 39107,
|
|
1988
|
+
y: 23487
|
|
1989
|
+
}, {
|
|
1990
|
+
x: 39107,
|
|
1991
|
+
y: 25868
|
|
1992
|
+
}]],
|
|
1993
|
+
bottom: [[{
|
|
1994
|
+
x: 37178,
|
|
1995
|
+
y: 37168
|
|
1996
|
+
}, {
|
|
1997
|
+
x: 37962,
|
|
1998
|
+
y: 37168
|
|
1999
|
+
}], [{
|
|
2000
|
+
x: 35966,
|
|
2001
|
+
y: 23111
|
|
2002
|
+
}, {
|
|
2003
|
+
x: 39107,
|
|
2004
|
+
y: 23111
|
|
2005
|
+
}], [{
|
|
2006
|
+
x: 39350,
|
|
2007
|
+
y: 25868
|
|
2008
|
+
}, {
|
|
2009
|
+
x: 42025,
|
|
2010
|
+
y: 25868
|
|
2011
|
+
}]],
|
|
2012
|
+
left: [[{
|
|
2013
|
+
x: 37178,
|
|
2014
|
+
y: 37168
|
|
2015
|
+
}, {
|
|
2016
|
+
x: 37178,
|
|
2017
|
+
y: 38355
|
|
2018
|
+
}], [{
|
|
2019
|
+
x: 35966,
|
|
2020
|
+
y: 33182
|
|
2021
|
+
}, {
|
|
2022
|
+
x: 35966,
|
|
2023
|
+
y: 36394
|
|
2024
|
+
}], [{
|
|
2025
|
+
x: 35966,
|
|
2026
|
+
y: 27577
|
|
2027
|
+
}, {
|
|
2028
|
+
x: 35966,
|
|
2029
|
+
y: 33062
|
|
2030
|
+
}], [{
|
|
2031
|
+
x: 35966,
|
|
2032
|
+
y: 23487
|
|
2033
|
+
}, {
|
|
2034
|
+
x: 35966,
|
|
2035
|
+
y: 27377
|
|
2036
|
+
}]]
|
|
2037
|
+
}
|
|
1846
2038
|
}, {
|
|
1847
2039
|
floor_index: 2,
|
|
1848
2040
|
floor_name: '三层',
|
|
1849
2041
|
rooms: [{
|
|
1850
|
-
floor_type: 0,
|
|
1851
2042
|
id: 'u-Y3Z387ktE8wXe1',
|
|
1852
2043
|
name: '多功能间',
|
|
1853
|
-
observer_indexs: [46, 47, 50, 51, 52],
|
|
1854
2044
|
path: [{
|
|
1855
2045
|
x: 39123,
|
|
1856
2046
|
y: 35969
|
|
@@ -1885,6 +2075,9 @@ var floorplanServerData = {
|
|
|
1885
2075
|
x: 35878,
|
|
1886
2076
|
y: 35969
|
|
1887
2077
|
}],
|
|
2078
|
+
size: 39325321.030499935,
|
|
2079
|
+
room_type: '100900000001',
|
|
2080
|
+
floor_type: 0,
|
|
1888
2081
|
room_label: {
|
|
1889
2082
|
position: {
|
|
1890
2083
|
x: 38379.256774902344,
|
|
@@ -1895,13 +2088,10 @@ var floorplanServerData = {
|
|
|
1895
2088
|
y: 0.4518766428055088
|
|
1896
2089
|
}
|
|
1897
2090
|
},
|
|
1898
|
-
|
|
1899
|
-
size: 39325321.030499935
|
|
2091
|
+
observer_indexs: [46, 47, 50, 51, 52]
|
|
1900
2092
|
}, {
|
|
1901
|
-
floor_type: 1,
|
|
1902
2093
|
id: 'u-Y7QFVlKtE8xo1W',
|
|
1903
2094
|
name: '阳光房',
|
|
1904
|
-
observer_indexs: [48, 49],
|
|
1905
2095
|
path: [{
|
|
1906
2096
|
x: 39143,
|
|
1907
2097
|
y: 23332
|
|
@@ -1915,6 +2105,9 @@ var floorplanServerData = {
|
|
|
1915
2105
|
x: 39143,
|
|
1916
2106
|
y: 27459.8519
|
|
1917
2107
|
}],
|
|
2108
|
+
size: 12400269.225499988,
|
|
2109
|
+
room_type: '100900000012',
|
|
2110
|
+
floor_type: 1,
|
|
1918
2111
|
room_label: {
|
|
1919
2112
|
position: {
|
|
1920
2113
|
x: 37510.5,
|
|
@@ -1925,9 +2118,80 @@ var floorplanServerData = {
|
|
|
1925
2118
|
y: 0.7544888502751231
|
|
1926
2119
|
}
|
|
1927
2120
|
},
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
2121
|
+
observer_indexs: [48, 49]
|
|
2122
|
+
}],
|
|
2123
|
+
rules: {
|
|
2124
|
+
top: [[{
|
|
2125
|
+
x: 35938,
|
|
2126
|
+
y: 35909
|
|
2127
|
+
}, {
|
|
2128
|
+
x: 39063,
|
|
2129
|
+
y: 35909
|
|
2130
|
+
}], [{
|
|
2131
|
+
x: 39308,
|
|
2132
|
+
y: 33993
|
|
2133
|
+
}, {
|
|
2134
|
+
x: 42047,
|
|
2135
|
+
y: 33993
|
|
2136
|
+
}]],
|
|
2137
|
+
right: [[{
|
|
2138
|
+
x: 39063,
|
|
2139
|
+
y: 33993
|
|
2140
|
+
}, {
|
|
2141
|
+
x: 39063,
|
|
2142
|
+
y: 35909
|
|
2143
|
+
}], [{
|
|
2144
|
+
x: 42047,
|
|
2145
|
+
y: 29343
|
|
2146
|
+
}, {
|
|
2147
|
+
x: 42047,
|
|
2148
|
+
y: 33993
|
|
2149
|
+
}], [{
|
|
2150
|
+
x: 39083,
|
|
2151
|
+
y: 27584
|
|
2152
|
+
}, {
|
|
2153
|
+
x: 39083,
|
|
2154
|
+
y: 29343
|
|
2155
|
+
}], [{
|
|
2156
|
+
x: 39083,
|
|
2157
|
+
y: 23392
|
|
2158
|
+
}, {
|
|
2159
|
+
x: 39083,
|
|
2160
|
+
y: 27334
|
|
2161
|
+
}]],
|
|
2162
|
+
bottom: [[{
|
|
2163
|
+
x: 35938,
|
|
2164
|
+
y: 23392
|
|
2165
|
+
}, {
|
|
2166
|
+
x: 39083,
|
|
2167
|
+
y: 23392
|
|
2168
|
+
}], [{
|
|
2169
|
+
x: 39340,
|
|
2170
|
+
y: 29343
|
|
2171
|
+
}, {
|
|
2172
|
+
x: 42047,
|
|
2173
|
+
y: 29343
|
|
2174
|
+
}]],
|
|
2175
|
+
left: [[{
|
|
2176
|
+
x: 35938,
|
|
2177
|
+
y: 23392
|
|
2178
|
+
}, {
|
|
2179
|
+
x: 35938,
|
|
2180
|
+
y: 27334
|
|
2181
|
+
}], [{
|
|
2182
|
+
x: 35938,
|
|
2183
|
+
y: 31581
|
|
2184
|
+
}, {
|
|
2185
|
+
x: 35938,
|
|
2186
|
+
y: 35909
|
|
2187
|
+
}], [{
|
|
2188
|
+
x: 35938,
|
|
2189
|
+
y: 27584
|
|
2190
|
+
}, {
|
|
2191
|
+
x: 35938,
|
|
2192
|
+
y: 31461
|
|
2193
|
+
}]]
|
|
2194
|
+
}
|
|
1931
2195
|
}],
|
|
1932
2196
|
observers: [{
|
|
1933
2197
|
floor_index: 0,
|
|
@@ -53,6 +53,11 @@ export declare class GLTFViewer extends Subscribe<GLTFViewerEventMap> {
|
|
|
53
53
|
* @param size
|
|
54
54
|
*/
|
|
55
55
|
appendTo(container: HTMLDivElement, size?: GLTFViewerSize): void;
|
|
56
|
+
/**
|
|
57
|
+
* 刷新:如果传递宽高则以该宽高重新绘制;否则,以父容器的宽高重新绘制。
|
|
58
|
+
* @param size
|
|
59
|
+
*/
|
|
60
|
+
refresh(size?: GLTFViewerSize): void;
|
|
56
61
|
/**
|
|
57
62
|
* 销毁
|
|
58
63
|
*/
|