Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

spedas/gui/display/draw_object/

spd_ui_draw_object__update.pro


spd_ui_draw_object method: Update This function updates the entire display, it will be pretty slow so it should only be called after panel applies, but not during common widget events. WindowStorage: the spd_ui_windows object that stores the windows for the scene that is being updated LoadedData: thm spd_ui_loaded_data object that stores the data used in the scene that is being drawn Postscript=postscript: set this keyword when postscripts are being drawn. Special kluges for dealing with postscript transparency and layering issues are turned on. Error=error: Pass a named variable in via this keyword when updates are being drawn. After completion It will return a 1 if there was an error and a 0 if there was no error. errmsg=errmsg: Pass a named variable in via this keyword when updates are being drawn (optional). If a draw object error occurs for which an error message has been defined, errmsg will return an anonymous struct with fields describing the error. errmsg does not exist for all cases where error=1, nor is it guaranteed than error=1 if errmsg exists. This keyword is intended to return error information to calling routines where messages may need to be issued to the user (eg. pop up messages). It is intended that developers make use of errmsg & add it to procedures/functions as they need it. Note that when handling error messages in the calling routine it is necessary to always check the relevant fields in the errmsg struct exist before using them as the routine may pick up errors that you don't anticipate defined in other areas of the code, with different fields in the struct. Note: if no error occurs for which an error message has been defined errmsg is simply not set. It is necessary to check if errmsg has been set before handling any messages in the calling routine. Note: update itself does not currently produce any errmsg, errmsg is simply passed on to other routines (currently updatePanels). NOTES: 1. Slowness depends on complexity of displayed layout.(number of panels, size of data) It can range from 1/10th of a second to 10 or more seconds 2. Memory usage can spike moderately during this function, but memory usage between calls should be minimal because lookup tables are used for cursor functions. Memory will max out at ~2x the memory of the largest panel being plotted, because data must be copied to process it without corrupting the main data store. In other words O(N*M), where N is the time resolution of the data on your largest panel, and M is the number of dimensions on this panel. $LastChangedBy: jimm $ $LastChangedDate: 2014-02-11 10:54:32 -0800 (Tue, 11 Feb 2014) $ $LastChangedRevision: 14326 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas/gui/display/draw_object/spd_ui_draw_object__update.pro $

Routines

top source spd_ui_draw_object::update

spd_ui_draw_object::update, windowStorage, loadedData, postscript=postscript, error=error, errmsg=errmsg

Parameters

windowStorage
loadedData

Keywords

postscript
error
errmsg

File attributes

Modification date: Thu Feb 13 16:41:35 2014
Lines: 48