LogDensity Object Class


Inherited Behavior and Resources

The LogDensity object class inherits behavior and resources from the Xt Object and Graphic classes.
The following resources are defined by the LogDensity object class.
NameTypeDefaultAccess
XmNaxisWidgetNULLCSG
XmNaxisTypeintXintAXIS_LINEARCSG
XmNbottomfloat *NULLCSG
XmNcreateAxisBool eanFalseCSG
XmNdensityColorRecordXintColorRec *NULLCSG
XmNinterpolationModeintXintLINEAR_INTERPOLATIONCSG
XmNminSampleValuefloat *0.0CSG
XmNmaxSampleValuefloat *1.0CSG
XmNnullValuefloat *NULLCSG
XmNsampleArrayfl oat *NULLCSG
XmNsampleCountin t0CSG
XmNscalefloat *1.0CSG
XmNtopfloat *NULLCSG


XmNaxis

Specifies an Axis widget that controls the scrolling and coordinate transformation in the value direction. If this resource is not specified and resource XmNcreateAxis is True, an Axis widget is automatically created, otherwise the parent default coordinate system in the value direction is used. The name of the axis created can be set using inherited resource XmNname (from the Graphic class).

XmNaxisType

Specifies the style of axis to be created if resource XmNcreateAxis is True. Valid choices for this resource are XintAXIS_LINEAR and XintAXIS_LOG.

XmNbottom

Specifies the bottom depth value associated with the first sample in the data array XmNsampleArray. If resource XmNbottom and XmNtop are both specified, the depth array controlled by resource XmNdepthArray is generated automatically.

XmNcreateAxis

Specifies whether or not an Axis widget is created in the value direction. This resource is taken into account only if resource XmNaxis is NULL. If no value axis is specified and this resource is set to False, the default parent coordinate system will be used. When the LogDensity object is destroyed, the created Axis widget will also be destroyed provided that no other objects make reference to it.

XmNdensityColorRecord

Specifies a pointer to an opaque structure of type XintColorRec that describes the colormap used by the LogDensity object. If this resource is set to NULL, the LogDensity object automatically allocates a grey scale colormap with 64 colors. See function XintImageCreateColorRecord to create a color record from an array of pixels.

XmNinterpolationMode

Specifies the mode of interpolation used to draw a log curve. Specify XIntLINEAR_INTERPOLATION (default) or XintSTEP_INTERPOLATION to draw blocked curves.

XmNminSampleValue

Specifies the minimum value of the LogDensity in the horizontal direction.

XmNmaxSampleValue

Specifies the maximum value of the LogDensity in the horizontal direction.

XmNnullValue

Specifies a floating point value that, if found in the sample array, is treated as if no data is present at that location. Visually, lines and symbols become disjointed if a null value is encountered during the LogDensity drawing operation. Null value processing is not performed if the resource is set to NULL.

XmNsampleArray

Specifies an array of floating point values representing the data values associated with the log curve.The size of this array must be at least as big as the value specified in XmNsampleCount.

XmNsampleCount

Specifies the number of data samples in array XmNsampleArray and array XmNdepthArray if it is not NULL.

XmNscale

Specifies a floating point value that specifies the scaling factor to apply to t he data.

XmNtop

Specifies the top depth value associated with the last sample in the data array XmNsampleArray. If resource XmNbottom and XmNtop are both specified, the depth array controlled by resource XmNdepthArray is generated automatically.