C# Class SampleRasterType.DiMapParser

Class used to parse the dim file (xml format) and get relevant properties from it.
Exibir arquivo Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Public Methods

Method Description
DiMapParser ( ) : System
DiMapParser ( string xmlPath ) : System
GetBandDesc ( int bandIndex ) : string

Get the name of the band.

GetBandIndex ( int indexCounter ) : string

Index of the band based on the counter.

GetBandStatMax ( int bandIndex ) : string

Get maximum value for the band.

GetBandStatMean ( int bandIndex ) : string

Get mean value for the band.

GetBandStatMin ( int bandIndex ) : string

Get minimum value for the band.

GetBandStatStdDev ( int bandIndex ) : string

Get standard deviation value for the band.

GetNextVertex ( string &x, string &y, string &col, string &row ) : bool
GetNextVertex2 ( string &x, string &y, string unit ) : bool

Get next vertex from the footprint defined in the xml based on the vertex count and unit.

ResetVertexCount ( ) : void

Reset the vertex count to get vertices of the footprint.

Method Details

DiMapParser() public method

public DiMapParser ( ) : System
return System

DiMapParser() public method

public DiMapParser ( string xmlPath ) : System
xmlPath string
return System

GetBandDesc() public method

Get the name of the band.
public GetBandDesc ( int bandIndex ) : string
bandIndex int Index of the band for which to get the name.
return string

GetBandIndex() public method

Index of the band based on the counter.
public GetBandIndex ( int indexCounter ) : string
indexCounter int Counter (similar to vertexCount) to get the index for.
return string

GetBandStatMax() public method

Get maximum value for the band.
public GetBandStatMax ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
return string

GetBandStatMean() public method

Get mean value for the band.
public GetBandStatMean ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
return string

GetBandStatMin() public method

Get minimum value for the band.
public GetBandStatMin ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
return string

GetBandStatStdDev() public method

Get standard deviation value for the band.
public GetBandStatStdDev ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
return string

GetNextVertex() public method

public GetNextVertex ( string &x, string &y, string &col, string &row ) : bool
x string
y string
col string
row string
return bool

GetNextVertex2() public method

Get next vertex from the footprint defined in the xml based on the vertex count and unit.
public GetNextVertex2 ( string &x, string &y, string unit ) : bool
x string The X value.
y string The Y value.
unit string Unit to check which parameter to get vertex from.
return bool

ResetVertexCount() public method

Reset the vertex count to get vertices of the footprint.
public ResetVertexCount ( ) : void
return void