@ohif/extension-cornerstone 3.14.0-beta.114 → 3.14.0-beta.115

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohif/extension-cornerstone",
3
- "version": "3.14.0-beta.114",
3
+ "version": "3.14.0-beta.115",
4
4
  "description": "OHIF extension for Cornerstone",
5
5
  "author": "OHIF",
6
6
  "license": "MIT",
@@ -36,9 +36,9 @@
36
36
  "@cornerstonejs/codec-openjpeg": "1.3.2",
37
37
  "@cornerstonejs/codec-openjph": "2.4.9",
38
38
  "@cornerstonejs/dicom-image-loader": "5.19.7",
39
- "@ohif/core": "3.14.0-beta.114",
40
- "@ohif/extension-default": "3.14.0-beta.114",
41
- "@ohif/ui-next": "3.14.0-beta.114",
39
+ "@ohif/core": "3.14.0-beta.115",
40
+ "@ohif/extension-default": "3.14.0-beta.115",
41
+ "@ohif/ui-next": "3.14.0-beta.115",
42
42
  "dcmjs": "0.52.0",
43
43
  "dicom-parser": "1.8.21",
44
44
  "hammerjs": "2.0.8",
@@ -525,15 +525,17 @@ export class NextViewportBackend implements IViewportBackend {
525
525
  presentationProps.colormap = props.colormap;
526
526
  }
527
527
  // Slab/blend for projection viewports (e.g. the TMTV MIP pane: blendMode
528
- // 'MIP' + slabThickness 'fullVolume'). The native volume-slice render path
529
- // maps blendMode -> reslice SlabType (MAX/MIN/MEAN) and applies the slab
530
- // thickness on the reslice mapper; without them the mapper renders a single
531
- // slice instead of a projection. 3D volume rendering derives its look from
532
- // the preset, not a slab, so this is planar-only. blendMode was already
533
- // normalized from the HP string ('MIP') to a BlendModes enum by
528
+ // 'MIP' + slabThickness 'fullVolume'). blendMode is per-display-set data
529
+ // presentation for both paths: the native volume-slice render path maps it
530
+ // to the reslice SlabType (MAX/MIN/MEAN), and the native 3D render path
531
+ // applies it as the volume mapper blend mode (e.g. a full-volume MIP).
532
+ // slabThickness stays planar-only: the planar reslice mapper needs it to
533
+ // render a projection instead of a single slice, while a 3D ray cast
534
+ // already traverses the whole volume. blendMode was already normalized
535
+ // from the HP string ('MIP') to a BlendModes enum by
534
536
  // ViewportInfo.mapDisplaySetOptions, and slabThickness was resolved to a
535
537
  // number by _getSlabThickness ('fullVolume' -> volume diagonal).
536
- if (!is3D && volumeInput.blendMode !== undefined) {
538
+ if (volumeInput.blendMode !== undefined) {
537
539
  presentationProps.blendMode = volumeInput.blendMode;
538
540
  }
539
541
  if (!is3D && volumeInput.slabThickness !== undefined) {