@cornerstonejs/core 0.36.4 → 0.36.5
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/dist/cjs/RenderingEngine/VolumeViewport3D.d.ts +1 -0
- package/dist/cjs/RenderingEngine/VolumeViewport3D.js +3 -0
- package/dist/cjs/RenderingEngine/VolumeViewport3D.js.map +1 -1
- package/dist/esm/RenderingEngine/VolumeViewport3D.d.ts +1 -0
- package/dist/esm/RenderingEngine/VolumeViewport3D.js +3 -0
- package/dist/esm/RenderingEngine/VolumeViewport3D.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +2 -2
- package/src/RenderingEngine/VolumeViewport3D.ts +4 -0
|
@@ -4,5 +4,6 @@ declare class VolumeViewport3D extends BaseVolumeViewport {
|
|
|
4
4
|
constructor(props: ViewportInput);
|
|
5
5
|
resetCamera(resetPan?: boolean, resetZoom?: boolean, resetToCenter?: boolean): boolean;
|
|
6
6
|
getRotation: () => number;
|
|
7
|
+
getCurrentImageIdIndex: () => number | undefined;
|
|
7
8
|
}
|
|
8
9
|
export default VolumeViewport3D;
|
|
@@ -9,6 +9,9 @@ class VolumeViewport3D extends BaseVolumeViewport_1.default {
|
|
|
9
9
|
constructor(props) {
|
|
10
10
|
super(props);
|
|
11
11
|
this.getRotation = () => 0;
|
|
12
|
+
this.getCurrentImageIdIndex = () => {
|
|
13
|
+
return undefined;
|
|
14
|
+
};
|
|
12
15
|
const { parallelProjection, orientation } = this.options;
|
|
13
16
|
const activeCamera = this.getVtkActiveCamera();
|
|
14
17
|
if (parallelProjection != null) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumeViewport3D.js","sourceRoot":"","sources":["../../../src/RenderingEngine/VolumeViewport3D.ts"],"names":[],"mappings":";;;;;AAAA,oCAA2C;AAE3C,8EAAsD;AAStD,MAAM,gBAAiB,SAAQ,4BAAkB;IAC/C,YAAY,KAAoB;QAC9B,KAAK,CAAC,KAAK,CAAC,CAAC;QAyBf,gBAAW,GAAG,GAAW,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"VolumeViewport3D.js","sourceRoot":"","sources":["../../../src/RenderingEngine/VolumeViewport3D.ts"],"names":[],"mappings":";;;;;AAAA,oCAA2C;AAE3C,8EAAsD;AAStD,MAAM,gBAAiB,SAAQ,4BAAkB;IAC/C,YAAY,KAAoB;QAC9B,KAAK,CAAC,KAAK,CAAC,CAAC;QAyBf,gBAAW,GAAG,GAAW,EAAE,CAAC,CAAC,CAAC;QAEvB,2BAAsB,GAAG,GAAuB,EAAE;YACvD,OAAO,SAAS,CAAC;QACnB,CAAC,CAAC;QA3BA,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;QAEzD,MAAM,YAAY,GAAG,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAE/C,IAAI,kBAAkB,IAAI,IAAI,EAAE;YAC9B,YAAY,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,CAAC;SACxD;QAED,IAAI,WAAW,IAAI,WAAW,KAAK,uBAAe,CAAC,WAAW,EAAE;YAC9D,IAAI,CAAC,oBAAoB,CAAC,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IAEM,WAAW,CAChB,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,IAAI,EAChB,aAAa,GAAG,IAAI;QAEpB,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;QACtD,IAAI,CAAC,gCAAgC,EAAE,CAAC;QACxC,OAAO;IACT,CAAC;CAOF;AAED,kBAAe,gBAAgB,CAAC"}
|
|
@@ -4,5 +4,6 @@ declare class VolumeViewport3D extends BaseVolumeViewport {
|
|
|
4
4
|
constructor(props: ViewportInput);
|
|
5
5
|
resetCamera(resetPan?: boolean, resetZoom?: boolean, resetToCenter?: boolean): boolean;
|
|
6
6
|
getRotation: () => number;
|
|
7
|
+
getCurrentImageIdIndex: () => number | undefined;
|
|
7
8
|
}
|
|
8
9
|
export default VolumeViewport3D;
|
|
@@ -4,6 +4,9 @@ class VolumeViewport3D extends BaseVolumeViewport {
|
|
|
4
4
|
constructor(props) {
|
|
5
5
|
super(props);
|
|
6
6
|
this.getRotation = () => 0;
|
|
7
|
+
this.getCurrentImageIdIndex = () => {
|
|
8
|
+
return undefined;
|
|
9
|
+
};
|
|
7
10
|
const { parallelProjection, orientation } = this.options;
|
|
8
11
|
const activeCamera = this.getVtkActiveCamera();
|
|
9
12
|
if (parallelProjection != null) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VolumeViewport3D.js","sourceRoot":"","sources":["../../../src/RenderingEngine/VolumeViewport3D.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAStD,MAAM,gBAAiB,SAAQ,kBAAkB;IAC/C,YAAY,KAAoB;QAC9B,KAAK,CAAC,KAAK,CAAC,CAAC;QAyBf,gBAAW,GAAG,GAAW,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"VolumeViewport3D.js","sourceRoot":"","sources":["../../../src/RenderingEngine/VolumeViewport3D.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAStD,MAAM,gBAAiB,SAAQ,kBAAkB;IAC/C,YAAY,KAAoB;QAC9B,KAAK,CAAC,KAAK,CAAC,CAAC;QAyBf,gBAAW,GAAG,GAAW,EAAE,CAAC,CAAC,CAAC;QAEvB,2BAAsB,GAAG,GAAuB,EAAE;YACvD,OAAO,SAAS,CAAC;QACnB,CAAC,CAAC;QA3BA,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;QAEzD,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