C# Класс CustomRasterBuilder.ThumbnailBuilder

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

Открытые свойства

Свойство Тип Описание
innerRasterBuilder IRasterBuilder

Private Properties

Свойство Тип Описание
AddingNewField void
Resampling void

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

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

Prepare the Raster Type for generating Crawler items

Build ( IItemURI pItemURI ) : IBuilderItem

Call the build function of the inner Raster Type and generate a thumbnail from the Builder Item created.

ConstructURIs ( object crawlerItem ) : void

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

EndConstruction ( ) : IItemURIArray

Finish Construction of the URI's

GetNextURI ( ) : IItemURI

Generate the next URI.

GetRecommendedCrawler ( IPropertySet pDataSourceProperties ) : IDataSourceCrawler

Get the recommended data crawler for the Raster Type based on properties provided by the user.

IPersistVariant ( IVariantStream Stream ) : void

Load the object from the stream provided

IsStale ( IItemURI pItemURI ) : bool

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

ThumbnailBuilder ( ) : System

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

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

The following function creates a field called "ThumbNail" and adds it to the existing fields in the mosaic dataset catalog as a blob.

Resampling ( IBuilderItem mybuilderItem ) : void

Each BuilderItem contains a Function Raster Dataset which is used to create the thumbnail. The thumbnail is created by Nearest Neighbor resampling of the Function Raster Dataset. The resampled raster is exported as a byte array and saved Into the IMemoryBlobStreamVariant. The blob is then inserted into the Thumbnail field.

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

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

Prepare the Raster Type for generating Crawler items
public BeginConstruction ( IDataSourceCrawler pCrawler ) : void
pCrawler IDataSourceCrawler Crawler to use to generate the crawler items
Результат void

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

Call the build function of the inner Raster Type and generate a thumbnail from the Builder Item created.
public Build ( IItemURI pItemURI ) : IBuilderItem
pItemURI IItemURI URI of the Item to be built
Результат IBuilderItem

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

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

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

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

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

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

Get the recommended data crawler for the Raster Type based on properties provided by the user.
public GetRecommendedCrawler ( IPropertySet pDataSourceProperties ) : IDataSourceCrawler
pDataSourceProperties IPropertySet List of properties provided by the user
Результат IDataSourceCrawler

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

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

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

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

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

Описание свойств

innerRasterBuilder публичное свойство

public IRasterBuilder innerRasterBuilder
Результат IRasterBuilder