LogCurve Object Class


Defined Callbacks

The LogCurve object class does not define any new callbacks. However, the callback structure returned with callback XmNverifyCallback (see class Graphic) is redefined. The following ordered table lists the members of the callback structure XintLogCurveVerifyCallbackStruct.

Data TypeMemberDescription
intreasonIndicates why the callback was invoked.
XEvent *eventPoints to the XEvent that triggered the callback.
BooleandoitIf False, the operation is canceled.
intsample_countNumber of samples in sample_array.
float *sample_arrayPointer to the LogCurve data array.
float *depth_arrayPointer to the LogCurve depth array.
intindexIf reason is XintCR_OBJECT_SHAPE, XintCR_OBJECT_ADD_POINT or XintCR_OBJECT_DELETE_POINT, contains the index of the point, added or removed.
floatold_sample_valueIf reason is XintCR_OBJECT_SHAPE or XintCR_OBJECT_DELETE_POINT, contains the sample value of the point that was moved or deleted.
floatnew_sample_valueIf reason is XintCR_OBJECT_SHAPE or XintCR_OBJECT_ADD_POINT contains the new sample value of the point that was moved or added.
floatold_depth_valueIf reason is XintCR_OBJECT_SHAPE or XintCR_OBJECT_DELETE_POINT, contains the depth value of the point that was moved or deleted.
floatnew_depth_valueIf reason is XintCR_OBJECT_SHAPE or XintCR_OBJECT_ADD_POINT contains the new depth value of the point that was moved or added.
floatshift_depthIf reason is XintCR_OBJECT_MOVE, contains the shift in the depth direction.
floatshift_valueIf reason is XintCR_OBJECT_MOVE, contains the shift in the value direction.