function clearImageIdSpecificToolStateManager(element) {
    var enabledImage = _externalModules2.default.cornerstone.getEnabledElement(element);

    if (!enabledImage.image || toolState.hasOwnProperty(enabledImage.image.imageId) === false) {
      return;
    }

    delete toolState[enabledImage.image.imageId];
  }
// Clears all tool data from this toolStateManager.
Clears all tool data from this toolStateManager.
Clears all tool data from this toolStateManager .
function clearImageIdSpecificToolStateManager(element) {
    var enabledImage = _externalModules2.default.cornerstone.getEnabledElement(element);
    if (!enabledImage.image || toolState.hasOwnProperty(enabledImage.image.imageId) === false) {
      return;
    }
    delete toolState[enabledImage.image.imageId];
  }
function clearImageIdSpecificToolStateManager ( element ) { var enabledImage = _externalModules2 . default . cornerstone . getEnabledElement ( element ) ; if ( ! enabledImage . image || toolState . hasOwnProperty ( enabledImage . image . imageId ) === false ) { return ; } delete toolState [ enabledImage . image . imageId ] ; }
Clears all tool data from this toolStateManager.
Clears all tool data from this toolStateManager .