C# Class CustomFunction.NDVICustomFunction

Inheritance: IRasterFunction, IPersistVariant, IDocumentVersionSupportGEN, IXMLSerialize, IXMLVersionSupport
Datei anzeigen Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
Reg ( string regKey ) : void
Unreg ( string regKey ) : void

Method Details

Bind() public method

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
return void

ConvertToSupportedObject() public method

Convert the instance into an object supported by the given version
public ConvertToSupportedObject ( esriArcGISVersion docVersion ) : object
docVersion esriArcGISVersion Version to convert to
return object

Deserialize() public method

Deserialize the Raster Function from the datastream provided
public Deserialize ( IXMLSerializeData data ) : void
data IXMLSerializeData Xml stream to deserialize the function from
return void

IsSupportedAtVersion() public method

Check if the object is supported at the given version
public IsSupportedAtVersion ( esriArcGISVersion docVersion ) : bool
docVersion esriArcGISVersion Version to check against
return bool

Load() public method

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
return void

NDVICustomFunction() public method

public NDVICustomFunction ( ) : System
return System

Read() public method

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
return void

Save() public method

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
return void

Serialize() public method

Serialize the Raster Function into the stream provided.
public Serialize ( IXMLSerializeData data ) : void
data IXMLSerializeData Xml stream to serialize the function into
return void

Update() public method

Update the Raster Function
public Update ( ) : void
return void