w-threejs-vue 1.0.21 → 1.0.22

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 (111) hide show
  1. package/README.md +1 -1
  2. package/dist/w-threejs-vue.umd.js +5 -5
  3. package/dist/w-threejs-vue.umd.js.map +1 -1
  4. package/docs/examples/app.html +1 -1
  5. package/docs/examples/app.umd.js +4 -4
  6. package/docs/examples/app.umd.js.map +1 -1
  7. package/docs/examples/ex-AppAxAxisXGridLineColor.html +1 -1
  8. package/docs/examples/ex-AppAxAxisXGridLineWidth.html +1 -1
  9. package/docs/examples/ex-AppAxAxisXLineColor.html +1 -1
  10. package/docs/examples/ex-AppAxAxisXLineWidth.html +1 -1
  11. package/docs/examples/ex-AppAxAxisXTickLabelColor.html +1 -1
  12. package/docs/examples/ex-AppAxAxisXTickLabelDig.html +1 -1
  13. package/docs/examples/ex-AppAxAxisXTickLabelDistance.html +1 -1
  14. package/docs/examples/ex-AppAxAxisXTickLabelFontFamily.html +1 -1
  15. package/docs/examples/ex-AppAxAxisXTickLabelFontSize.html +1 -1
  16. package/docs/examples/ex-AppAxAxisXTickLineColor.html +1 -1
  17. package/docs/examples/ex-AppAxAxisXTickLineLength.html +1 -1
  18. package/docs/examples/ex-AppAxAxisXTickLineWidth.html +1 -1
  19. package/docs/examples/ex-AppAxAxisXTickNum.html +1 -1
  20. package/docs/examples/ex-AppAxAxisXTitle.html +1 -1
  21. package/docs/examples/ex-AppAxAxisXTitleColor.html +1 -1
  22. package/docs/examples/ex-AppAxAxisXTitleDistance.html +1 -1
  23. package/docs/examples/ex-AppAxAxisXTitleFontFamily.html +1 -1
  24. package/docs/examples/ex-AppAxAxisXTitleFontSize.html +1 -1
  25. package/docs/examples/ex-AppAxAxisYGridLineColor.html +1 -1
  26. package/docs/examples/ex-AppAxAxisYGridLineWidth.html +1 -1
  27. package/docs/examples/ex-AppAxAxisYLineColor.html +1 -1
  28. package/docs/examples/ex-AppAxAxisYLineWidth.html +1 -1
  29. package/docs/examples/ex-AppAxAxisYTickLabelColor.html +1 -1
  30. package/docs/examples/ex-AppAxAxisYTickLabelDig.html +1 -1
  31. package/docs/examples/ex-AppAxAxisYTickLabelDistance.html +1 -1
  32. package/docs/examples/ex-AppAxAxisYTickLabelFontFamily.html +1 -1
  33. package/docs/examples/ex-AppAxAxisYTickLabelFontSize.html +1 -1
  34. package/docs/examples/ex-AppAxAxisYTickLineColor.html +1 -1
  35. package/docs/examples/ex-AppAxAxisYTickLineLength.html +1 -1
  36. package/docs/examples/ex-AppAxAxisYTickLineWidth.html +1 -1
  37. package/docs/examples/ex-AppAxAxisYTickNum.html +1 -1
  38. package/docs/examples/ex-AppAxAxisYTitle.html +1 -1
  39. package/docs/examples/ex-AppAxAxisYTitleColor.html +1 -1
  40. package/docs/examples/ex-AppAxAxisYTitleDistance.html +1 -1
  41. package/docs/examples/ex-AppAxAxisYTitleFontFamily.html +1 -1
  42. package/docs/examples/ex-AppAxAxisYTitleFontSize.html +1 -1
  43. package/docs/examples/ex-AppAxAxisZGridLineColor.html +1 -1
  44. package/docs/examples/ex-AppAxAxisZGridLineWidth.html +1 -1
  45. package/docs/examples/ex-AppAxAxisZLineColor.html +1 -1
  46. package/docs/examples/ex-AppAxAxisZLineWidth.html +1 -1
  47. package/docs/examples/ex-AppAxAxisZTickLabelColor.html +1 -1
  48. package/docs/examples/ex-AppAxAxisZTickLabelDig.html +1 -1
  49. package/docs/examples/ex-AppAxAxisZTickLabelDistance.html +1 -1
  50. package/docs/examples/ex-AppAxAxisZTickLabelFontFamily.html +1 -1
  51. package/docs/examples/ex-AppAxAxisZTickLabelFontSize.html +1 -1
  52. package/docs/examples/ex-AppAxAxisZTickLineColor.html +1 -1
  53. package/docs/examples/ex-AppAxAxisZTickLineLength.html +1 -1
  54. package/docs/examples/ex-AppAxAxisZTickLineWidth.html +1 -1
  55. package/docs/examples/ex-AppAxAxisZTickNum.html +1 -1
  56. package/docs/examples/ex-AppAxAxisZTitle.html +1 -1
  57. package/docs/examples/ex-AppAxAxisZTitleColor.html +1 -1
  58. package/docs/examples/ex-AppAxAxisZTitleDistance.html +1 -1
  59. package/docs/examples/ex-AppAxAxisZTitleFontFamily.html +1 -1
  60. package/docs/examples/ex-AppAxAxisZTitleFontSize.html +1 -1
  61. package/docs/examples/ex-AppBasicAutoRotateDeg.html +1 -1
  62. package/docs/examples/ex-AppBasicBackgroundColor.html +1 -1
  63. package/docs/examples/ex-AppBasicSize.html +1 -1
  64. package/docs/examples/ex-AppBasicUpload.html +1 -1
  65. package/docs/examples/ex-AppBasicUseAutoRotate.html +1 -1
  66. package/docs/examples/ex-AppCmCameraFar.html +1 -1
  67. package/docs/examples/ex-AppCmCameraFov.html +1 -1
  68. package/docs/examples/ex-AppCmCameraNear.html +1 -1
  69. package/docs/examples/ex-AppCmCameraOrthographicRatio.html +1 -1
  70. package/docs/examples/ex-AppCmCameraType.html +1 -1
  71. package/docs/examples/ex-AppCmGetCameraViewAngle.html +1 -1
  72. package/docs/examples/ex-AppCmSetCameraAzimuthAngle.html +1 -1
  73. package/docs/examples/ex-AppCmSetCameraPolarAngle.html +1 -1
  74. package/docs/examples/ex-AppCmSetCameraViewAngle.html +1 -1
  75. package/docs/examples/ex-AppHpHelperAxesLengthRatio.html +1 -1
  76. package/docs/examples/ex-AppHpHelperGridDensity.html +1 -1
  77. package/docs/examples/ex-AppHpHelperGridLengthRatio.html +1 -1
  78. package/docs/examples/ex-AppHpHelperGridPositionRatioZ.html +1 -1
  79. package/docs/examples/ex-AppHpUseHelperAxes.html +1 -1
  80. package/docs/examples/ex-AppHpUseHelperGrid.html +1 -1
  81. package/docs/examples/ex-AppLgLegendBackgroundColor.html +1 -1
  82. package/docs/examples/ex-AppLgLegendHeight.html +1 -1
  83. package/docs/examples/ex-AppLgLegendHeightMax.html +1 -1
  84. package/docs/examples/ex-AppLtLightAmbientColor.html +1 -1
  85. package/docs/examples/ex-AppLtLightDirectionColor.html +1 -1
  86. package/docs/examples/ex-AppLtLightDirectionIntensity.html +1 -1
  87. package/docs/examples/ex-AppLtLightDirectionPos.html +1 -1
  88. package/docs/examples/ex-AppLtLightPointColor.html +1 -1
  89. package/docs/examples/ex-AppLtLightPointDecay.html +1 -1
  90. package/docs/examples/ex-AppLtLightPointDistance.html +1 -1
  91. package/docs/examples/ex-AppLtLightPointIntensity.html +1 -1
  92. package/docs/examples/ex-AppLtLightPointPoss.html +1 -1
  93. package/docs/examples/ex-AppLtUseLightAmbient.html +1 -1
  94. package/docs/examples/ex-AppLtUseLightDirection.html +1 -1
  95. package/docs/examples/ex-AppLtUseLightPoint.html +1 -1
  96. package/docs/examples/ex-AppMhGetMeshsInfor.html +1 -1
  97. package/docs/examples/ex-AppMhSetMeshColor.html +1 -1
  98. package/docs/examples/ex-AppMhSetMeshLabelText.html +1 -1
  99. package/docs/examples/ex-AppMhSetMeshLabelTextColor.html +1 -1
  100. package/docs/examples/ex-AppMhSetMeshLabelTextFontFamily.html +1 -1
  101. package/docs/examples/ex-AppMhSetMeshLabelTextFontSize.html +1 -1
  102. package/docs/examples/ex-AppMhSetMeshLabelVisible.html +1 -1
  103. package/docs/examples/ex-AppMhSetMeshVisible.html +1 -1
  104. package/docs/examples/ex-AppMhUseAxis.html +1 -1
  105. package/docs/examples/ex-AppMuMenuIcons.html +1 -1
  106. package/docs/examples/ex-AppMuMenuTooltips.html +1 -1
  107. package/docs/index.html +1 -1
  108. package/docs/module-WThreejsVue.html +1 -1
  109. package/package.json +1 -1
  110. package/src/components/WThreejsVue.vue +7 -0
  111. package/src/js/plot3d.mjs +91 -0
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-threejs-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.21/dist/w-threejs-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-threejs-vue@1.0.22/dist/w-threejs-vue.umd.js"></script>
47
47
 
48
48
  <!-- lodash -->
49
49
  <script src="https://cdn.jsdelivr.net/npm/lodash/lodash.min.js"></script>
package/docs/index.html CHANGED
@@ -71,7 +71,7 @@
71
71
  <br class="clear">
72
72
 
73
73
  <footer>
74
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Mon Jun 29 2026 10:24:53 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
74
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Mon Jun 29 2026 21:02:27 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
75
75
  </footer>
76
76
 
77
77
  <script>prettyPrint();</script>
@@ -1689,7 +1689,7 @@
1689
1689
  <br class="clear">
1690
1690
 
1691
1691
  <footer>
1692
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Mon Jun 29 2026 10:24:53 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1692
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Mon Jun 29 2026 21:02:27 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1693
1693
  </footer>
1694
1694
 
1695
1695
  <script>prettyPrint();</script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-threejs-vue",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "main": "dist/w-threejs-vue.umd.js",
5
5
  "dependencies": {
6
6
  "@kitware/vtk.js": "^36.2.1",
@@ -1158,6 +1158,13 @@ export default {
1158
1158
  // console.log('config-change')
1159
1159
  vo.refreshControlState()
1160
1160
  })
1161
+ ev.on('click-mesh', (msg) => {
1162
+ if (vo.disposed || nid !== vo.nidInit) {
1163
+ return
1164
+ }
1165
+ // console.log('click-mesh', msg)
1166
+ vo.$emit('click-mesh', msg)
1167
+ })
1161
1168
 
1162
1169
  //check
1163
1170
  if (isfun(ev.getReady) && ev.getReady()) {
package/src/js/plot3d.mjs CHANGED
@@ -2780,6 +2780,9 @@ async function plot3d(items, opt = {}) {
2780
2780
  //stop
2781
2781
  stop = true
2782
2782
 
2783
+ //disposePick(移除點擊偵測監聽)
2784
+ disposePick()
2785
+
2783
2786
  //disposeGroup
2784
2787
  disposeGroup(scene, group)
2785
2788
 
@@ -2895,6 +2898,94 @@ async function plot3d(items, opt = {}) {
2895
2898
 
2896
2899
  }
2897
2900
 
2901
+ //mesh pick(點擊物件偵測, 命中對象泛稱target, 可能為Mesh/Points/Line等)
2902
+ let raycaster = new THREE.Raycaster()
2903
+ let pickPointerDown = null //pointerdown起點, 用於辨別click與drag
2904
+ let pickDomTarget = rendererLabels.domElement //與controls同層, 接收指標事件
2905
+ let findMeshIndexByObject = (obj) => {
2906
+ let o = obj
2907
+ while (o) {
2908
+ let ind = meshs.indexOf(o)
2909
+ if (ind >= 0) {
2910
+ return ind
2911
+ }
2912
+ o = o.parent
2913
+ }
2914
+ return -1
2915
+ }
2916
+ let onPickPointerDown = (e) => {
2917
+ pickPointerDown = { x: e.clientX, y: e.clientY }
2918
+ }
2919
+ let onPickPointerCancel = () => {
2920
+ pickPointerDown = null //指標取消時清空起點, 避免下次pointerup誤判
2921
+ }
2922
+ let onPickPointerUp = (e) => {
2923
+
2924
+ //check
2925
+ if (disposed || camera === null || renderer === null) {
2926
+ return
2927
+ }
2928
+ if (pickPointerDown === null) {
2929
+ return
2930
+ }
2931
+
2932
+ //辨別click與drag(移動量過大視為拖曳, 不觸發點擊)
2933
+ let dx = e.clientX - pickPointerDown.x
2934
+ let dy = e.clientY - pickPointerDown.y
2935
+ pickPointerDown = null
2936
+ if (Math.sqrt(dx * dx + dy * dy) > 5) {
2937
+ return
2938
+ }
2939
+
2940
+ //ndc, 以webgl canvas為基準計算正規化座標
2941
+ let rect = renderer.domElement.getBoundingClientRect()
2942
+ if (rect.width === 0 || rect.height === 0) {
2943
+ return
2944
+ }
2945
+ let ndc = {
2946
+ x: ((e.clientX - rect.left) / rect.width) * 2 - 1,
2947
+ y: -((e.clientY - rect.top) / rect.height) * 2 + 1,
2948
+ }
2949
+
2950
+ //raycast(隱藏mesh由three自動略過)
2951
+ raycaster.setFromCamera(ndc, camera)
2952
+ let intersects = raycaster.intersectObjects(meshs, true)
2953
+ if (size(intersects) === 0) {
2954
+ return
2955
+ }
2956
+
2957
+ //ind
2958
+ let it = intersects[0]
2959
+ let ind = findMeshIndexByObject(it.object)
2960
+ if (ind < 0) {
2961
+ return
2962
+ }
2963
+
2964
+ //target, 被點擊命中的物件
2965
+ let target = get(meshs, ind)
2966
+
2967
+ //emit
2968
+ ev.emit('click-mesh', {
2969
+ index: ind,
2970
+ name: get(target, 'name', ''),
2971
+ color: get(target, 'color', ''),
2972
+ visible: get(target, 'visible', true),
2973
+ point: { x: it.point.x, y: it.point.y, z: it.point.z },
2974
+ })
2975
+
2976
+ }
2977
+ pickDomTarget.addEventListener('pointerdown', onPickPointerDown)
2978
+ pickDomTarget.addEventListener('pointerup', onPickPointerUp)
2979
+ pickDomTarget.addEventListener('pointercancel', onPickPointerCancel)
2980
+ let disposePick = () => {
2981
+ if (pickDomTarget) {
2982
+ pickDomTarget.removeEventListener('pointerdown', onPickPointerDown)
2983
+ pickDomTarget.removeEventListener('pointerup', onPickPointerUp)
2984
+ pickDomTarget.removeEventListener('pointercancel', onPickPointerCancel)
2985
+ pickDomTarget = null
2986
+ }
2987
+ }
2988
+
2898
2989
  //save
2899
2990
  ev.render = render
2900
2991
  ev.resize = resize