Contour Widget Class


Default Translations

The default translation table defined by the XintImage widget class is used by the XintContour widget class. The XintContour widget class defines no new translations. However, the application can augment or replace the default translations.

Defined Callbacks

The following callback is defined by a Contour widget.

NameStructureReason
XmNcomputeStatusCallbackXintContourCompute-
StatusCallbackStruct
XintCR_COMPUTE_STATUS


XintContourComputeStatusCallbackStruct

The following ordered table lists the members of the callback structure, XintContourComputeStatusCallbackStruct, used by the Contour widget to report the current compute phase and completion status during the gridding process.

Data TypeMemberDescription
intreasonIndicates why the callback was invoked.
XEvent *eventPointer to the XEvent that triggered the callback.
intcompute_phaseThe compute phase.
floatpercent_donePercentage of completion (0.0 to 100.0).

The compute_phase member will be set to one of the following:

Defined ConstantDescription
XintMAPPING_INPUT_TO_GRIDMapping to input grid pass (Weighted method only).
XintCALCULATING_MATRIXCalculating Matrix pass (Global method only). Note: there is no percentage report for that phase.
XintCOMPUTING_GRID_NODESComputing Grid nodes pass (Global method only).
XintPRIMARY_ESTIMATESComputing primary estimates pass.
XintSECONDARY_ESTIMATESComputing secondary estimates pass.
XintSMOOTHINGSmoothing pass.