Updated with Aysel's LesionTracker changes

This commit is contained in:
Erik Ziegler committed 2015-10-20 16:23:32 +02:00
1 parent f7e6bee94f
commit 3e483cb7a9
13 files changed
+193 -40

No files matched your search

@@ -22,7 +22,7 @@ var cornerstoneTools = (function ($, cornerstone, cornerstoneMath, cornerstoneTo
//Listens LesionToolModified event and calls measurementModified function when lesion measurement is changed or updated.
$(element).on("LesionToolModified", measurementModified);
$(element).trigger("LesionMeasurementCreated");
$(element).trigger("LesionMeasurementCreated", mouseEventData);
// create the measurement data for this tool with the end handle activated
var measurementData = {
@@ -282,9 +282,4 @@ var cornerstoneTools = (function ($, cornerstone, cornerstoneMath, cornerstoneTo
toolType: toolType
});
return cornerstoneTools;
}($, cornerstone, cornerstoneMath, cornerstoneTools));
toolManager.addTool('lesion', {
mouse: cornerstoneTools.lesion,
touch: cornerstoneTools.lesionTouch
});
}($, cornerstone, cornerstoneMath, cornerstoneTools));