C# Класс SampleRasterType.DMCIIRasterBuilder

Наследование: IRasterBuilder, IRasterBuilderInit, IPersistVariant, IRasterBuilder2, IRasterBuilderInit2
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BeginConstruction ( IDataSourceCrawler pCrawler ) : void

Prepare the Raster Type for generating item Unique Resource Identifier (URI)

Build ( IItemURI pItemURI ) : IBuilderItem

Build the Builder Item which includes the function raster dataset and its footprint given the ItemURI.

CanBuild ( object vtDataSource ) : bool

Check if the data source provided is a valid data source for the builder.

ConstructURIs ( object crawlerItem ) : void

Construct a Unique Resource Identifier (URI) for each crawler item

DMCIIRasterBuilder ( ) : System
EndConstruction ( ) : IItemURIArray

Finish construction of the URI's

GetNextURI ( ) : IItemURI

Generate the next URI.

GetRecommendedCrawler ( IPropertySet pDataSourceProperties ) : IDataSourceCrawler

Get a crawler recommended by the Raster Type based on the data srouce properties provided.

IsStale ( IItemURI pItemURI ) : bool

Check if the item provided is "stale" or not valid

Load ( IVariantStream Stream ) : void

Load the object from the stream provided

Save ( IVariantStream Stream ) : void

Same the Raster Type to the stream provided

Validate ( ) : void

Check to see if the properties provided to the raster type/builder are sufficient for it to work. Usually used for UI validation.

Приватные методы

Метод Описание
AddFields ( IFields myFields ) : void

Create new fields to add to the mosaic dataset attribute table.

ApplyRPC ( string rpcPath, IRasterDataset inputDataset ) : IFunctionRasterDataset

Parse the RPC parameters file associated with the image and create an RPCXform to bea applied to the inputDataset as a geomtric function.

GetFRD ( DiMapParser dimPar, IItemURI pItemURI ) : IFunctionRasterDataset

Create the function raster dataset from the source images.

GetFootprint ( DiMapParser dimParser ) : IGeometry

Get the footprint from the dimap file if it exists.

GetRPCXForm ( string rpcFilePath ) : IRPCXform

Create an RPCXForm from a text file containing parameters.

SetBandProperties ( IDataset dataset, DiMapParser dimParser ) : void

Sets band properties on a given dataset including stats, band names and wavelengths.

SetBandWavelengths ( IDataset dataset, int bandIndex ) : void

Set the wavelengths corresponding to the band name.

Описание методов

BeginConstruction() публичный Метод

Prepare the Raster Type for generating item Unique Resource Identifier (URI)
public BeginConstruction ( IDataSourceCrawler pCrawler ) : void
pCrawler IDataSourceCrawler Crawler to use to generate the item URI's
Результат void

Build() публичный Метод

Build the Builder Item which includes the function raster dataset and its footprint given the ItemURI.
public Build ( IItemURI pItemURI ) : IBuilderItem
pItemURI IItemURI ItemURi to use to build the Builder Item.
Результат IBuilderItem

CanBuild() публичный Метод

Check if the data source provided is a valid data source for the builder.
public CanBuild ( object vtDataSource ) : bool
vtDataSource object Data source (usually the path to a metadta file)
Результат bool

ConstructURIs() публичный Метод

Construct a Unique Resource Identifier (URI) for each crawler item
public ConstructURIs ( object crawlerItem ) : void
crawlerItem object Crawled Item from which the URI is generated
Результат void

DMCIIRasterBuilder() публичный Метод

public DMCIIRasterBuilder ( ) : System
Результат System

EndConstruction() публичный Метод

Finish construction of the URI's
public EndConstruction ( ) : IItemURIArray
Результат IItemURIArray

GetNextURI() публичный Метод

Generate the next URI.
public GetNextURI ( ) : IItemURI
Результат IItemURI

GetRecommendedCrawler() публичный Метод

Get a crawler recommended by the Raster Type based on the data srouce properties provided.
public GetRecommendedCrawler ( IPropertySet pDataSourceProperties ) : IDataSourceCrawler
pDataSourceProperties IPropertySet Data source properties.
Результат IDataSourceCrawler

IsStale() публичный Метод

Check if the item provided is "stale" or not valid
public IsStale ( IItemURI pItemURI ) : bool
pItemURI IItemURI URI for the item to be checked
Результат bool

Load() публичный Метод

Load the object from the stream provided
public Load ( IVariantStream Stream ) : void
Stream IVariantStream Stream that represents the serialized Raster Type
Результат void

Save() публичный Метод

Same the Raster Type to the stream provided
public Save ( IVariantStream Stream ) : void
Stream IVariantStream Stream to serialize the Raster Type into
Результат void

Validate() публичный Метод

Check to see if the properties provided to the raster type/builder are sufficient for it to work. Usually used for UI validation.
public Validate ( ) : void
Результат void