LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ |
Initialise the display. More... | |
def | __del__ |
Public Attributes | |
display | |
verbose | |
Private Member Functions | |
def | _close |
Close the display, cleaning up any allocated resources. More... | |
def | _buffer |
Enable or disable buffering of writes to the display. More... | |
def | _dot |
Draw symbol a symbol at (c, r) More... | |
def | _drawLines |
Draw line defined by the list points. More... | |
def | _erase |
Erase all glyphs drawn on display. More... | |
def | _flush |
Flush any I/O buffers. More... | |
def | _setCallback |
def | _getEvent |
def | _getMaskTransparency |
def | _mtv |
def | _setMaskTransparency |
def | _scale |
def | _show |
def | _pan |
def | _zoom |
Definition at line 27 of file virtualDevice.py.
def lsst.afw.display.virtualDevice.DisplayImpl.__init__ | ( | self, | |
display, | |||
verbose = False |
|||
) |
Initialise the display.
display | The display object that we're providing the implementation for |
frame | an identifier for this display |
verbose | be chatty? |
Definition at line 28 of file virtualDevice.py.
def lsst.afw.display.virtualDevice.DisplayImpl.__del__ | ( | self | ) |
Definition at line 37 of file virtualDevice.py.
|
private |
Enable or disable buffering of writes to the display.
enable | True or False, as appropriate |
Definition at line 45 of file virtualDevice.py.
|
private |
Close the display, cleaning up any allocated resources.
Definition at line 40 of file virtualDevice.py.
|
private |
Draw symbol a symbol at (c, r)
symb | The desired symbol. See dot() for details |
c | (x) column position |
r | (y) row position |
size | Size of symbol, in pixels |
ctype | The desired colour, either e.g. afw.display.RED or a colour name known to X11 |
Definition at line 52 of file virtualDevice.py.
|
private |
Draw line defined by the list points.
symb | A list of 0-indexed positions (x, y) |
ctype | The desired colour, either e.g. afw.display.RED or a colour name known to X11 |
Definition at line 64 of file virtualDevice.py.
|
private |
Erase all glyphs drawn on display.
Definition at line 72 of file virtualDevice.py.
|
private |
Flush any I/O buffers.
Definition at line 78 of file virtualDevice.py.
|
private |
Return an event generated by a keypress or mouse click
Definition at line 88 of file virtualDevice.py.
|
private |
Return the mask transparency for a display
Definition at line 99 of file virtualDevice.py.
|
private |
Display an image and maybe a mask overlay on a display \param image afwImage.Image to display \param mask afwImage.Mask to display \param wcs A Wcs to associate with data \param title Name to display with the data
Definition at line 105 of file virtualDevice.py.
|
private |
Pan to (colc, rowc) \param c Desired column (x) position \param r Desired row (y) position
Definition at line 144 of file virtualDevice.py.
|
private |
Set the scaling from DN to displayed pixels \param algorithm Scaling algorithm (e.g. linear) \param min The minimum value of the stretch (or "zscale" or "minmax") \param max The maximum value of the stretch \param unit Units for min and max (e.g. Percent, Absolute, Sigma) \param *args Optional arguments \param **kwargs Optional keyword arguments
Definition at line 125 of file virtualDevice.py.
|
private |
|
private |
Set the transparency of a maskplane \param transparency The desired transparency, in the range [0, 100] \param maskplane The maskplane to set (None: all)
Definition at line 117 of file virtualDevice.py.
|
private |
|
private |
lsst.afw.display.virtualDevice.DisplayImpl.display |
Definition at line 34 of file virtualDevice.py.
lsst.afw.display.virtualDevice.DisplayImpl.verbose |
Definition at line 35 of file virtualDevice.py.