Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-14840

Make mask transparency and color "sticky" in display_firefly

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw, display_firefly
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      SUIT Sprint 2018-06, SUIT Sprint 2018-07, SUIT Sprint 2018-08
    • Team:
      Science User Interface

      Description

      afw.display provides methods for setting mask plane colors and transparencies. These should be "sticky" in the display_firefly backend, meaning that once they are set for a Display object, they should be applied when an image is sent again to that display.

      The display_firefly backend also needs to ignore masks whose color is set to "ignore" or "IGNORE". 

      Related to this, afw.display provides setDefaultMaskTransparency and setDefaultMaskPlaneColor which are used when Display instances are created. Fix a small bug in setDefaultMaskTransparency and verify that both of these work with the display_firefly backend.

        Attachments

          Issue Links

            Activity

            Hide
            shupe David Shupe added a comment -

            Hopefully this is a short review, code only.

            Show
            shupe David Shupe added a comment - Hopefully this is a short review, code only.
            Hide
            hchiang2 Hsin-Fang Chiang added a comment -

            The code changes look good to me. 

            Show
            hchiang2 Hsin-Fang Chiang added a comment - The code changes look good to me. 

              People

              Assignee:
              shupe David Shupe
              Reporter:
              shupe David Shupe
              Reviewers:
              Hsin-Fang Chiang
              Watchers:
              David Shupe, Hsin-Fang Chiang, Jim Bosch, Robert Lupton, Simon Krughoff, Trey Roby, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.