toolManager: fixed annotate tool issues and added Text Marker Tool (importing callback functions from Nucleus) and using Metadata classes for OHIF Viewer
This commit is contained in:
1 parent
014dc7730f
commit
a8626d02c0
24 files changed
+516
-242
No files matched your search
@@ -7,7 +7,13 @@ import { getWADORSImageId } from './getWADORSImageId';
|
||||
* @param instance
|
||||
* @returns {string} The imageId to be used by Cornerstone
|
||||
*/
|
||||
export function getImageId(instance, frame) {
|
||||
export function getImageId(instanceMetadata, frame) {
|
||||
if (!instanceMetadata) {
|
||||
return;
|
||||
}
|
||||
|
||||
const instance = instanceMetadata.getData();
|
||||
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user