Lithology Object Class


Overview

The Lithology object class defines a filled rectangular object that represents a geologic or stratigraphic pattern. The size of the rectangle is defined by specifying the top and bottom depth values via the resources XmNstartDepth and XmNendDepth. The rectangle extends from the parent starting value to the parent ending value in the other direction (value direction). It is also possible to have the lithology pattern clipped along a LogCurve object in the value direction via the resource XmNfillCurve. The Lithology fill pattern and colors are set using the resources defined in the superclass Graphic.

Inherited Behavior and Resources

The Lithology object class inherits behavior and resources from the Xt Object, Graphic and Rectangle classes.
The following resources are defined by the Lithology object class.
NameTypeDefaultAccess
XmNendDepthfloat *40.0CSG
XmNfillAttachmentintXintATTACH_STARTCSG
XmNfillCurveWidgetNULLCSG
XmNstartDepthfloat *10.0CSG


XmNendDepth

Specifies the ending depth of the Lithology object.

XmNfillAttachment

Specifies how to fill the lithology if resource XmNfillCurve is set. You can specify one of the following constants:

Resource ValueDescription
XintATTACH_STARTFill from the parent start value to the LogCurve object.
XintATTACH_ENDFill from the LogCurve object to the parent end value.


XmNfillCurve

Specifies an LogCurve object to which the lithology pattern is clipped along the value direction.

XmNstartDepth

Specifies the starting depth of the Lithology object.