C# 클래스 ArcMapAddinVisibility.ViewModels.LOSBaseViewModel

상속: TabBaseViewModel
파일 보기 프로젝트 열기: Esri/visibility-addin-dotnet

Private Properties

프로퍼티 타입 설명
DeletePoints void
GetOffsetInZUnits double
IsPointWithinExtent bool
IsValidPoint bool
OnActivateTool void
OnDeleteAllPointsCommand void
OnDeletePointCommand void
OnDisplayCoordinateTypeChanged void
OnEditPropertiesDialogCommand void
OnMapTocUpdated void
OnNewMapPointEvent void
Reset void
ResetSurfaceNames void

공개 메소드들

메소드 설명
GetLayerFromMapByName ( IMap map, string name ) : ILayer

returns ILayer if found in the map layer collection

GetSurfaceFromMapByName ( IMap map, string name ) : ISurface

Method to get a ISurface from a map with layer name

GetSurfaceNamesFromMap ( IMap map, bool IncludeTinLayers = false ) : List

Method to get all the names of the raster/tin layers that support ISurface we use this method to populate a combobox for input selection of surface layer

LOSBaseViewModel ( ) : System

비공개 메소드들

메소드 설명
DeletePoints ( List observers ) : void
GetOffsetInZUnits ( IMap map, double offset, double zFactor, DistanceTypes distanceType ) : double

Method to get a z offset distance in the correct units for the map

IsPointWithinExtent ( IPoint point, IEnvelope env ) : bool

Method used to check to see if a point is contained by an envelope

IsValidPoint ( IPoint point, bool showPopup = false ) : bool

Method to check to see point is withing the currently selected surface returns true if there is no surface selected or point is contained by layer AOI returns false if the point is not contained in the layer AOI

OnActivateTool ( object obj ) : void

Override this method to implement a "Mode" to separate the input of observer points and target points

OnDeleteAllPointsCommand ( object obj ) : void
OnDeletePointCommand ( object obj ) : void

Command method to delete points

OnDisplayCoordinateTypeChanged ( object obj ) : void

Method to handle the display coordinate type change Need to update the list boxes

OnEditPropertiesDialogCommand ( object obj ) : void

Handler for opening the edit properties dialog

OnMapTocUpdated ( object obj ) : void

Method called when the map TOC is updated Reset surface names

OnNewMapPointEvent ( object obj ) : void

Override this event to collect observer points based on tool mode

Reset ( bool toolReset ) : void

Override to add aditional items in the class to reset tool

ResetSurfaceNames ( IMap map ) : void

Method used to reset the currently selected surfacename Use when toc items or map changes, on tab selection changed, etc

메소드 상세

GetLayerFromMapByName() 공개 메소드

returns ILayer if found in the map layer collection
public GetLayerFromMapByName ( IMap map, string name ) : ILayer
map IMap IMap
name string string name of layer
리턴 ILayer

GetSurfaceFromMapByName() 공개 메소드

Method to get a ISurface from a map with layer name
public GetSurfaceFromMapByName ( IMap map, string name ) : ISurface
map IMap IMap that contains surface layer
name string Name of the layer that you are looking for
리턴 ISurface

GetSurfaceNamesFromMap() 공개 메소드

Method to get all the names of the raster/tin layers that support ISurface we use this method to populate a combobox for input selection of surface layer
public GetSurfaceNamesFromMap ( IMap map, bool IncludeTinLayers = false ) : List
map IMap IMap
IncludeTinLayers bool
리턴 List

LOSBaseViewModel() 공개 메소드

public LOSBaseViewModel ( ) : System
리턴 System