Skip to content

Commit

Permalink
fix(VolumeViewport3D): implemented getCurrentImageId method (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbocce authored Mar 28, 2023
1 parent 0eec4b3 commit c6b6ab5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/reviews/api/core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/RenderingEngine/VolumeViewport3D.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ class VolumeViewport3D extends BaseVolumeViewport {
public getCurrentImageIdIndex = (): number | undefined => {
return undefined;
};

public getCurrentImageId = (): string => {
return null;
};
}

export default VolumeViewport3D;

0 comments on commit c6b6ab5

Please sign in to comment.