function triggerStatisticsCalculation(eventData) {
  var config = freehandSculpter.getConfiguration();
  var element = eventData.element;
  var toolData = (0, _toolState.getToolState)(element, referencedToolType);
  var data = toolData.data[config.currentTool];

  data.invalidated = true;
  _externalModules2.default.cornerstone.updateImage(element);
}
/**
* Triggers a re-calculation of a freehand tool's stats after editing.
*
* @param {Object} eventData - Data object associated with the event.
*/
Triggers a re-calculation of a freehand tool's stats after editing.
Triggers a re - calculation of a freehand tool ' s stats after editing .
function triggerStatisticsCalculation(eventData) {
  var config = freehandSculpter.getConfiguration();
  var element = eventData.element;
  var toolData = (0, _toolState.getToolState)(element, referencedToolType);
  var data = toolData.data[config.currentTool];
  data.invalidated = true;
  _externalModules2.default.cornerstone.updateImage(element);
}
function triggerStatisticsCalculation ( eventData ) { var config = freehandSculpter . getConfiguration ( ) ; var element = eventData . element ; var toolData = ( 0 , _toolState . getToolState ) ( element , referencedToolType ) ; var data = toolData . data [ config . currentTool ] ; data . invalidated = true ; _externalModules2 . default . cornerstone . updateImage ( element ) ; }
Triggers a re-calculation of a freehand tool's stats after editing.
Triggers a re - calculation of a freehand tool ' s stats after editing .