- 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:
Aysel Afsar committed 2016-03-04 19:03:16 -05:00
1 parent 0b6776f777
commit b51628cc9f
16 files changed
+60 -45

No files matched your search

@@ -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