@belife/belife-bim-air 1.6.1-zy.86.patch.7 → 1.6.1-zy.86.patch.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/README.md +2 -1
  2. package/demo/assets/demo.css +28 -0
  3. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//344/277/256/346/224/271/351/242/234/350/211/262.html +100 -0
  4. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//345/212/250/347/224/273/346/214/211/351/222/256.html +154 -0
  5. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/265/213/351/207/217/351/253/230/347/250/213.html +153 -0
  6. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/267/273/345/212/240/346/226/207/346/234/254/346/240/207/347/255/276.html +117 -0
  7. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/267/273/345/212/240/346/240/207/347/255/276/344/272/213/344/273/266/347/202/271/345/207/273/350/216/267/345/217/226/345/261/236/346/200/247.html +102 -0
  8. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//346/267/273/345/212/240/351/274/240/346/240/207/344/272/213/344/273/266/350/216/267/345/217/226/346/250/241/345/236/213.html +62 -0
  9. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//347/247/273/345/212/250/346/240/207/347/255/276/344/275/215/347/275/256.html +126 -0
  10. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//350/247/206/347/202/271/347/256/241/347/220/206.html +86 -0
  11. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//350/247/206/350/247/222/350/275/254/346/215/242.html +81 -0
  12. package/demo//344/272/213/344/273/266/346/223/215/344/275/234//350/256/276/347/275/256/347/273/223/346/236/204/346/240/221/347/202/271/345/207/273/344/272/213/344/273/266.html +49 -0
  13. package/demo//345/217/202/346/225/260/345/214/226/350/256/276/350/256/241//345/217/202/346/225/260/345/214/226/345/273/272/346/250/241.html +132 -0
  14. package/demo//346/250/241/345/236/213/344/272/244/344/272/222//346/227/213/350/275/254/345/271/263/347/247/273/347/274/251/346/224/276.html +131 -0
  15. package/demo//346/250/241/345/236/213/344/272/244/344/272/222//346/236/204/344/273/266/351/232/220/350/227/217/345/274/272/350/260/203.html +113 -0
  16. package/demo//346/250/241/345/236/213/344/272/244/344/272/222//350/256/276/347/275/256viewHouse.html +93 -0
  17. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//347/256/241/351/201/223/347/224/237/351/225/277.html +151 -0
  18. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//350/267/257/345/276/204/345/212/250/347/224/273.html +148 -0
  19. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//350/267/257/345/276/204/345/212/250/347/224/273/347/224/237/351/225/277.html +625 -0
  20. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//350/267/257/345/276/204/346/274/253/346/270/270.html +105 -0
  21. package/demo//346/250/241/345/236/213/345/212/250/347/224/273//351/232/224/347/246/273/347/224/237/351/225/277.html +86 -0
  22. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/210/233/345/273/272/350/247/206/345/233/276.html +39 -0
  23. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/212/240/350/275/275/346/234/215/345/212/241/345/231/250/346/250/241/345/236/213.html +41 -0
  24. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/217/214/345/261/217/346/223/215/344/275/234.html +79 -0
  25. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/256/232/344/275/215/346/250/241/345/236/213.html +53 -0
  26. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//345/267/245/345/205/267/346/240/217/346/230/276/347/244/272/351/232/220/350/227/217.html +74 -0
  27. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/212/225/345/275/261/346/226/271/345/274/217/345/217/230/345/214/226.html +90 -0
  28. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/212/225/345/275/261/346/226/271/345/274/217/345/217/230/346/215/242.html +75 -0
  29. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/230/276/347/244/272/347/233/270/346/234/272/345/217/202/346/225/260.html +113 -0
  30. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//346/250/241/345/236/213/346/210/252/345/217/226.html +130 -0
  31. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//350/256/276/347/275/256/344/270/216/350/216/267/345/217/226/346/250/241/345/236/213/345/235/220/346/240/207.html +65 -0
  32. package/demo//346/250/241/345/236/213/346/223/215/344/275/234//351/224/201/345/256/232/347/233/270/346/234/272/350/247/206/350/247/222.html +109 -0
  33. package/demo//346/250/241/345/236/213/346/225/210/346/236/234/2D/347/203/255/345/212/233/345/233/276.html +100 -0
  34. package/demo//346/250/241/345/236/213/346/225/210/346/236/234/BIMGIS/347/244/272/344/276/213.html +106 -0
  35. package/demo//346/250/241/345/236/213/346/225/210/346/236/234/UV/345/212/250/347/224/273.html +76 -0
  36. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/205/250/346/201/257/345/275/261/345/203/217.html +200 -0
  37. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/210/206/346/256/265/346/237/223/350/211/262/346/225/210/346/236/234.html +87 -0
  38. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/210/233/345/273/272/346/211/253/347/225/245.html +112 -0
  39. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/210/233/345/273/272/350/267/257/345/276/204.html +67 -0
  40. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/212/250/346/200/201/345/210/233/345/273/272/347/224/265/345/255/220/345/233/264/346/240/217.html +123 -0
  41. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/226/267/346/260/264/346/225/210/346/236/234.html +58 -0
  42. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/233/264/345/242/231/346/211/253/346/217/217/346/225/210/346/236/234.html +64 -0
  43. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/241/253/346/214/226/346/226/271/345/210/206/346/236/220.html +66 -0
  44. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/244/251/347/251/272/347/233/222/346/225/210/346/236/234.html +49 -0
  45. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//345/260/204/347/272/277/346/243/200/346/265/213.html +86 -0
  46. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/211/207/345/275/242/346/211/253/346/217/217/346/225/210/346/236/234.html +63 -0
  47. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/214/207/345/256/232/346/236/204/344/273/266/346/227/213/350/275/254.html +76 -0
  48. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/214/211/344/273/273/346/204/217/346/226/271/345/220/221/345/211/226/345/210/207.html +271 -0
  49. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/216/247/351/253/230/345/210/206/346/236/220/346/225/210/346/236/234.html +59 -0
  50. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/260/264/351/235/242/346/225/210/346/236/234.html +72 -0
  51. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/261/275/351/233/276/346/225/210/346/236/234.html +58 -0
  52. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/267/273/345/212/240/344/270/211/347/273/264/346/226/207/345/255/227.html +92 -0
  53. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//346/267/273/345/212/240/347/202/271/347/272/277/351/235/242/346/213/211/344/274/270/344/275/223.html +81 -0
  54. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//347/216/257/347/212/266/346/211/253/346/217/217/346/225/210/346/236/234.html +64 -0
  55. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//347/253/213/344/275/223/351/224/232/347/202/271.html +79 -0
  56. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//350/201/232/345/205/211/347/201/257/346/225/210/346/236/234.html +80 -0
  57. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//351/200/232/350/247/206/345/210/206/346/236/220.html +68 -0
  58. package/demo//346/250/241/345/236/213/346/225/210/346/236/234//351/233/252/345/244/251/346/225/210/346/236/234.html +53 -0
  59. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//345/244/232/346/236/204/344/273/266/345/211/226/345/210/207.html +89 -0
  60. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//345/256/232/344/275/215/346/236/204/344/273/266.html +70 -0
  61. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/345/261/236/346/200/247.html +56 -0
  62. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/347/242/260/346/222/236/346/243/200/346/265/213.html +103 -0
  63. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/200/211/346/213/251/344/270/216/345/256/232/344/275/215.html +59 -0
  64. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/232/220/350/227/217/343/200/201/346/236/204/344/273/266/345/274/272/350/260/203.html +111 -0
  65. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/232/224/347/246/273.html +105 -0
  66. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/216/267/345/217/226/346/236/204/344/273/266/345/214/205/345/233/264/347/233/222.html +109 -0
  67. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/256/276/347/275/256/346/250/241/345/236/213/351/242/234/350/211/262.html +68 -0
  68. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/256/276/347/275/256/351/200/217/346/230/216/345/272/246.html +75 -0
  69. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//350/256/276/347/275/256/351/232/224/347/246/273/346/240/267/345/274/217.html +79 -0
  70. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//351/232/220/350/227/217/346/236/204/344/273/266.html +70 -0
  71. package/demo//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//351/242/234/350/211/262/346/214/211/351/222/256.html +95 -0
  72. package/docs/.nojekyll +1 -0
  73. package/docs/.vuepress/config.js +357 -0
  74. package/docs/.vuepress/styles/palette.styl +12 -0
  75. package/docs/README.md +99 -0
  76. package/docs/animation//350/267/257/345/276/204/345/271/263/347/247/273/345/212/250/347/224/273/346/226/207/346/241/243.md +142 -0
  77. package/docs/assets/images/2.png +0 -0
  78. package/docs/classes/Animation.AnchorEffect.md +91 -0
  79. package/docs/classes/Animation.AnchorEffectConfig.md +65 -0
  80. package/docs/classes/Animation.CircleScanEffect.md +49 -0
  81. package/docs/classes/Animation.CircleScanEffectConfig.md +73 -0
  82. package/docs/classes/Animation.CutFillAnalysisConfig.md +57 -0
  83. package/docs/classes/Animation.CutFillAnalysisEffect.md +63 -0
  84. package/docs/classes/Animation.FanScanEffect.md +49 -0
  85. package/docs/classes/Animation.FanScanEffectConfig.md +89 -0
  86. package/docs/classes/Animation.HeatMap2DEffect.md +49 -0
  87. package/docs/classes/Animation.HeatMap2DEffectConfig.md +65 -0
  88. package/docs/classes/Animation.HeightLimitEffect.md +49 -0
  89. package/docs/classes/Animation.HeightLimitEffectConfig.md +57 -0
  90. package/docs/classes/Animation.PathEffect.md +101 -0
  91. package/docs/classes/Animation.PathEffectConfig.md +65 -0
  92. package/docs/classes/Animation.RegionLimitEffect.md +84 -0
  93. package/docs/classes/Animation.RegionLimitEffectConfig.md +197 -0
  94. package/docs/classes/Animation.SightlineAnalysisConfig.md +65 -0
  95. package/docs/classes/Animation.SightlineAnalysisEffect.md +67 -0
  96. package/docs/classes/Animation.SkyboxEffect.md +75 -0
  97. package/docs/classes/Animation.SkyboxEffectConfig.md +33 -0
  98. package/docs/classes/Animation.SnowEffect.md +49 -0
  99. package/docs/classes/Animation.SnowEffectConfig.md +61 -0
  100. package/docs/classes/Animation.SpotLightEffect.md +49 -0
  101. package/docs/classes/Animation.SpotLightEffectConfig.md +81 -0
  102. package/docs/classes/Animation.SprayWaterEffect.md +49 -0
  103. package/docs/classes/Animation.SprayWaterEffectConfig.md +121 -0
  104. package/docs/classes/Animation.SteamEffect.md +49 -0
  105. package/docs/classes/Animation.SteamEffectConfig.md +121 -0
  106. package/docs/classes/Animation.UvEffect.md +76 -0
  107. package/docs/classes/Animation.UvEffectConfig.md +105 -0
  108. package/docs/classes/Animation.WallEffect.md +193 -0
  109. package/docs/classes/Animation.WallEffectConfig.md +65 -0
  110. package/docs/classes/Animation.WallScanEffect.md +49 -0
  111. package/docs/classes/Animation.WallScanEffectConfig.md +81 -0
  112. package/docs/classes/Animation.WaterEffect.md +51 -0
  113. package/docs/classes/Animation.WaterEffectConfig.md +59 -0
  114. package/docs/classes/Command.CommandCreateWall.md +964 -0
  115. package/docs/classes/Command.CommandSelect.md +631 -0
  116. package/docs/classes/Command.CommandShowCaeAxisCut.md +951 -0
  117. package/docs/classes/Command.CommandShowFirstPersonRoam.md +1176 -0
  118. package/docs/classes/Command.CommandShowProModelExplosion.md +1187 -0
  119. package/docs/classes/Command.CommandShowSlicePanel.md +970 -0
  120. package/docs/classes/ComponentSelector.md +1131 -0
  121. package/docs/classes/CuttingOptions.md +299 -0
  122. package/docs/classes/DataSource.md +114 -0
  123. package/docs/classes/EarthCameraMouse3D.md +1424 -0
  124. package/docs/classes/Geometry.Plane.md +105 -0
  125. package/docs/classes/GisBIMObject.md +1164 -0
  126. package/docs/classes/GisRefLightModel.md +1139 -0
  127. package/docs/classes/Longan.AnimationManager.md +243 -0
  128. package/docs/classes/Longan.BaseShader.md +804 -0
  129. package/docs/classes/Longan.BoundingBox.md +160 -0
  130. package/docs/classes/Longan.CameraMouse.md +1160 -0
  131. package/docs/classes/Longan.CameraPlanMouse.md +1286 -0
  132. package/docs/classes/Longan.CameraTouch.md +910 -0
  133. package/docs/classes/Longan.CloneManager.md +60 -0
  134. package/docs/classes/Longan.CollisionManager.md +119 -0
  135. package/docs/classes/Longan.Color.md +877 -0
  136. package/docs/classes/Longan.Command.md +371 -0
  137. package/docs/classes/Longan.CommandImportEarth.md +538 -0
  138. package/docs/classes/Longan.CommandManager.md +277 -0
  139. package/docs/classes/Longan.CommandPanoramaModelSelect.md +499 -0
  140. package/docs/classes/Longan.CommandSelect.md +515 -0
  141. package/docs/classes/Longan.CommandStepState.md +340 -0
  142. package/docs/classes/Longan.Condition.md +90 -0
  143. package/docs/classes/Longan.Cube.md +834 -0
  144. package/docs/classes/Longan.CuttingBox.md +1051 -0
  145. package/docs/classes/Longan.CuttingPlane.md +1124 -0
  146. package/docs/classes/Longan.DBoundingBox.md +142 -0
  147. package/docs/classes/Longan.DGeometryOperators.md +587 -0
  148. package/docs/classes/Longan.DMatrix4.md +401 -0
  149. package/docs/classes/Longan.DPoint.md +73 -0
  150. package/docs/classes/Longan.DTolerance.md +73 -0
  151. package/docs/classes/Longan.DVector.md +231 -0
  152. package/docs/classes/Longan.DWcs.md +187 -0
  153. package/docs/classes/Longan.DataManagerBase.md +172 -0
  154. package/docs/classes/Longan.DeltaState.md +267 -0
  155. package/docs/classes/Longan.Diagnosis.md +69 -0
  156. package/docs/classes/Longan.DriverOptions.md +56 -0
  157. package/docs/classes/Longan.EarthCameraMouse.md +1426 -0
  158. package/docs/classes/Longan.EarthLabelObjectList.md +817 -0
  159. package/docs/classes/Longan.EarthObject.md +1646 -0
  160. package/docs/classes/Longan.GISBIMObject.md +1239 -0
  161. package/docs/classes/Longan.Geometry.md +233 -0
  162. package/docs/classes/Longan.GeometryOperators.md +608 -0
  163. package/docs/classes/Longan.HeuristicOptions.md +356 -0
  164. package/docs/classes/Longan.HighlightManager.md +151 -0
  165. package/docs/classes/Longan.HistoryManager.md +372 -0
  166. package/docs/classes/Longan.Image.md +572 -0
  167. package/docs/classes/Longan.Include.md +105 -0
  168. package/docs/classes/Longan.IntersectionGraph.md +1385 -0
  169. package/docs/classes/Longan.InvisibleManager.md +162 -0
  170. package/docs/classes/Longan.IsolationManager.md +162 -0
  171. package/docs/classes/Longan.LabelObject.md +836 -0
  172. package/docs/classes/Longan.LabelObjectList.md +824 -0
  173. package/docs/classes/Longan.LightModel.md +988 -0
  174. package/docs/classes/Longan.Line.md +303 -0
  175. package/docs/classes/Longan.List.md +283 -0
  176. package/docs/classes/Longan.LonganCore.GsWebGLUtility.md +85 -0
  177. package/docs/classes/Longan.LonganCore.ThreadPromise.md +90 -0
  178. package/docs/classes/Longan.LonganCore.UpdateInfo.md +70 -0
  179. package/docs/classes/Longan.LonganCore.Viewer.md +1418 -0
  180. package/docs/classes/Longan.LonganCore.ViewerEvent.md +281 -0
  181. package/docs/classes/Longan.LonganLoad.md +74 -0
  182. package/docs/classes/Longan.Marker.md +275 -0
  183. package/docs/classes/Longan.Matrix4.md +450 -0
  184. package/docs/classes/Longan.Mesh.md +356 -0
  185. package/docs/classes/Longan.ModellingMatrix.md +107 -0
  186. package/docs/classes/Longan.NumberKeyList.md +172 -0
  187. package/docs/classes/Longan.ObjectPreSelector.md +1042 -0
  188. package/docs/classes/Longan.ObjectSelector.md +1018 -0
  189. package/docs/classes/Longan.ObjectState.md +329 -0
  190. package/docs/classes/Longan.OperatorManager.md +166 -0
  191. package/docs/classes/Longan.PanoramaCameraMouse.md +1310 -0
  192. package/docs/classes/Longan.PanoramaObject.md +918 -0
  193. package/docs/classes/Longan.ParametricGeometry.md +390 -0
  194. package/docs/classes/Longan.PersistenceManager.md +266 -0
  195. package/docs/classes/Longan.PerspectiveCameraMouse.md +1286 -0
  196. package/docs/classes/Longan.Point.md +73 -0
  197. package/docs/classes/Longan.Polyline.md +314 -0
  198. package/docs/classes/Longan.Process.md +494 -0
  199. package/docs/classes/Longan.Property.md +253 -0
  200. package/docs/classes/Longan.PropertyComponent.md +146 -0
  201. package/docs/classes/Longan.ReferenceObject.md +833 -0
  202. package/docs/classes/Longan.RenderInstanceObject.md +187 -0
  203. package/docs/classes/Longan.RenderObject.md +620 -0
  204. package/docs/classes/Longan.RenderObjectState.md +363 -0
  205. package/docs/classes/Longan.RenderingOptions.md +1630 -0
  206. package/docs/classes/Longan.RoamPathObjectList.md +789 -0
  207. package/docs/classes/Longan.Segment.md +1372 -0
  208. package/docs/classes/Longan.SegmentViewObject.md +842 -0
  209. package/docs/classes/Longan.Selectability.md +398 -0
  210. package/docs/classes/Longan.SelectionKey.md +96 -0
  211. package/docs/classes/Longan.SelectionManager.md +295 -0
  212. package/docs/classes/Longan.Shader.md +526 -0
  213. package/docs/classes/Longan.Shell.md +511 -0
  214. package/docs/classes/Longan.Stack.md +185 -0
  215. package/docs/classes/Longan.StateItem.md +239 -0
  216. package/docs/classes/Longan.StatePack.md +256 -0
  217. package/docs/classes/Longan.StringKeyList.md +154 -0
  218. package/docs/classes/Longan.Style.md +116 -0
  219. package/docs/classes/Longan.StyleManagerBase.md +76 -0
  220. package/docs/classes/Longan.TaskExecuteState.md +328 -0
  221. package/docs/classes/Longan.TaskFinishState.md +328 -0
  222. package/docs/classes/Longan.TaskManager.md +382 -0
  223. package/docs/classes/Longan.TaskState.md +330 -0
  224. package/docs/classes/Longan.Text.md +199 -0
  225. package/docs/classes/Longan.Tolerance.md +92 -0
  226. package/docs/classes/Longan.TriangularShell.md +406 -0
  227. package/docs/classes/Longan.TypeHelper.md +38 -0
  228. package/docs/classes/Longan.Vector.md +231 -0
  229. package/docs/classes/Longan.ViewModel.md +301 -0
  230. package/docs/classes/Longan.ViewPointObjectList.md +789 -0
  231. package/docs/classes/Longan.Viewer.md +2836 -0
  232. package/docs/classes/Longan.ViewerManagerBase.md +55 -0
  233. package/docs/classes/Longan.ViewerOperator.md +623 -0
  234. package/docs/classes/Longan.Viewport.md +57 -0
  235. package/docs/classes/Longan.Visibility.md +458 -0
  236. package/docs/classes/Longan.Wcs.md +141 -0
  237. package/docs/classes/MapTileSet3D.md +1182 -0
  238. package/docs/classes/Material.md +363 -0
  239. package/docs/classes/Panel.md +174 -0
  240. package/docs/classes/ParameterManager.md +98 -0
  241. package/docs/classes/ParametricGeometryManager.md +131 -0
  242. package/docs/classes/Process.md +674 -0
  243. package/docs/classes/SDK.Model.md +166 -0
  244. package/docs/classes/SegmentObject.md +563 -0
  245. package/docs/classes/TerrainProvider.md +87 -0
  246. package/docs/classes/TreeNodeObject.md +439 -0
  247. package/docs/classes/Viewer.md +3761 -0
  248. package/docs/enums/CuttingCreateType.md +46 -0
  249. package/docs/enums/Longan.AlphaTextureBlendingType.md +24 -0
  250. package/docs/enums/Longan.CylinderCap.md +38 -0
  251. package/docs/enums/Longan.DynamicMemoryType.md +31 -0
  252. package/docs/enums/Longan.ImagePixelFormat.md +24 -0
  253. package/docs/enums/Longan.LonganCore.AreaSelectionType.md +24 -0
  254. package/docs/enums/Longan.LonganCore.CameraChangeType.md +31 -0
  255. package/docs/enums/Longan.LonganCore.CollisionType.md +53 -0
  256. package/docs/enums/Longan.LonganCore.CoordinateSystem.md +45 -0
  257. package/docs/enums/Longan.LonganCore.EdgeType.md +31 -0
  258. package/docs/enums/Longan.LonganCore.ElementType.md +52 -0
  259. package/docs/enums/Longan.LonganCore.FontUnitsType.md +45 -0
  260. package/docs/enums/Longan.LonganCore.GLTypes.md +80 -0
  261. package/docs/enums/Longan.LonganCore.LightingMode.md +59 -0
  262. package/docs/enums/Longan.LonganCore.ObjectType.md +262 -0
  263. package/docs/enums/Longan.LonganCore.TextAlignment.md +73 -0
  264. package/docs/enums/Longan.LonganCore.UpdateDisplayType.md +52 -0
  265. package/docs/enums/Longan.LonganCore.UpdateType.md +28 -0
  266. package/docs/enums/Longan.LonganCore.VertexType.md +31 -0
  267. package/docs/enums/Longan.LonganCore.ViewMode.md +215 -0
  268. package/docs/enums/Longan.ProjectionType.md +28 -0
  269. package/docs/enums/Longan.RollType.md +24 -0
  270. package/docs/enums/Longan.SelectabilityType.md +31 -0
  271. package/docs/enums/Longan.UvType.md +24 -0
  272. package/docs/enums/Longan.ViewportType.md +24 -0
  273. package/docs/enums/ModelStatus.md +85 -0
  274. package/docs/enums/PathType.md +22 -0
  275. package/docs/enums/ShowBorder.md +29 -0
  276. package/docs/enums/SkyboxType.md +36 -0
  277. package/docs/enums/ViewerType.md +22 -0
  278. package/docs/feature/README.md +104 -0
  279. package/docs/feature//346/223/215/344/275/234/345/231/250.md +66 -0
  280. package/docs/feature//346/236/204/344/273/266/345/256/232/344/275/215.md +180 -0
  281. package/docs/feature//346/236/204/344/273/266/346/220/234/347/264/242.md +178 -0
  282. package/docs/feature//346/236/204/344/273/266/346/230/276/347/244/272.md +187 -0
  283. package/docs/feature//346/236/204/344/273/266/351/232/224/347/246/273.md +125 -0
  284. package/docs/feature//346/250/241/345/236/213/345/211/226/345/210/207.md +7 -0
  285. package/docs/feature//346/250/241/345/236/213/345/257/274/345/205/245.md +81 -0
  286. package/docs/feature//346/250/241/345/236/213/347/273/223/346/236/204.md +217 -0
  287. package/docs/feature//350/267/257/345/276/204/346/274/253/346/270/270.md +7 -0
  288. package/docs/feature//350/277/233/345/272/246/346/250/241/346/213/237.md +8 -0
  289. package/docs/feature//351/242/234/350/211/262/350/256/276/347/275/256.md +112 -0
  290. package/docs/gs-bim-air.md +231 -0
  291. package/docs/guide/EasyStart.md +98 -0
  292. package/docs/interfaces/LoaderOptions.md +78 -0
  293. package/docs/interfaces/Model.md +113 -0
  294. package/docs/interfaces/SliceModelParam.md +29 -0
  295. package/docs/interfaces/ToolbarVisible.md +190 -0
  296. package/docs/interfaces/ViewerOptions.md +201 -0
  297. package/docs/modules/Animation.md +44 -0
  298. package/docs/modules/Command.md +14 -0
  299. package/docs/modules/Geometry.md +9 -0
  300. package/docs/modules/Longan.LonganCore.md +2653 -0
  301. package/docs/modules/Longan.md +153 -0
  302. package/docs/modules/SDK.md +9 -0
  303. package/docs/modules/Utility.md +60 -0
  304. package/docs/senior/README.md +9 -0
  305. package/docs/senior/TypeScript/346/224/257/346/214/201.md +13 -0
  306. package/docs/web/347/253/257//345/205/266/344/273/226-/344/272/213/344/273/266/347/233/221/345/220/254/357/274/210EventListener/357/274/211.md +139 -0
  307. package/docs/web/347/253/257//345/205/266/344/273/226-/346/235/220/350/264/250/357/274/210Material/357/274/211.md +350 -0
  308. package/docs/web/347/253/257//345/205/266/344/273/226-/346/236/204/344/273/266/351/200/211/346/213/251/345/231/250/357/274/210ComponentSelector/357/274/211.md +837 -0
  309. package/docs/web/347/253/257//345/205/266/344/273/226-/350/267/257/345/276/204/346/274/253/346/270/270/357/274/210PathRoam/357/274/211.md +186 -0
  310. package/docs/web/347/253/257//345/212/240/350/275/275-/347/233/270/346/234/272/357/274/210Camera/357/274/211.md +209 -0
  311. package/docs/web/347/253/257//345/212/240/350/275/275-/350/247/206/345/233/276/357/274/210Viewer/357/274/211.md +2272 -0
  312. package/docs/web/347/253/257//345/212/240/350/275/275-/350/247/206/347/202/271/351/235/242/346/235/277/357/274/210ViewPointPanel/357/274/211.md +394 -0
  313. package/docs/web/347/253/257//345/212/250/347/224/273-UV/346/225/210/346/236/234/357/274/210UvEffect/357/274/211.md +95 -0
  314. package/docs/web/347/253/257//345/212/250/347/224/273-/345/210/206/346/256/265/346/237/223/350/211/262/357/274/210RegionLimit/357/274/211.md +72 -0
  315. package/docs/web/347/253/257//345/212/250/347/224/273-/345/217/257/350/247/206/346/200/247/345/210/206/346/236/220/357/274/210SightlineAnalysis/357/274/211.md +81 -0
  316. package/docs/web/347/253/257//345/212/250/347/224/273-/345/226/267/346/260/264/346/225/210/346/236/234/357/274/210SprayWaterEffect/357/274/211.md +70 -0
  317. package/docs/web/347/253/257//345/212/250/347/224/273-/345/233/264/345/242/231/357/274/210WallScan/357/274/211.md +64 -0
  318. package/docs/web/347/253/257//345/212/250/347/224/273-/345/241/253/346/214/226/346/226/271/345/210/206/346/236/220/357/274/210CutFillAnalysis/357/274/211.md +75 -0
  319. package/docs/web/347/253/257//345/212/250/347/224/273-/345/244/251/347/251/272/347/233/222/357/274/210Skybox/357/274/211.md +82 -0
  320. package/docs/web/347/253/257//345/212/250/347/224/273-/346/211/207/345/275/242/346/211/253/346/217/217/357/274/210FanScan/357/274/211.md +65 -0
  321. package/docs/web/347/253/257//345/212/250/347/224/273-/346/216/247/351/253/230/345/210/206/346/236/220/357/274/210HeightLimit/357/274/211.md +63 -0
  322. package/docs/web/347/253/257//345/212/250/347/224/273-/346/260/264/351/235/242/346/225/210/346/236/234/357/274/210WaterEffect/357/274/211.md +63 -0
  323. package/docs/web/347/253/257//345/212/250/347/224/273-/346/261/275/351/233/276/346/225/210/346/236/234/357/274/210SteamEffect/357/274/211.md +70 -0
  324. package/docs/web/347/253/257//345/212/250/347/224/273-/347/203/255/345/212/233/345/233/276/357/274/210HeatMap/357/274/211.md +64 -0
  325. package/docs/web/347/253/257//345/212/250/347/224/273-/347/253/213/344/275/223/351/224/232/347/202/271/357/274/210Anchor/357/274/211.md +100 -0
  326. package/docs/web/347/253/257//345/212/250/347/224/273-/350/201/232/345/205/211/347/201/257/357/274/210SpotLight/357/274/211.md +66 -0
  327. package/docs/web/347/253/257//345/212/250/347/224/273-/350/267/257/345/276/204/346/225/210/346/236/234/357/274/210PathEffect/357/274/211.md +108 -0
  328. package/docs/web/347/253/257//345/212/250/347/224/273-/351/233/252/345/244/251/357/274/210SnowEffect/357/274/211.md +60 -0
  329. package/docs/web/347/253/257//345/257/271/350/261/241-/346/240/221/350/212/202/347/202/271/345/257/271/350/261/241/357/274/210TreeNodeObject/357/274/211.md +353 -0
  330. package/docs/web/347/253/257//345/257/271/350/261/241-/346/250/241/345/236/213/350/212/202/347/202/271/345/257/271/350/261/241/357/274/210segmentObject/357/274/211.md +450 -0
  331. package/docs/web/347/253/257//345/257/271/350/261/241-/350/275/273/351/207/217/345/214/226/346/250/241/345/236/213/357/274/210lightModel/357/274/211.md +641 -0
  332. package/docs/web/347/253/257//345/257/271/350/261/241-/351/222/273/345/255/224/347/273/204/345/257/271/350/261/241/357/274/210BoreholeObjects/357/274/211.md +439 -0
  333. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/344/270/264/346/227/266/345/257/271/350/261/241/347/256/241/347/220/206/345/231/250/357/274/210TemporaryObjectManager/357/274/211.md +208 -0
  334. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/212/250/347/224/273/347/256/241/347/220/206/345/231/250/357/274/210AnimationManager/357/274/211.md +370 -0
  335. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/217/202/346/225/260/345/214/226/345/207/240/344/275/225/347/256/241/347/220/206/345/231/250/357/274/210ParametricGeometryManager/357/274/211.md +92 -0
  336. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/217/202/346/225/260/347/256/241/347/220/206/345/231/250/357/274/210ParameterManager/357/274/211.md +58 -0
  337. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/217/257/350/247/206/346/200/247/347/256/241/347/220/206/345/231/250/357/274/210InvisibleManager/357/274/211.md +149 -0
  338. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/345/261/236/346/200/247/347/256/241/347/220/206/345/231/250/357/274/210PropertyManager/357/274/211.md +153 -0
  339. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/346/235/220/350/264/250/347/256/241/347/220/206/345/231/250/357/274/210MaterialManager/357/274/211.md +131 -0
  340. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/346/236/204/344/273/266/347/256/241/347/220/206/345/231/250/357/274/210ComponentManager/357/274/211.md +56 -0
  341. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/347/273/223/346/236/204/346/240/221/347/256/241/347/220/206/345/231/250/357/274/210StructureTreeManager/357/274/211.md +157 -0
  342. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/351/200/211/346/213/251/347/256/241/347/220/206/345/231/250/357/274/210SelectionManager/357/274/211.md +191 -0
  343. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/351/232/224/347/246/273/347/256/241/347/220/206/345/231/250/357/274/210IsolationManager/357/274/211.md +147 -0
  344. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/351/235/242/346/235/277/347/256/241/347/220/206/345/231/250/357/274/210PanelManager/357/274/211.md +71 -0
  345. package/docs/web/347/253/257//347/256/241/347/220/206/345/231/250-/351/253/230/344/272/256/347/256/241/347/220/206/345/231/250/357/274/210HighlightManager/357/274/211.md +127 -0
  346. package/docs/web/347/253/257//351/205/215/347/275/256-/345/212/240/350/275/275/351/200/211/351/241/271/357/274/210LoaderOptions/357/274/211.md +57 -0
  347. package/docs/web/347/253/257//351/205/215/347/275/256-/346/230/276/347/244/272/350/276/271/346/241/206/357/274/210ShowBorder/357/274/211.md +32 -0
  348. package/docs/web/347/253/257//351/205/215/347/275/256-/350/247/206/345/233/276/351/200/211/351/241/271/357/274/210viewerOptions/357/274/211.md +144 -0
  349. package/docs//345/212/240/350/275/275/346/230/276/347/244/272/346/250/241/345/236/213.md +99 -0
  350. package/docs//345/277/253/351/200/237/344/270/212/346/211/213.md +139 -0
  351. package/docs//346/250/241/345/236/213/344/272/244/344/272/222//344/272/213/344/273/266/347/233/221/345/220/254.md +70 -0
  352. package/docs//346/250/241/345/236/213/344/272/244/344/272/222//350/247/206/345/233/276/350/256/276/347/275/256.md +25 -0
  353. package/docs//346/250/241/345/236/213/344/272/244/344/272/222//351/200/211/346/213/251/347/256/241/347/220/206/345/231/250.md +42 -0
  354. package/docs//347/256/200/344/273/213.md +41 -0
  355. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/345/256/232/344/275/215/343/200/201/345/261/236/346/200/247/346/230/276/347/244/272.md +27 -0
  356. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/346/240/267/345/274/217/350/256/276/347/275/256.md +74 -0
  357. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/232/220/350/227/217/343/200/201/351/232/224/347/246/273/343/200/201/351/253/230/344/272/256.md +83 -0
  358. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//347/273/223/346/236/204/346/240/221.md +6 -0
  359. package/docs//351/205/215/347/275/256/LoaderOptions.md +29 -0
  360. package/docs//351/205/215/347/275/256/Options.md +177 -0
  361. package/lib/BimAir.common-report.html +2 -2
  362. package/lib/BimAir.common.js +3204 -942
  363. package/lib/BimAir.css +43 -3
  364. package/lib/BimAir.umd-report.html +2 -2
  365. package/lib/BimAir.umd.js +3204 -942
  366. package/lib/BimAir.umd.min-report.html +2 -2
  367. package/lib/BimAir.umd.min.js +3204 -942
  368. package/package.json +1 -1
  369. package/bimAir.rar +0 -0
@@ -0,0 +1,31 @@
1
+ [gs-bim-air](../gs-bim-air.md) / [Longan](../modules/Longan.md) / SelectabilityType
2
+
3
+ # Enumeration: SelectabilityType
4
+
5
+ [Longan](../modules/Longan.md).SelectabilityType
6
+
7
+ ## Table of contents
8
+
9
+ ### Enumeration Members
10
+
11
+ - [Off](Longan.SelectabilityType.md#off)
12
+ - [On](Longan.SelectabilityType.md#on)
13
+ - [OnInvisibility](Longan.SelectabilityType.md#oninvisibility)
14
+
15
+ ## Enumeration Members
16
+
17
+ ### Off
18
+
19
+ • **Off** = ``1``
20
+
21
+ ___
22
+
23
+ ### On
24
+
25
+ • **On** = ``0``
26
+
27
+ ___
28
+
29
+ ### OnInvisibility
30
+
31
+ • **OnInvisibility** = ``2``
@@ -0,0 +1,24 @@
1
+ [gs-bim-air](../gs-bim-air.md) / [Longan](../modules/Longan.md) / UvType
2
+
3
+ # Enumeration: UvType
4
+
5
+ [Longan](../modules/Longan.md).UvType
6
+
7
+ ## Table of contents
8
+
9
+ ### Enumeration Members
10
+
11
+ - [Fill](Longan.UvType.md#fill)
12
+ - [Title](Longan.UvType.md#title)
13
+
14
+ ## Enumeration Members
15
+
16
+ ### Fill
17
+
18
+ • **Fill** = ``1``
19
+
20
+ ___
21
+
22
+ ### Title
23
+
24
+ • **Title** = ``0``
@@ -0,0 +1,24 @@
1
+ [gs-bim-air](../gs-bim-air.md) / [Longan](../modules/Longan.md) / ViewportType
2
+
3
+ # Enumeration: ViewportType
4
+
5
+ [Longan](../modules/Longan.md).ViewportType
6
+
7
+ ## Table of contents
8
+
9
+ ### Enumeration Members
10
+
11
+ - [window](Longan.ViewportType.md#window)
12
+ - [world](Longan.ViewportType.md#world)
13
+
14
+ ## Enumeration Members
15
+
16
+ ### window
17
+
18
+ • **window** = ``"window"``
19
+
20
+ ___
21
+
22
+ ### world
23
+
24
+ • **world** = ``"world"``
@@ -0,0 +1,85 @@
1
+ [gs-bim-air](../gs-bim-air.md) / ModelStatus
2
+
3
+ # Enumeration: ModelStatus
4
+
5
+ ## Table of contents
6
+
7
+ ### Enumeration Members
8
+
9
+ - [ConvertDone](ModelStatus.md#convertdone)
10
+ - [ConvertFail](ModelStatus.md#convertfail)
11
+ - [ConvertNo](ModelStatus.md#convertno)
12
+ - [ConvertWait](ModelStatus.md#convertwait)
13
+ - [Converting](ModelStatus.md#converting)
14
+ - [SeparateDone](ModelStatus.md#separatedone)
15
+ - [SeparateFail](ModelStatus.md#separatefail)
16
+ - [SeparateNo](ModelStatus.md#separateno)
17
+ - [Separating](ModelStatus.md#separating)
18
+ - [UploadFail](ModelStatus.md#uploadfail)
19
+ - [Uploading](ModelStatus.md#uploading)
20
+
21
+ ## Enumeration Members
22
+
23
+ ### ConvertDone
24
+
25
+ • **ConvertDone** = ``"转换完成"``
26
+
27
+ ___
28
+
29
+ ### ConvertFail
30
+
31
+ • **ConvertFail** = ``"转换失败"``
32
+
33
+ ___
34
+
35
+ ### ConvertNo
36
+
37
+ • **ConvertNo** = ``"未转换"``
38
+
39
+ ___
40
+
41
+ ### ConvertWait
42
+
43
+ • **ConvertWait** = ``"等待转换"``
44
+
45
+ ___
46
+
47
+ ### Converting
48
+
49
+ • **Converting** = ``"正在转换"``
50
+
51
+ ___
52
+
53
+ ### SeparateDone
54
+
55
+ • **SeparateDone** = ``"分离完成"``
56
+
57
+ ___
58
+
59
+ ### SeparateFail
60
+
61
+ • **SeparateFail** = ``"分离失败"``
62
+
63
+ ___
64
+
65
+ ### SeparateNo
66
+
67
+ • **SeparateNo** = ``"未分离"``
68
+
69
+ ___
70
+
71
+ ### Separating
72
+
73
+ • **Separating** = ``"正在分离"``
74
+
75
+ ___
76
+
77
+ ### UploadFail
78
+
79
+ • **UploadFail** = ``"上传失败"``
80
+
81
+ ___
82
+
83
+ ### Uploading
84
+
85
+ • **Uploading** = ``"正在上传"``
@@ -0,0 +1,22 @@
1
+ [gs-bim-air](../gs-bim-air.md) / PathType
2
+
3
+ # Enumeration: PathType
4
+
5
+ ## Table of contents
6
+
7
+ ### Enumeration Members
8
+
9
+ - [Curve](PathType.md#curve)
10
+ - [Straight](PathType.md#straight)
11
+
12
+ ## Enumeration Members
13
+
14
+ ### Curve
15
+
16
+ • **Curve** = ``1``
17
+
18
+ ___
19
+
20
+ ### Straight
21
+
22
+ • **Straight** = ``0``
@@ -0,0 +1,29 @@
1
+ [gs-bim-air](../gs-bim-air.md) / ShowBorder
2
+
3
+ # Enumeration: ShowBorder
4
+
5
+ ## Table of contents
6
+
7
+ ### Enumeration Members
8
+
9
+ - [Default](ShowBorder.md#default)
10
+ - [Off](ShowBorder.md#off)
11
+ - [On](ShowBorder.md#on)
12
+
13
+ ## Enumeration Members
14
+
15
+ ### Default
16
+
17
+ • **Default** = ``2``
18
+
19
+ ___
20
+
21
+ ### Off
22
+
23
+ • **Off** = ``1``
24
+
25
+ ___
26
+
27
+ ### On
28
+
29
+ • **On** = ``0``
@@ -0,0 +1,36 @@
1
+ [gs-bim-air](../gs-bim-air.md) / SkyboxType
2
+
3
+ # Enumeration: SkyboxType
4
+
5
+ ## Table of contents
6
+
7
+ ### Enumeration Members
8
+
9
+ - [Dark](SkyboxType.md#dark)
10
+ - [Default](SkyboxType.md#default)
11
+ - [Desert](SkyboxType.md#desert)
12
+ - [Sunset](SkyboxType.md#sunset)
13
+
14
+ ## Enumeration Members
15
+
16
+ ### Dark
17
+
18
+ • **Dark** = ``"dark"``
19
+
20
+ ___
21
+
22
+ ### Default
23
+
24
+ • **Default** = ``"default"``
25
+
26
+ ___
27
+
28
+ ### Desert
29
+
30
+ • **Desert** = ``"desert"``
31
+
32
+ ___
33
+
34
+ ### Sunset
35
+
36
+ • **Sunset** = ``"sunset"``
@@ -0,0 +1,22 @@
1
+ [gs-bim-air](../gs-bim-air.md) / ViewerType
2
+
3
+ # Enumeration: ViewerType
4
+
5
+ ## Table of contents
6
+
7
+ ### Enumeration Members
8
+
9
+ - [Model](ViewerType.md#model)
10
+ - [Project](ViewerType.md#project)
11
+
12
+ ## Enumeration Members
13
+
14
+ ### Model
15
+
16
+ • **Model** = ``"model"``
17
+
18
+ ___
19
+
20
+ ### Project
21
+
22
+ • **Project** = ``"project"``
@@ -0,0 +1,104 @@
1
+ # 创建Viewer控件
2
+ 轻量化云平台图形绘制主要是通过Viewer控件去呈现的,控件主要包括图形显示,属性设置等操作。
3
+
4
+ ## 创建控件
5
+ 由于控件需要一个载体,这里创建一个id为viewer的div元素。
6
+ ```html
7
+ <div id="viewer">
8
+ </div>
9
+ ```
10
+
11
+ 根据页面添加JavaScript代码。
12
+ ```html
13
+ <script type="text/javascript">
14
+ GraStoneCloud.DevModule.onReady = function () {
15
+ $("#viewer").css("height", window.innerHeight);
16
+
17
+ $(window).resize(function () {
18
+ $("#viewer").css("height", window.innerHeight);
19
+ });
20
+
21
+ let viewer = new GraStoneCloud.DevFx.Viewer("viewer");
22
+
23
+ viewer.backgroundColor([0.9, 0.9, 0.9]);
24
+ viewer.updateDisplay();
25
+ }
26
+ </script>
27
+ ```
28
+
29
+ ## Viewer创建环境。
30
+ 由于Viewer依赖于轻量化云平台模块资源,所以Viewer创建需要在轻量化云平台模块环境初始化完毕后才能进行。
31
+ ```js
32
+ // Viewer创建需要在GraStoneCloud.DevModule.onReady函数内进行。
33
+ GraStoneCloud.DevModule.onReady = function () {
34
+ let viewer = new GraStoneCloud.DevFx.Viewer("viewer");
35
+ }
36
+ ```
37
+
38
+ ## Viewer构造函数
39
+ 在Viewer创建时需要输入Viewer所在的容器id,一般是div。
40
+ ```js
41
+ // “viewer”是div的id。
42
+ GraStoneCloud.DevFx.Viewer("viewer");
43
+ ```
44
+
45
+
46
+ ## 设置Viewer绘制背景颜色
47
+ 可以调用Viewr的backgroundColor函数进行背景颜色设置,参数为0~1的rgb值,具体说明请查看API说明文档。
48
+ ```js
49
+ viewer.backgroundColor([0.9, 0.9, 0.9]);
50
+ ```
51
+
52
+ 也可以调用无参数backgroundColor函数返回当前背景颜色值,返回结果为0~1的rgb数组,具体说明请查看API说明文档。
53
+ ```js
54
+ let bgcolor = viewer.backgroundColor();
55
+ ```
56
+
57
+ ## 更新Viewer绘制
58
+ 在Viewer绘制场景内容发生改变,包括模型改变,属性改变等,都需要更新绘制场景,这是需要调用Viewer的updateDisplay函数。
59
+ ```js
60
+ viewer.updateDisplay();
61
+ ```
62
+
63
+ ## 实例HTML下载
64
+
65
+ 可直接<a :href="$withBase('/demo/创建Viewer.html')" target="_blank"><b>预览创建Viewer实例</b></a>
66
+
67
+ 或者复制以下代码保存成html格式打开实例
68
+ ```html
69
+ <!DOCTYPE html>
70
+ <html>
71
+ <head>
72
+ <meta charset="UTF-8">
73
+ <title>首页</title>
74
+
75
+ <script src="http://120.78.129.125:8111/js/jquery.js"></script>
76
+ <script src="http://120.78.129.125:8111/js/gs.dev.js"></script>
77
+ <script src="http://120.78.129.125:8111/js/longan/longan.js"></script>
78
+
79
+ </head>
80
+ <body style="margin:0px">
81
+ <div>
82
+ <div id="viewer">
83
+ </div>
84
+ </div>
85
+
86
+ <script type="text/javascript">
87
+ GraStoneCloud.DevModule.onReady = function () {
88
+ $("#viewer").css("height", window.innerHeight);
89
+
90
+ $(window).resize(function () {
91
+ $("#viewer").css("height", window.innerHeight);
92
+ });
93
+
94
+ let viewer = new GraStoneCloud.DevFx.Viewer("viewer");
95
+
96
+ viewer.backgroundColor([41/255, 153/255, 153/255]);
97
+ viewer.updateDisplay();
98
+ }
99
+ </script>
100
+
101
+ </body>
102
+ </html>
103
+ ```
104
+
@@ -0,0 +1,66 @@
1
+ # 添加操作器
2
+ 在Viewer里有个叫OperatorManager的操作管理器,在管理器里可以添加一个或多个ViewerOperator,ViewerOperator通过接收鼠标和键盘的消息来处理各种操作。
3
+
4
+ ## 视图操作器CameraMouse
5
+ CameraMouse负责接收鼠标事件,进行视图操作。
6
+ ```js
7
+ viewer.operatorManager.add(new GraStoneCloud.DevFx.CameraMouse());
8
+ ```
9
+
10
+ CameraMouse添加后,用户可以在视图进行以下操作:
11
+ 按下中建,进行视图移动操作,
12
+ 按下右键,进行视图旋转操作,
13
+ 点击中建,进行视图旋转中心设置操作。
14
+
15
+ ## 实例HTML下载
16
+
17
+ 可直接<a :href="$withBase('/demo/操作器.html')" target="_blank"><b>预览操作器实例</b></a>
18
+
19
+ 或者复制以下代码保存成html格式打开实例
20
+ ```html
21
+ <!DOCTYPE html>
22
+ <html>
23
+ <head>
24
+ <meta charset="UTF-8">
25
+ <title>首页</title>
26
+
27
+ <script src="http://120.78.129.125:8111/js/jquery.js"></script>
28
+ <script src="http://120.78.129.125:8111/js/gs.dev.js"></script>
29
+ <script src="http://120.78.129.125:8111/js/longan/longan.js"></script>
30
+
31
+ </head>
32
+ <body style="margin:0px">
33
+ <div>
34
+ <div id="viewer">
35
+ </div>
36
+ </div>
37
+
38
+ <script type="text/javascript">
39
+ GraStoneCloud.DevModule.onReady = function () {
40
+ $("#viewer").css("height", window.innerHeight);
41
+
42
+ $(window).resize(function () {
43
+ $("#viewer").css("height", window.innerHeight);
44
+ });
45
+
46
+ let viewer = new GraStoneCloud.DevFx.Viewer("viewer");
47
+ viewer.backgroundColor([0.9, 0.9, 0.9]);
48
+
49
+ let viewModel = new GraStoneCloud.DevFx.ViewModel();
50
+
51
+ viewModel.viewer(viewer);
52
+ viewModel.modelServiceHost("120.78.129.125:8111");
53
+
54
+ viewModel.loadModelByPath("3f67fd8baf95428fb25b845909d1c738", "demo.mca");
55
+
56
+ viewer.setViewMode(Longan.ViewMode.Iso, true);
57
+ viewer.updateDisplay();
58
+
59
+ viewer.operatorManager.add(new GraStoneCloud.DevFx.CameraMouse());
60
+ }
61
+ </script>
62
+
63
+ </body>
64
+ </html>
65
+ ```
66
+
@@ -0,0 +1,180 @@
1
+ # 构件定位
2
+ 可通过构件的id去搜索构件,通过镜头的拉进移动来使目标构件显示在镜头中心。
3
+
4
+ ## 具体实现
5
+ 通过key搜索构件及子构件的id列表,把id列表传入viewModel的locateComponents函数即可定位构件
6
+ ```js
7
+ let ids = model.getComponentIdsByKey(key);
8
+ viewModel.locateComponents(ids); //核心就是这行,定位构件
9
+ ```
10
+
11
+ 通常会配合构件高亮和构件浮起来使用,使搜索出的构件更显眼
12
+ ```js
13
+ let ids = model.getComponentIdsByKey(key);
14
+ viewModel.locateComponents(ids);
15
+ for (let i = 0; i < ids.length; i++) {
16
+ model.setComponentColor(ids[i], 0, 138, 255, 0.8); // 构件高亮
17
+ model.setComponentFloat(ids[i]); // 构件浮起
18
+ }
19
+ viewer.updateDisplay();
20
+ ```
21
+
22
+
23
+ ## 实例HTML下载
24
+
25
+ 可直接<a :href="$withBase('/demo/构件定位.html')" target="_blank"><b>预览构件定位实例</b></a>
26
+
27
+ 或者复制以下代码保存成html格式打开实例
28
+ ```html{139-140}
29
+ <!DOCTYPE html>
30
+ <html>
31
+
32
+ <head>
33
+ <meta charset="UTF-8">
34
+ <title>构件定位实例</title>
35
+
36
+ <script src="http://120.78.129.125:8111/js/jquery.js"></script>
37
+ <script src="http://120.78.129.125:8111/js/gs.dev.js"></script>
38
+ <script src="http://120.78.129.125:8111/js/longan/longan.js"></script>
39
+ <link href="http://120.78.129.125:8092/demo/plugin/jquery.treemenu.css" rel="stylesheet" type="text/css">
40
+ <script src="http://120.78.129.125:8092/demo/plugin/jquery.treemenu.js"></script>
41
+
42
+ <style>
43
+ .property-box {
44
+ color: #46CFB0;
45
+ margin: auto auto;
46
+ padding: 10px;
47
+ position: absolute;
48
+ right: 20px;
49
+ top: 20px;
50
+ background-color: #2C3E50;
51
+ min-width: 300px;
52
+ height: auto;
53
+ min-height: 50px;
54
+ border-radius: 5px;
55
+ box-shadow: 0 0 10px #555;
56
+ }
57
+
58
+ .property-box .title {
59
+ font-weight: bold;
60
+ }
61
+
62
+ .property-box li {
63
+ list-style: none;
64
+ font-size: 13px;
65
+ }
66
+ </style>
67
+ </head>
68
+
69
+ <body style="margin:0px">
70
+ <div>
71
+ <div id="viewer">
72
+ </div>
73
+ <div class="property-box">
74
+ <div class="title">属性:</div>
75
+ <div class="property-list"></div>
76
+ </div>
77
+ <ul class="tree"></ul>
78
+ </div>
79
+
80
+ <script type="text/javascript">
81
+ alert("点击左边结构树跳转至相应构件")
82
+ let viewer, viewModel, model;
83
+
84
+ GraStoneCloud.DevModule.onReady = function () {
85
+ $("#viewer").css("height", window.innerHeight);
86
+
87
+ $(window).resize(function () {
88
+ $("#viewer").css("height", window.innerHeight);
89
+ });
90
+
91
+ viewer = new GraStoneCloud.DevFx.Viewer("viewer");
92
+ viewer.backgroundColor([0.9, 0.9, 0.9]);
93
+
94
+ viewModel = new GraStoneCloud.DevFx.ViewModel();
95
+
96
+ viewModel.viewer(viewer);
97
+ viewModel.modelServiceHost("120.78.129.125:8111");
98
+
99
+ viewModel.loadModelByPath("3f67fd8baf95428fb25b845909d1c738", "demo.mca");
100
+
101
+ viewer.setViewMode(Longan.ViewMode.Iso, true);
102
+ viewer.updateDisplay();
103
+
104
+ viewer.operatorManager.add(new GraStoneCloud.DevFx.CameraMouse());
105
+
106
+ let componentSelector = new GraStoneCloud.DevFx.ComponentSelector();
107
+ componentSelector.objectSelected.add(function (cs) {
108
+ let id = cs.getComponentId();
109
+ let props = cs.getComponentProperties();
110
+
111
+ $('.property-list').empty();
112
+ let propList = "";
113
+ for (var key in props) {
114
+ propList += '<li><div style="min-width:80px; display:inline-block;">' + key + ":</div>" + props[key] + '</li>';
115
+ }
116
+ $('.property-list').append(propList);
117
+ });
118
+ viewer.operatorManager.add(componentSelector);
119
+
120
+ model = viewModel.findObjectByType("LightModel");
121
+
122
+ model.modelLoaded.add(function (model) {
123
+ let modelStructure = model.getStructure();
124
+
125
+ makeTree(0, [modelStructure]);
126
+ $('.tree').append(menu);
127
+
128
+ $(function () {
129
+ $(".tree").treemenu({ delay: 300 }).openActive();
130
+ });
131
+
132
+ });
133
+ }
134
+
135
+ let menu = "";
136
+ function getParent(key, structure) {
137
+ var parent = [];
138
+ for (var i in structure) {
139
+ if (structure[i].key == key) {
140
+ parent.push(structure[i]);
141
+ }
142
+ }
143
+ return parent;
144
+ }
145
+
146
+ function makeTree(key, structure) {
147
+ var topMenu = structure;
148
+ if (topMenu.length > 0) {
149
+ for (var i in topMenu) {
150
+ menu += `<li><a href="#" onclick="locateComponentClick(${topMenu[i].key})">${topMenu[i].name}</a>`;
151
+ if (topMenu[i].childNodes && topMenu[i].childNodes.length > 0) {
152
+ menu += '<ul>'
153
+ makeTree(topMenu[i].key, topMenu[i].childNodes);
154
+ menu += '</ul></li>'
155
+ }
156
+ }
157
+ }
158
+ }
159
+
160
+ let ids = [];
161
+ function locateComponentClick(key) {
162
+ for (let i = 0; i < ids.length; i++) {
163
+ model.unsetComponentColor(ids[i]);
164
+ model.unsetComponentFloat(ids[i]);
165
+ }
166
+
167
+ ids = model.getComponentIdsByKey(key);
168
+ viewModel.locateComponents(ids); //核心就是这行,定位构件
169
+
170
+ for (let i = 0; i < ids.length; i++) {
171
+ model.setComponentColor(ids[i], 0, 138, 255, 0.8); // 构件变色
172
+ model.setComponentFloat(ids[i]);
173
+ }
174
+ viewer.updateDisplay();
175
+ }
176
+ </script>
177
+ </body>
178
+
179
+ </html>
180
+ ```