This page was created by the IDL library routine
mk_html_help2
.
Last modified: Tue Apr 28 10:29:18 2009.
NAME: thm_ui_draw_event PURPOSE: This routine handles all events that occur in the draw window CALLING SEQUENCE: info=thm_ui_draw_event(event, info) INPUT: event - the structure from the draw window event info - the main information structure from splash_gui OUTPUT: info - the updated main information structure HISTORY: $LastChangedBy: aaflores $ $LastChangedDate: 2009-04-02 15:54:36 -0700 (Thu, 02 Apr 2009) $ $LastChangedRevision: 5524 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_00/idl/themis/thm_ui_new/display/thm_ui_draw_event.pro $
(See themis/thm_ui_new/display/thm_ui_draw_event.pro)
NAME: thm_ui_draw_object PURPOSE: This object generates an object graphics tree using the IDLgr* objects that are built into IDL. It generates this tree by querying the loaded data object and the window storage object to get the settings generated by the panel. This object also performs other utility operations related to drawing. These include animations of vertical bars and markers, updating the legend by performing a lookup in a hashed version of the plotted data, and reporting information about the current display.(Cursor segment selected, range of displayed data, etc...) There are a few major functions in this object. #1 'update': will update the draw area to correspond to new settings #2 'setCursor' : actually makes the draw object do all the animation updates #3 'draw' : use it to force the object to redraw the draw area. $LastChangedBy: pcruce $ $LastChangedDate: 2009-04-22 18:11:55 -0700 (Wed, 22 Apr 2009) $ $LastChangedRevision: 5722 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_00/idl/themis/thm_ui_new/display/thm_ui_draw_object__define.pro $
(See themis/thm_ui_new/display/thm_ui_draw_object__define.pro)
Procedure: thm_ui_draw::getSpecModel Purpose: This procedure finishes the creation of a spectral image. It uses the newly calculated range and the information in plotdata
(See themis/thm_ui_new/display/thm_ui_draw_object__define.pro)
Function: thm_ui_draw::makeSpec Purpose: helper routine for draw object. It helps construct the image for spectrograms very quickly. Inputs: x: the 1-d x scaling values for the z components(x-axis) y: the 1-d y scaling values for the z components z: the 2-d z array of values for the image pixx: the desired resolution of the output on the x-axis pixy: the desired resolution of the output on the y-axis palette: the palette number to be used when creating the image zrange: the zrange for the whole panel(may be larger than the range of the z argument) Output: An rgba image with dimensions: 4 x PixX x PixY Notes: 1. This uses an alpha channel to make all NaNs transparent. 2. PixX and PixY are not totally necessary because object graphics can stretch an image quite well, but selecting the resolution of the screen with them prevents any inadvertent errors from showing up during interpolation. It might actually be better to render the image at twice the screen resolution to prevent aliasing errors. $LastChangedBy: pcruce $ $LastChangedDate: 2009-04-22 18:11:55 -0700 (Wed, 22 Apr 2009) $ $LastChangedRevision: 5722 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_00/idl/themis/thm_ui_new/display/thm_ui_draw_object__define.pro $
(See themis/thm_ui_new/display/thm_ui_draw_object__define.pro)
NAME: thm_ui_draw_save Purpose: Outputs current window content into various formats $LastChangedBy: pcruce $ $LastChangedDate: 2009-03-30 16:24:05 -0700 (Mon, 30 Mar 2009) $ $LastChangedRevision: 5461 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_00/idl/themis/thm_ui_new/display/thm_ui_draw_save__define.pro $
(See themis/thm_ui_new/display/thm_ui_draw_save__define.pro)
Function: thm_ui_make_spec NOTE: This code has been incorporated into the draw object. thm_ui_make_spec is no longer called directly Purpose: helper routine for draw object. It helps construct the image for spectrograms very quickly. Inputs: x: the 1-d x scaling values for the z components(x-axis) y: the 1-d y scaling values for the z components z: the 2-d z array of values for the image pixx: the desired resolution of the output on the x-axis pixy: the desired resolution of the output on the y-axis palette: the palette number to be used when creating the image zrange: the zrange for the whole panel(may be larger than the range of the z argument) Output: An rgba image with dimensions: 4 x PixX x PixY Notes: 1. This uses an alpha channel to make all NaNs transparent. 2. PixX and PixY are not totally necessary because object graphics can stretch an image quite well, but selecting the resolution of the screen with them prevents any inadvertent errors from showing up during interpolation. It might actually be better to render the image at twice the screen resolution to prevent aliasing errors. $LastChangedBy: pcruce $ $LastChangedDate: 2009-03-12 10:27:51 -0700 (Thu, 12 Mar 2009) $ $LastChangedRevision: 5262 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_00/idl/themis/thm_ui_new/display/thm_ui_make_spec.pro $
(See themis/thm_ui_new/display/thm_ui_make_spec.pro)
Procedure: thm_ui_xyclip ; NOTE: This code has been incorporated into the draw object. thm_ui_xyclip is no longer called directly Purpose: helper routine for draw object. It performs some processing on the x,y,z trace inputs Inputs: onePtr: the values being clipped twoPtr: the axis for which paired values must also be removed zPtr: the z for spectral plots range: the range for the clipping scale: the scaling for the axis(0:linear,1:log10,2:logN) Keywords: fail: 1: indicates that the routine failed transposez: if this keyword is set, then one is a y-axis not an x-axis Notes: Scales & Clips the x,y axes. Mutates onePtr,twoPtr,zPtr $LastChangedBy: pcruce $ $LastChangedDate: 2009-03-12 10:27:51 -0700 (Thu, 12 Mar 2009) $ $LastChangedRevision: 5262 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_00/idl/themis/thm_ui_new/display/thm_ui_xyclip.pro $
(See themis/thm_ui_new/display/thm_ui_xyclip.pro)
Procedure: thm_ui_xyclip Purpose: helper routine for draw object. It performs some processing on the z trace inputs Inputs: zptr: array of ptrs to z values for this trace(2-d array) zrange: the range for the z-axis on this panel zscale: scaling for z-axis(0:linear,1:log10,2:logN) Keywords: fail: 1: indicates that the routine failed Notes: Scales & Clips the axes and the z-plot correspondingly Mutates Zptr $LastChangedBy: pcruce $ $LastChangedDate: 2009-02-09 14:50:07 -0800 (Mon, 09 Feb 2009) $ $LastChangedRevision: 4923 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_00/idl/themis/thm_ui_new/display/thm_ui_xyzclip.pro $
(See themis/thm_ui_new/display/thm_ui_xyzclip.pro)