xzw vor 3 Jahren
Ursprung
Commit
c4394e186b
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 4 3
      main.js

+ 4 - 3
main.js

@@ -208535,11 +208535,12 @@ and limitations under the License.
                         id: t.id,
                         matrix: this.getTransformationMatrix(t); 
                     } 
-                }) 
-                file_extension: this.selectedExtension
+                }) ,
+                aabb: "b-0.5 -0.5 -0.5 0.5 0.5 0.5" //剪裁空间( 所有点在乘上这个矩阵后, 还能落在 1 * 1 * 1的box内的点就是所裁剪的
+               
             }
         }
-       t.prototype.getTransformationMatrix = function(t) {//点云截取   所有点在乘上这个矩阵后, 还能落在 1 * 1 * 1的box内的点就是所裁剪的
+       t.prototype.getTransformationMatrix = function(t) {//点云截取   
            var e = this.ViewService.mainView.getVolumeClippingLayer().getBoxFrame()
              , n = (new o.Matrix4).getInverse(e.matrixWorld)
              , i = t.m2w_;