hellfire 0.21.0 → 0.21.1
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/CHANGELOG.md +4 -0
- package/dist/index.js +13 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/favicon.ico +0 -0
- package/dist/index.html +0 -32
- package/dist/v0.17.0-48-g2af8edc/main-127b2bcbb34c79b7e4c0.js +0 -2238
- package/dist/v0.17.0-48-g2af8edc/main127b2bcbb34c79b7e4c0.css +0 -1813
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.21.1](http://10.16.100.57/diffusion/115/paladin/compare/v0.21.0...v0.21.1) (2022-06-22)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
# [0.21.0](http://10.16.100.57/diffusion/115/paladin/compare/v0.20.7...v0.21.0) (2022-06-21)
|
|
6
10
|
|
|
7
11
|
|
package/dist/index.js
CHANGED
|
@@ -14184,7 +14184,7 @@ var ImageProcessorWorkerBase = /*#__PURE__*/function () {
|
|
|
14184
14184
|
if (param.images.length <= 3) throw new LoadImageException("序列影像数不能少于3张");
|
|
14185
14185
|
var logger = new RuntimeLogger(this.loadImages.name);
|
|
14186
14186
|
this.init(param);
|
|
14187
|
-
this.loadImagesInternal(ImageProcessorWorkerBase.converToImageModel(param.images));
|
|
14187
|
+
this.loadImagesInternal(ImageProcessorWorkerBase.converToImageModel(param.images), param);
|
|
14188
14188
|
logger.dispose();
|
|
14189
14189
|
} catch (err) {
|
|
14190
14190
|
if (err instanceof ImageProcessExceptionBase) console.log(err.message);
|
|
@@ -14303,7 +14303,7 @@ var ImageProcessorWorkerBase = /*#__PURE__*/function () {
|
|
|
14303
14303
|
|
|
14304
14304
|
}, {
|
|
14305
14305
|
key: "loadImagesInternal",
|
|
14306
|
-
value: function loadImagesInternal(images) {// 子集需要各自实现的方法
|
|
14306
|
+
value: function loadImagesInternal(images, param) {// 子集需要各自实现的方法
|
|
14307
14307
|
}
|
|
14308
14308
|
}, {
|
|
14309
14309
|
key: "rocessInternal",
|
|
@@ -20574,7 +20574,7 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
20574
20574
|
_this.actionParameter = new MipActionParameterImpl({
|
|
20575
20575
|
messageGroupId: _this.messageGroupId,
|
|
20576
20576
|
reconstructMethodType: reconstructMethodType,
|
|
20577
|
-
sampleDistance: 0.
|
|
20577
|
+
sampleDistance: 0.35,
|
|
20578
20578
|
mouseActionMode: InteractorStyleActionMode.WindowLevel
|
|
20579
20579
|
});
|
|
20580
20580
|
} else {
|
|
@@ -20704,7 +20704,7 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
20704
20704
|
}, {
|
|
20705
20705
|
key: "loadImagesInternal",
|
|
20706
20706
|
value: function () {
|
|
20707
|
-
var _loadImagesInternal = asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(images) {
|
|
20707
|
+
var _loadImagesInternal = asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(images, param) {
|
|
20708
20708
|
var imagesT, lastImage;
|
|
20709
20709
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
20710
20710
|
while (1) {
|
|
@@ -20733,7 +20733,11 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
20733
20733
|
this.renderer.getActiveCameraAndResetIfCreated();
|
|
20734
20734
|
this.activeCamera = this.renderer.getActiveCamera(); //this.renderer.createLight();
|
|
20735
20735
|
|
|
20736
|
-
this.activeCamera.setParallelProjection(true);
|
|
20736
|
+
this.activeCamera.setParallelProjection(true);
|
|
20737
|
+
|
|
20738
|
+
if (param.viewportSize) {
|
|
20739
|
+
this.activeCamera.zoom(param.viewportSize);
|
|
20740
|
+
}
|
|
20737
20741
|
|
|
20738
20742
|
this.renderer.updateLightsGeometryToFollowCamera();
|
|
20739
20743
|
this.imageViewDirectionParam = computeImageViewDirection(this.firstImageMatrix);
|
|
@@ -20756,7 +20760,7 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
20756
20760
|
}, _callee2, this);
|
|
20757
20761
|
}));
|
|
20758
20762
|
|
|
20759
|
-
function loadImagesInternal(_x) {
|
|
20763
|
+
function loadImagesInternal(_x, _x2) {
|
|
20760
20764
|
return _loadImagesInternal.apply(this, arguments);
|
|
20761
20765
|
}
|
|
20762
20766
|
|
|
@@ -20796,7 +20800,7 @@ var MipImageProcessorWorkerImpl = /*#__PURE__*/function (_ImageProcessorWorker)
|
|
|
20796
20800
|
}, _callee3, this);
|
|
20797
20801
|
}));
|
|
20798
20802
|
|
|
20799
|
-
function processInternal(
|
|
20803
|
+
function processInternal(_x3) {
|
|
20800
20804
|
return _processInternal.apply(this, arguments);
|
|
20801
20805
|
}
|
|
20802
20806
|
|
|
@@ -54362,7 +54366,8 @@ var MIPLayout = /*#__PURE__*/function (_Component) {
|
|
|
54362
54366
|
return _default$s.getAndCacheWorker(currentSeries.seriesInstanceUID, ImageProcessType.MIP, {
|
|
54363
54367
|
images: instanceImages,
|
|
54364
54368
|
container: document.getElementById('mipContainer'),
|
|
54365
|
-
reconstructMethodType: ReconstructMethodType.MIP
|
|
54369
|
+
reconstructMethodType: ReconstructMethodType.MIP,
|
|
54370
|
+
viewportSize: 1.5
|
|
54366
54371
|
});
|
|
54367
54372
|
|
|
54368
54373
|
case 3:
|