@ohif/extension-cornerstone 3.14.0-beta.125 → 3.14.0-beta.127

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.125",
3
+ "version": "3.14.0-beta.127",
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.27.2",
39
- "@ohif/core": "3.14.0-beta.125",
40
- "@ohif/extension-default": "3.14.0-beta.125",
41
- "@ohif/ui-next": "3.14.0-beta.125",
39
+ "@ohif/core": "3.14.0-beta.127",
40
+ "@ohif/extension-default": "3.14.0-beta.127",
41
+ "@ohif/ui-next": "3.14.0-beta.127",
42
42
  "dcmjs": "1.1.0",
43
43
  "dicom-parser": "1.8.21",
44
44
  "hammerjs": "2.0.8",
@@ -198,6 +198,34 @@ function getToolGroupToolsCustomization({ commandsManager }) {
198
198
  { toolName: toolNames.LivewireContour },
199
199
  ],
200
200
  },
201
+
202
+ /**
203
+ * The orientation cube for the `volume3d` tool group. No mode enables it by
204
+ * default (the 3D compass replaces it); `?customization=orientationController`
205
+ * adds it. CS3D 5.23.0 throws with this tool on generic ("next") 3D viewports.
206
+ */
207
+ 'cornerstone.orientationControllerTools': {
208
+ enabled: [
209
+ {
210
+ toolName: toolNames.OrientationController,
211
+ configuration: {
212
+ faceColors: {
213
+ topBottom: [173, 202, 240], // --neutral-light
214
+ frontBack: [173, 202, 240],
215
+ leftRight: [173, 202, 240],
216
+ },
217
+ letterColorScheme: 'black',
218
+ edgeColor: [127, 148, 173], // --neutral
219
+ cornerColor: [127, 148, 173],
220
+ highlightColor: [53, 140, 253], // --primary
221
+ restingAmbient: 0.65,
222
+ hoverAmbient: 1.0,
223
+ keepOrientationUp: true,
224
+ size: 0.028,
225
+ },
226
+ },
227
+ ],
228
+ },
201
229
  };
202
230
  }
203
231