To demonstrate how to write an application that can communicate with the IMAGINE Viewer and Cellarray.
pointDigitize.c (C source code)
pointDigitizept.c (C source code)
pointDigitize.eml (EML script)
pointDigitizept.eml (EML script)
pointDigitize.rc (Resource script)(Windows Only)
resource.h (Resource header)(Windows Only)
eml.ico (ERDAS icon)(Windows Only)
pointDigitize.dsp (Visual C++ Project)(Windows Only)
The pointDigitize programming example shows how an application can use evue and eeui functions to digitize image points from a IMAGINE Viewer. In order to be able to communicate with a Viewer, pointDigitize must be run under the same Session as the Viewer. This example shows you how to establish connection and communicate with the with Viewer using evue_Open and evue_AddCallback functions, how to create and update a CellArray using eeui_CellArrayInstall, eeml_SetParameters, eeui_CAAppendRow and eeui_CAUpdateRow, how to digitize points (by creating picks and selectors) from a Viewer using evue_PickCreate and evue_SelectorCreate.