Grid
UI Object that displays a grid of elements based on the two-dimensional output from a module.
Example Grid Views
The colors from the supplied list of colors or color table are used to draw the values in the range 0..max.
Note that the use of this object has changed since version 1.0.
Example XML definitions
<object class="Grid" module="MY_MODULE" source="MY_OUTPUT" x="0" y="0" color="red, green, blue, yellow" />
Attributes
Attribute | Description | Default |
---|---|---|
class | must be "Grid" | |
x | placement of the object | |
y | placement of the object | |
w | width of the object | 1 |
h | height of the object | 1 |
module | name of the module to be visualized | |
source | name of the output to be visualized | |
title | title of the object | module.source |
max | maximum value for scaling | 1 |
color | color list or color table | "LUT_fire" |
drawonce | should the grid only be drawn once; set to "yes" to activiate | "no" |
Attributes without default values must be specified. |
Author
Christian Balkenius
Lund University Cognitive Science
christian.balkenius@lucs.lu.se
Files
Grid.js