Added persistent single-image measurments (length, ellipse) (LT-37, LT-156)

This commit is contained in:
Erik Ziegler committed 2016-02-14 13:36:44 +01:00
1 parent b624d12762
commit 36ff46be41
20 files changed
+227 -34

No files matched your search

+2 -1
View File
@@ -1,6 +1,6 @@
clearTools = function() {
var patientId = Session.get('patientId');
var toolTypes = [ 'lesion', 'nonTarget', 'length' ];
var toolTypes = [ 'lesion', 'nonTarget', 'length', 'ellipticalRoi'];
var toolState = cornerstoneTools.globalImageIdSpecificToolStateManager.toolState;
var toolStateKeys = Object.keys(toolState).slice(0);
@@ -43,6 +43,7 @@ clearTools = function() {
// Remove patient's measurements
Meteor.call('removeMeasurementsByPatientId', patientId);
Meteor.call('removeImageMeasurementsByPatientId', patientId);
// Clear all validation errors
ValidationErrors.remove({});