// namespaces var dwv = dwv || {}; var dwvOemr = dwvOemr || {}; dwvOemr.gui = dwvOemr.gui || {}; dwvOemr.gui.info = dwvOemr.gui.info || {}; /** * DICOM Header overlay info layer. * @constructor * @param {Object} div The HTML element to add Header overlay info to. * @param {String} pos The string to specify the corner position. (tl,tc,tr,cl,cr,bl,bc,br) */ dwvOemr.gui.info.Overlay = function ( div, pos ) { var overlayData = null; /** * Set the overlay data. * @param {Object} data The overlay data for all positions. */ this.setOverlayData = function (data) { overlayData = data[pos]; }; /** * Create the overlay info div. */ this.create = function () { // remove all