@cornerstonejs/core 0.37.0 → 0.38.0

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": "@cornerstonejs/core",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "",
5
5
  "main": "dist/umd/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -51,5 +51,5 @@
51
51
  "type": "individual",
52
52
  "url": "https://ohif.org/donate"
53
53
  },
54
- "gitHead": "1e40104275742f14a7a48b076f244610f90e8657"
54
+ "gitHead": "9a2711ca032949079e7b96ba332b6e01b3316da8"
55
55
  }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * DynamicOperatorType enum for cornerstone-render which defines the operator to use for generateImageFromTimeData.
3
+ * It can be either SUM, AVERAGE or SUBTRACT.
4
+ */
5
+ enum DynamicOperatorType {
6
+ /** For summing the time frames. */
7
+ SUM = 'SUM',
8
+ /** For averaging the time frames. */
9
+ AVERAGE = 'AVERAGE',
10
+ /** For subtracting two time frames */
11
+ SUBTRACT = 'SUBTRACT',
12
+ }
13
+
14
+ export default DynamicOperatorType;
@@ -8,6 +8,7 @@ import SharedArrayBufferModes from './SharedArrayBufferModes';
8
8
  import GeometryType from './GeometryType';
9
9
  import ContourType from './ContourType';
10
10
  import VOILUTFunctionType from './VOILUTFunctionType';
11
+ import DynamicOperatorType from './DynamicOperatorType';
11
12
 
12
13
  export {
13
14
  Events,
@@ -20,4 +21,5 @@ export {
20
21
  GeometryType,
21
22
  ContourType,
22
23
  VOILUTFunctionType,
24
+ DynamicOperatorType,
23
25
  };