C# 클래스 CustomRasterBuilder.ThumbnailBuilder

상속: IThumbnailBuilder, IPersistVariant, IRasterBuilderInit
파일 보기 프로젝트 열기: Esri/arcobjects-sdk-community-samples 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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