E3De is a reference to an ENVI LiDAR object that is the currently-running application, or is a headless instance of the ENVI LiDAR application.

This method has been deprecated. Use ENVI and ENVIPointCloudViewer instead.

Example


; Create a headless instance
e = E3De(/HEADLESS)
 
; Open a file
file = FILEPATH('DataSample.las', ROOT_DIR=e.ROOT_DIR, $
  SUBDIRECTORY = ['DataSample'])
 
lidar = e.OpenLidar(file, /DIRECT_READ)
 
; Read the first 1000 points
points = lidar.GetPointsInRange(0, 1000)
 
; Close any open lidar objects
e.Close

Syntax


Result = E3De([, /CURRENT] [, ERROR=variable] [, /HEADLESS])

Methods


AddAnnotation

AddExtension

Close

CreateLidarFromSubrect

DeleteAnnotation

DisplayShapefile

GenerateProducts

GetOpenData

GetProductsInfo

GetProductionParameters

GetViewExtents

OpenLidar

SetProgress

SetViewExtents

Return Value


The E3De function returns a reference to the ENVI LiDAR application.

Properties


Properties marked as (Init) are applied only during the initial call to E3De(). Properties marked as (Get) can be retrieved, but not set. All other properties can be set during the E3De() call, or retrieved or changed afterwards.

CURRENT (Init)

Set this property to test if the ENVI LiDAR application is currently running and to retrieve a reference to the application. If this keyword is set and ENVI LiDAR is not already running, the application will not be launched.

Note: If neither /CURRENT nor /HEADLESS is set, /CURRENT will be assumed, as IDL cannot launch the ENVI LiDAR application.

ERROR (Init)

Set this keyword to a named variable that will contain any error message issued during execution of this routine. If no error occurs, the ERROR variable will be set to a null string (''). If an error occurs and the routine is a function, then the function result will be undefined.

When this keyword is not set and an error occurs, ENVI returns to the caller and execution halts. In this case, the error message is contained within !ERROR_STATE and can be caught using IDL's CATCH routine. See IDL Help for more information on !ERROR_STATE and CATCH.

See Manage Errors for more information on error handling in ENVI programming.

HEADLESS (Init, Get)

Set this property to 1 to start the ENVI LiDAR application without creating the user interface.

ROOT_DIR (Get)

A string specifying the ENVI LiDAR installation path.

VERSION (Get)

This property retrieves a string that represents the current ENVI LiDAR version number.

Version History


3.2

Introduced

3.2 SP1

Added CreateLidarFromSubrect, GetViewExtents, and SetViewExtents methods

ENVI 5.3 Obsolete

See Also


E3DLidar, E3DProductionParameters