@cornerstonejs/tools 2.2.11 → 2.2.13

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.
@@ -115,7 +115,7 @@ export default class SegmentationStateManager {
115
115
  type,
116
116
  active: true,
117
117
  visible: true,
118
- colorLUTIndex: 0,
118
+ colorLUTIndex: renderingConfig?.colorLUTIndex || 0,
119
119
  segments: segmentReps,
120
120
  config: {
121
121
  ...getDefaultRenderingConfig(type),
@@ -34,6 +34,7 @@ export type Segmentation = {
34
34
  export type LabelmapRenderingConfig = {
35
35
  cfun: vtkColorTransferFunction;
36
36
  ofun: vtkPiecewiseFunction;
37
+ colorLUTIndex: number;
37
38
  };
38
39
  export type ContourRenderingConfig = {};
39
40
  export type SurfaceRenderingConfig = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "2.2.11",
3
+ "version": "2.2.13",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "types": "./dist/esm/index.d.ts",
6
6
  "module": "./dist/esm/index.js",
@@ -104,8 +104,8 @@
104
104
  "canvas": "^2.11.2"
105
105
  },
106
106
  "peerDependencies": {
107
- "@cornerstonejs/core": "^2.2.11",
108
- "@kitware/vtk.js": "32.1.0",
107
+ "@cornerstonejs/core": "^2.2.13",
108
+ "@kitware/vtk.js": "32.1.1",
109
109
  "@types/d3-array": "^3.0.4",
110
110
  "@types/d3-interpolate": "^3.0.1",
111
111
  "d3-array": "^3.2.3",
@@ -123,5 +123,5 @@
123
123
  "type": "individual",
124
124
  "url": "https://ohif.org/donate"
125
125
  },
126
- "gitHead": "4801e79796b659e5baa2806bf882ed2b7bb127b0"
126
+ "gitHead": "78a3af00e3721da5cc617953afc461e4719a82cc"
127
127
  }