|
@@ -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_;
|