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
@@ -30,7 +30,7 @@ OHIF.lesiontracker.openNewTabWithTimepoint = (timepointId, title) => {
|
||||
// Update the ViewerData global object
|
||||
ViewerData[contentId] = {
|
||||
title: title,
|
||||
contentid: contentId,
|
||||
contentId: contentId,
|
||||
studyInstanceUids: data.studyInstanceUids,
|
||||
timepointIds: data.timepointIds,
|
||||
currentTimepointId: timepointId
|
||||
|
||||
@@ -42,18 +42,18 @@ function dblClickOnStudy(data) {
|
||||
* @param title The title to be used for the tab heading
|
||||
*/
|
||||
function open(studyInstanceUid, title) {
|
||||
const contentid = 'viewerTab';
|
||||
const contentId = 'viewerTab';
|
||||
|
||||
ViewerData = window.ViewerData || ViewerData;
|
||||
|
||||
// Update the ViewerData global object
|
||||
ViewerData[contentid] = {
|
||||
ViewerData[contentId] = {
|
||||
title: title,
|
||||
contentid: contentid,
|
||||
contentId: contentId,
|
||||
isUnassociatedStudy: true,
|
||||
studyInstanceUids: [studyInstanceUid]
|
||||
};
|
||||
|
||||
// Switch to the new tab
|
||||
switchToTab(contentid);
|
||||
switchToTab(contentId);
|
||||
}
|
||||
Reference in new issue
Block a user