C# Class CustomFunction.NDVICustomFunction

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

Méthodes publiques

Méthode 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

Méthode Description
Reg ( string regKey ) : void
Unreg ( string regKey ) : void

Method Details

Bind() public méthode

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
Résultat void

ConvertToSupportedObject() public méthode

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

Deserialize() public méthode

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

IsSupportedAtVersion() public méthode

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

Load() public méthode

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
Résultat void

NDVICustomFunction() public méthode

public NDVICustomFunction ( ) : System
Résultat System

Read() public méthode

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
Résultat void

Save() public méthode

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
Résultat void

Serialize() public méthode

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

Update() public méthode

Update the Raster Function
public Update ( ) : void
Résultat void