- Rename lesion tool as bidirectional tool
- Remove measurementType property and use toolType property in the parts that uses measurementType - Add toolType in syncMeasurementAndToolData method - Hide Convert to Non-Target option in lesionLocationDialog for CRUNEX tools
This commit is contained in:
1 parent
0b6776f777
commit
b51628cc9f
16 files changed
+60
-45
No files matched your search
+9
-1
@@ -115,6 +115,14 @@ changeLesionLocationCallback = function(measurementData, eventData, doneCallback
|
||||
|
||||
// Get the lesion location dialog
|
||||
var dialog = $('#lesionLocationRelabelDialog');
|
||||
|
||||
// Show/Hide Convert To NonTarget option in lesionLocationRelabelDialog
|
||||
if (measurementData.toolType === 'bidirectional') {
|
||||
dialog.find("#convertToNonTarget").css("visibility", "visible");
|
||||
} else {
|
||||
dialog.find("#convertToNonTarget").css("visibility", "hidden");
|
||||
}
|
||||
|
||||
Template.lesionLocationDialog.dialog = dialog;
|
||||
|
||||
// Show the backdrop
|
||||
@@ -183,7 +191,7 @@ var config = {
|
||||
changeLesionLocationCallback: changeLesionLocationCallback
|
||||
};
|
||||
|
||||
cornerstoneTools.lesion.setConfiguration(config);
|
||||
cornerstoneTools.bidirectional.setConfiguration(config);
|
||||
|
||||
// Set CR-Tool, UN-Tool, EX-Tool configurations
|
||||
// Config for CR Tool
|
||||
|
||||
Reference in new issue
Block a user