13.3.5.1 The GridLogView Class

The GridLogView class provides the following variables for customizing the display:

BlockFill fill_type
Controls the way in which the Log data values are displayed as blocks. The COLOR setting fills the block with its value's respective color from the colorbar at the bottom of the GridLogView display. The AREA and LINEAR fill the block with size-varying spirals in a manner similar to the spirals in the NetView and described in more detail in that section. (see section 10.6 Network Viewer).
int block_size
The size (width and height) of the block area for the value blocks.
int block_border_size
The horizontal and vertical spacing between the blocks in the GridLogView
ColorScale* colorspec
The colorscale to use for the colorbar at the bottom of the GridLogView display
ScaleRange scale_range
Controls how the range of the colorbar at the bottom of the GridLogView display is updated. It should be noted that for all the BY_XXX settings of the grain variable the values considered are only those from the fields using a BLOCK display style and whose header label has been chosen with the left mouse button. By default, all BLOCK style header labels are chosen until otherwise modified.

The ScaleRange class used by the scale_range variable has following subcomponents:

ScaleGrain grain
Controls the grain (scope) of the values to consider when determining the range of the colorbar. Its possible values are as follows:
BY_ROW
Scale only on the values in the last row (line) of data received
BY_VISIBLE
Scale on all the values visible in the GraphLogView
BY_BUFFER
Scale by all the data currently in the PDPLog
BY_FILE
Scale by all the data that has passed through the PDPLog
FIXED
Scale to the initial value

float initial
This is the initial value to scale by. If the grain variable is set to FIXED then this variable provides the range of the colorbar
float offset
If grain is set to FIXED this variable is used as the midpoint of the range of the colorbar.

The GridLogView also provides the following functions:

SetBlockFill(BlockFill fill_typ)
Set's the fill_type variable of the GridLogView to be fill_typ, either COLOR, AREA, or LINEAR
UpdateGridLayout(MatrixLayout layout)
Arranges the columns of data to fit without gaps, according to the geometry of the view_spec. Possible choices for layout are
LFT_RGT_BOT_TOP
LFT_RGT_TOP_BOT
BOT_TOP_LFT_RGT
TOP_BOT_LFT_RGT