Shared Samples

Try out source code samples stored in Bitbucket repositories.
Showing results for 
Search instead for 
Do you mean 

Application pointDigitize

by Technical Evangelist on ‎09-09-2015 07:27 AM - edited on ‎03-29-2016 11:24 AM by Anonymous (377 Views)

Example Type

Application

 

Purpose

To demonstrate how to write an application that can communicate with the IMAGINE Viewer and Cellarray.

 

Files

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)

 

Description

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.

Digitized points can be moved within the viewer using evue_SelectorMove or selected and deleted from the CellArray using evue_SelectorDestroy.

 

 

Interface

 

demo.jpg

 

demo1.jpg

 

demo2.jpg

 

 

 

Source Code

https://bitbucket.org/HGDN/hgdn_erdas_imagine/src/e1ade3b7d148b0f2f1aa6427044dfa4bce6226ee/App_point...

 

 

Overview
Contributors