From c6b6ab5baa79cc1f2da18e1eccf2cc64a2b7848f Mon Sep 17 00:00:00 2001 From: Joe Boccanfuso <109477394+jbocce@users.noreply.github.com> Date: Tue, 28 Mar 2023 15:48:03 -0400 Subject: [PATCH] fix(VolumeViewport3D): implemented getCurrentImageId method (#529) --- common/reviews/api/core.api.md | 2 ++ packages/core/src/RenderingEngine/VolumeViewport3D.ts | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/common/reviews/api/core.api.md b/common/reviews/api/core.api.md index 41b0a31dcd..edb52f8aff 100644 --- a/common/reviews/api/core.api.md +++ b/common/reviews/api/core.api.md @@ -2657,6 +2657,8 @@ export class VolumeViewport extends BaseVolumeViewport { export class VolumeViewport3D extends BaseVolumeViewport { constructor(props: ViewportInput); // (undocumented) + getCurrentImageId: () => string; + // (undocumented) getCurrentImageIdIndex: () => number | undefined; // (undocumented) getRotation: () => number; diff --git a/packages/core/src/RenderingEngine/VolumeViewport3D.ts b/packages/core/src/RenderingEngine/VolumeViewport3D.ts index 71b50e47b2..c8a473fad0 100644 --- a/packages/core/src/RenderingEngine/VolumeViewport3D.ts +++ b/packages/core/src/RenderingEngine/VolumeViewport3D.ts @@ -41,6 +41,10 @@ class VolumeViewport3D extends BaseVolumeViewport { public getCurrentImageIdIndex = (): number | undefined => { return undefined; }; + + public getCurrentImageId = (): string => { + return null; + }; } export default VolumeViewport3D;