Utility functions used for marshaling processing function calls. More...
Public Member Functions | |
delegate int | ReturnCodeTranslation (int val) |
Delegate for converting tool-specific return codes to generalized return codes. More... | |
delegate int | StandardProcessingFunction1< TOut > (out TOut valOut) |
Delegate for generating the bound Lambda expressions that will help reduce code duplication. More... | |
delegate int | StandardProcessingFunction2< TOut > (out TOut valOut1, out TOut valOut2) |
Delegate for generating the bound Lambda expressions that will help reduce code duplication. More... | |
delegate int | StandardProcessingFunctionVoid () |
Delegate for generating the bound Lambda expressions that will help reduce code duplication. More... | |
delegate int | StandardProcessingFunctionImg (out IntPtr imgOut) |
Delegate for generating the bound Lambda expressions that will help reduce code duplication. More... | |
delegate bool | BoolProcessingFunctionImg (out IntPtr imgOut) |
Delegate for generating the bound Lambda expressions that will help reduce code duplication. More... | |
Static Public Member Functions | |
static Image | StandardProcessingImg (StandardProcessingFunctionImg fn) |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image. More... | |
static Image | BoolProcessingImg (Image img, BoolProcessingFunctionImg fn) |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image. More... | |
static Image | StandardProcessingImg (INativeHandle obj, StandardProcessingFunctionImg fn) |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image. More... | |
static Image | StandardProcessingImg (INativeHandle obj, StandardProcessingFunctionImg fn, ReturnCodeTranslation returnCodeTranslator) |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image. More... | |
static Image | StandardProcessingImg (INativeHandle obj1, INativeHandle obj2, StandardProcessingFunctionImg fn) |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image. More... | |
static TOut | StandardProcessing< TOut > (INativeHandle obj, StandardProcessingFunction1< TOut > fn) |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image. More... | |
static TOut | StandardProcessing< TOut > (INativeHandle obj1, INativeHandle obj2, StandardProcessingFunction1< TOut > fn) |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image. More... | |
static TOut | StandardProcessing< TOut > (StandardProcessingFunction1< TOut > fn) |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image. More... | |
static void | StandardProcessing< TOut > (StandardProcessingFunction2< TOut > fn, out TOut val1, out TOut val2) |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image. More... | |
static void | StandardProcessing (StandardProcessingFunctionVoid fn, ReturnCodeTranslation translator) |
Generic processing function that handles the basic input checks and caters to error reporting for functions some and generate nothing. More... | |
static void | StandardProcessing (StandardProcessingFunctionVoid fn) |
Generic processing function. More... | |
static void | StandardProcessing (INativeHandle obj, StandardProcessingFunctionVoid fn) |
Processing function that accepts an image and returns nothing. More... | |
static void | StandardProcessing (INativeHandle obj, StandardProcessingFunctionVoid fn, ReturnCodeTranslation translator) |
Generic processing function that handles the basic input checks and caters to error reporting for functions some and generate nothing. More... | |
static void | StandardProcessing (INativeHandle obj1, INativeHandle obj2, StandardProcessingFunctionVoid fn, ReturnCodeTranslation translator) |
Processing function that accepts two images and returns nothing. More... | |
Utility functions used for marshaling processing function calls.
delegate bool BoolProcessingFunctionImg | ( | out IntPtr | imgOut | ) |
Delegate for generating the bound Lambda expressions that will help reduce code duplication.
imgOut | output image created by the processor |
|
static |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image.
img | input image to be checked |
fn | function to be called |
delegate int ReturnCodeTranslation | ( | int | val | ) |
Delegate for converting tool-specific return codes to generalized return codes.
val | value to be converted |
|
static |
Processing function that accepts an image and returns nothing.
obj | image for consistency check |
fn | function to call |
|
static |
Generic processing function that handles the basic input checks and caters to error reporting for functions some and generate nothing.
obj | image to perform consistency checks on |
fn | function to be invoked |
translator | return value translator |
|
static |
Processing function that accepts two images and returns nothing.
obj1 | image 1 for consistency check |
obj2 | image 2 for consistency check |
fn | function to call |
translator | return value translator |
|
static |
Generic processing function.
fn | function to call |
|
static |
Generic processing function that handles the basic input checks and caters to error reporting for functions some and generate nothing.
fn | function to be invoked |
translator | return value translator |
|
static |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image.
obj | image input parameter to verify |
fn | function to invoke |
|
static |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image.
obj1 | image input parameter to verify |
obj2 | image input parameter to verify |
fn | function to invoke |
|
static |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image.
fn | function to invoke |
|
static |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image.
val1 | output value created by the processor |
val2 | output value created by the processor |
fn | function to invoke |
delegate int StandardProcessingFunction1< TOut > | ( | out TOut | valOut | ) |
Delegate for generating the bound Lambda expressions that will help reduce code duplication.
valOut | output value created by the processor |
delegate int StandardProcessingFunction2< TOut > | ( | out TOut | valOut1, |
out TOut | valOut2 | ||
) |
Delegate for generating the bound Lambda expressions that will help reduce code duplication.
valOut1 | output value created by the processor |
valOut2 | output value created by the processor |
delegate int StandardProcessingFunctionImg | ( | out IntPtr | imgOut | ) |
Delegate for generating the bound Lambda expressions that will help reduce code duplication.
imgOut | output image created by the processor |
delegate int StandardProcessingFunctionVoid | ( | ) |
Delegate for generating the bound Lambda expressions that will help reduce code duplication.
|
static |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image.
obj | input image to be checked |
fn | funcitn to be called |
|
static |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image.
obj | input image to be checked |
fn | funcitn to be called |
returnCodeTranslator | translation function for tool specific return codes. |
|
static |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image.
obj1 | input image 1 to check |
obj2 | input image 2 to check |
fn | function to be called |
|
static |
Generic processing function that handles the basic input checks and caters to the result image creation and error reporting for functions that take an image (plus potentially some parameters) and generate an output image.
fn | function to be called |