     # * xtkVolume - the XTK volume object
     # * load() - read the image file
     # * open(element) - render the image
-    # * hasLabelMap() - whether there is an associated label map file
+    # * isOverlayVisible() - whether there is an associated label map file
     # * selectOverlay() - show the overlay
     # * deselectOverlay() - hide the overlay
     #

      # @param image the selected PK modeling parameter name, or 'none' to 
      #  remove an existing overlay
      deselectOverlay: ->
         @xtkVolume.labelmap.visible = false if @xtkVolume.labelmap?

      # Changes the overlay label map and color lookup table as follows:
      # * Fetch the overlay files.

        #   a color table
        Object.defineProperty this, 'overlays',
          get: ->
            @volume.container.session.overlays
      
      # Transfers the file content to the data properties.
      # The image state loading flag is set to true while the
      # files are being read.
      #
      # @returns a promise which resolves to this image object
      #   when the file is loaded 
      load: ->
        # Set the loading flag.
        @state = Image.STATES.LOADING
