| Name | Structure | Reason |
|---|---|---|
| XmNcomputeStatusCallback | XintContourCompute- StatusCallbackStruct | XintCR_COMPUTE_STATUS |
| Data Type | Member | Description |
|---|---|---|
| int | reason | Indicates why the callback was invoked. |
| XEvent * | event | Pointer to the XEvent that triggered the callback. |
| int | compute_phase | The compute phase. |
| float | percent_done | Percentage of completion (0.0 to 100.0). |
The compute_phase member will be set to one of the following:
| Defined Constant | Description |
|---|---|
| XintMAPPING_INPUT_TO_GRID | Mapping to input grid pass (Weighted method only). |
| XintCALCULATING_MATRIX | Calculating Matrix pass (Global method only). Note: there is no percentage report for that phase. |
| XintCOMPUTING_GRID_NODES | Computing Grid nodes pass (Global method only). |
| XintPRIMARY_ESTIMATES | Computing primary estimates pass. |
| XintSECONDARY_ESTIMATES | Computing secondary estimates pass. |
| XintSMOOTHING | Smoothing pass. |