A FieldType describing the shape of the field to be visualized.
A list of properties that should be persisted when the app closes, and restored the next time it's launched.
A list of properties that should be persisted when the app closes, and restored the next time it's launched. A common example of a persistent is the zoom/magnification level of the viewer. Be sure to add any relevenant properties to this list in your Viewer subclasses!
Returns the XML representation of this viewer's properties, suitable for saving into a file.
Returns the XML representation of this viewer's properties, suitable for saving into a file.
Reset the visualization.
Reset the visualization. An optional operation; subclasses must override this method or else it does nothing.
Updates the visualization based on the contents of data
.
Updates the visualization based on the contents of data
.
The field or object that generated the data
argument
New field data that needs to be rendered by this viewer
The ComputeGraph's step count at the time the data
argument was generated
Parses the XML tag produced by the propertiesTag
method and restores
any saved valued to this Viewer.
Parses the XML tag produced by the propertiesTag
method and restores
any saved valued to this Viewer.
A visualization for ScalarFields of two dimensions or less that presents the field as a scatter plot of column index vs value. For 2D fields, rows are differentiated by using a different set of colors/symbols for each row.
An example of a 2x10 2D scalar field containing values in [0, 1] viewed as a scatter plot would look something like this: