C# Класс CustomFunction.NDVICustomFunction

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

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

Метод Описание
Bind ( object pArguments ) : void

Initialize the Raster function using the argument object. This is one of the two main functions to implement for a custom Raster function. The raster object is dereferenced if required and given to the RasterFuntionHelper object to bind.

ConvertToSupportedObject ( esriArcGISVersion docVersion ) : object

Convert the instance into an object supported by the given version

Deserialize ( IXMLSerializeData data ) : void

Deserialize the Raster Function from the datastream provided

IsSupportedAtVersion ( esriArcGISVersion docVersion ) : bool

Check if the object is supported at the given version

Load ( IVariantStream Stream ) : void

Load the properties of the function from the stream provided

NDVICustomFunction ( ) : System
Read ( IPnt pTlc, IRaster pRaster, IPixelBlock pPixelBlock ) : void

Read pixels from the input Raster and fill the PixelBlock provided with processed pixels.

Save ( IVariantStream Stream ) : void

Save the properties of the function to the stream provided

Serialize ( IXMLSerializeData data ) : void

Serialize the Raster Function into the stream provided.

Update ( ) : void

Update the Raster Function

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

Метод Описание
Reg ( string regKey ) : void
Unreg ( string regKey ) : void

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

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

Initialize the Raster function using the argument object. This is one of the two main functions to implement for a custom Raster function. The raster object is dereferenced if required and given to the RasterFuntionHelper object to bind.
public Bind ( object pArguments ) : void
pArguments object Arguments object used for initialization
Результат void

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

Convert the instance into an object supported by the given version
public ConvertToSupportedObject ( esriArcGISVersion docVersion ) : object
docVersion esriArcGISVersion Version to convert to
Результат object

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

Deserialize the Raster Function from the datastream provided
public Deserialize ( IXMLSerializeData data ) : void
data IXMLSerializeData Xml stream to deserialize the function from
Результат void

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

Check if the object is supported at the given version
public IsSupportedAtVersion ( esriArcGISVersion docVersion ) : bool
docVersion esriArcGISVersion Version to check against
Результат bool

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

Load the properties of the function from the stream provided
public Load ( IVariantStream Stream ) : void
Stream IVariantStream Stream that contains the serialized form of the function
Результат void

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

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

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

Read pixels from the input Raster and fill the PixelBlock provided with processed pixels.
public Read ( IPnt pTlc, IRaster pRaster, IPixelBlock pPixelBlock ) : void
pTlc IPnt Point to start the reading from in the Raster
pRaster IRaster Reference Raster for the PixelBlock
pPixelBlock IPixelBlock PixelBlock to be filled in
Результат void

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

Save the properties of the function to the stream provided
public Save ( IVariantStream Stream ) : void
Stream IVariantStream Stream to which to serialize the function into
Результат void

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

Serialize the Raster Function into the stream provided.
public Serialize ( IXMLSerializeData data ) : void
data IXMLSerializeData Xml stream to serialize the function into
Результат void

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

Update the Raster Function
public Update ( ) : void
Результат void