📄 alex_var-fun.hlp
字号:
Key Variables and Functions in ALEX In order to extend the functionality of ALEX, some information about the inner workings of the program must be provided. Here is contained a list of the important variables and functions used in ALEX.Variables: these are defined as gobal variables Clipboard - Contains data for the Undo function. Usually this is a saved image from a previous call to setimage. Coords - Contains the coordinates for any measurements performed on the current image. CutPaste - This is the cut and paste buffer for the cut, copy and paste functions. Fname - Contains the current file name and extension. FullFname - Contains Fname preceeded by the path of the current file. H - Contains the Nanoscope AFM header as read from the current file. Handlefig - Contains a handle to the ALEX figure. Handleimg - Contains a handle to the image. Handleimgax - Contains a handle to the image axes. I - Contains the image matrix. All image operations should be done directly on the image data. map - Contains the current colormap data. MapSize - Contains the size of the current colormap. readpath - Contains the current path from which all data files will be read. savepath - Contains the current path to which all data files will be read.Functions: see the individual helps for the functions for the call protocols copyimage - Copies a mouse-defined area of the image to the global variable CutPaste. cutimage - Copies a mouse-defined area of the current image to the global variable CutPaste, and erases that area from the image. getparameter - Gets a specified parameter from the Nanoscope header of the current image. This header is contained in the variable H. getview - Returns the submatrix of the image matrix, I, which corresponds to the current view. getviewmode - Returns the current view mode for the current image (eg. TOPVIEW or TOPVIEW_INTERP). pasteimage - Copies the contents of the CutPaste variable to the specified area of the current image. setimage - Replaces the current image with the specified image matrix. All operations having to do with modifications to the image should use this function. setparameter - Writes a new value for a specified parameter to the Nanoscope header of the current image. The header is contained in the global variable H. setviewmode - Set the view mode for the current image. setzoomstatus - Turns automatic zooming off and on. showimage - Displays the current image in the view mode returned by getviewmode.{Coordinates_Matrix.hlp}{Parameters.hlp}{Cut.hlp}{Paste.hlp}{Copy.hlp}{View_Menu.hlp}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -