|
IGLib
1.5
The IGLib base library for development of numerical, technical and business applications.
|
Control for definition of scalar functions by user defined expressions (through script loader). More...
Inheritance diagram for IG.Forms.ScalarFunctionScriptControl:
Collaboration diagram for IG.Forms.ScalarFunctionScriptControl:Public Member Functions | |
| ScalarFunctionScriptControl () | |
| void | DataToFunctionLoader () |
| Copies data of the form to function loader. More... | |
| void | ResetFunctionDefinition () |
| Resets function definition to simply "0". Gradients are redefined accordingly. More... | |
Protected Member Functions | |
| void | CreateScalarFunction () |
| Creates scalar function according to user data by the function loader. More... | |
| string | GetFunctionSignature () |
| override void | Dispose (bool disposing) |
| Clean up any resources being used. More... | |
Protected Attributes | |
| string | _functionName |
| string[] | _parameterNames |
| string | _valueDefinition |
| bool | _isGradientDefined = false |
| string[] | _gradientDefinitions |
Properties | |
| ScalarFunctionLoader | FunctionLoader [get, protected set] |
| Scalar function loader that is responsible for creation of scalar function objects from data. More... | |
| LoadableScalarFunctionBase | Function [get] |
| bool | IsLoaderConsistent [get, protected set] |
| string | FunctionName [get, set] |
| int | Dimension [get, set] |
| Gets or sets function dimension. More... | |
| string[] | ParameterNames [get, set] |
| Names of function parameters. More... | |
| string | ValueDefinition [get, set] |
| String that defines function value. More... | |
| bool | IsGradientDefined [get, set] |
| string[] | GradientDefinitions [get, set] |
| String that defines function value. More... | |
Private Member Functions | |
| void | btnCreateFunction_Click (object sender, EventArgs e) |
| void | btnValueCalculator_Click (object sender, EventArgs e) |
| void | btnSummary_Click (object sender, EventArgs e) |
| void | txtParameterNames_Validated (object sender, EventArgs e) |
| void | txtName_Validated (object sender, EventArgs e) |
| void | numDimension_Validated (object sender, EventArgs e) |
| void | txtValue_Validated (object sender, EventArgs e) |
| void | txtGradients_Validated (object sender, EventArgs e) |
| void | chkGradients_CheckedChanged (object sender, EventArgs e) |
| void | InitializeComponent () |
| Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
Private Attributes | |
| ScalarFunctionLoader | _functionLoader |
| bool | _isLoaderConsistent = false |
| Color | _bgDefined = Color.White |
| Color | _bgUndefined = Color.LightGray |
| System.ComponentModel.IContainer | components = null |
| Required designer variable. More... | |
| System.Windows.Forms.Label | lblTitle |
| System.Windows.Forms.Label | lblDimension |
| System.Windows.Forms.Label | lblName |
| System.Windows.Forms.TextBox | txtName |
| System.Windows.Forms.NumericUpDown | numDimension |
| System.Windows.Forms.Panel | pnlOuter |
| System.Windows.Forms.TextBox | txtValue |
| System.Windows.Forms.Label | lblValue |
| System.Windows.Forms.TextBox | txtParameterNames |
| System.Windows.Forms.Label | lblParameterNames |
| System.Windows.Forms.CheckBox | chkGradients |
| System.Windows.Forms.Button | btnValueCalculator |
| System.Windows.Forms.Button | btnCreateFunction |
| System.Windows.Forms.TextBox | txtGradients |
| System.Windows.Forms.Label | label1 |
| System.Windows.Forms.TextBox | txtFunctionSignature |
| System.Windows.Forms.Button | btnSummary |
Control for definition of scalar functions by user defined expressions (through script loader).
$A Igor Jun14;
|
inline |
|
inline |
Copies data of the form to function loader.
|
inlineprotected |
Creates scalar function according to user data by the function loader.
|
inlineprotected |
References IG.Lib.UtilStr.GetParametersStringPlain().
|
inline |
Resets function definition to simply "0". Gradients are redefined accordingly.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
References IG.Lib.UtilStr.GetParametersStringPlain().
|
inlineprivate |
References IG.Lib.UtilStr.GetParametersArrayPlain().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprotected |
Clean up any resources being used.
| disposing | true if managed resources should be disposed; otherwise, false. |
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
protected |
|
private |
Required designer variable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getprotected set |
Scalar function loader that is responsible for creation of scalar function objects from data.
|
get |
|
getprotected set |
|
getset |
|
getset |
Gets or sets function dimension.
|
getset |
Names of function parameters.
|
getset |
String that defines function value.
|
getset |
|
getset |
String that defines function value.