Additional VisAD examples

I have coded several small VisAD programs over the years to demonstrate various VisAD concepts. I thought it might be nice to provide them all from a web site, as one more VisAD resource. Enjoy! :-)

Source file Comments
AnchoredPoint.java A VisAD display containing a fixed-width line with one manipulable endpoint, and one fixed endpoint. This example should be useful for learning about VisAD's direct manipulation and computational cell (CellImpl) logic.
CursorSSCell.java A VisAD SpreadSheet cell extension that prints the cursor coordinates to the console as they change. This example should be useful for learning how to write your own SpreadSheet cell extensions, for defining custom SpreadSheet behaviors.
FormulaEval.java A command-line application that demonstrates the visad.formula package by evaluating simple formulas. This example should be useful for deciphering VisAD's formula package. Note, however, that the visad.formula package is somewhat obsolete now, since VisAD is integrated so well with Jython, which provides similar but much more advanced functionality.
IrregularRenderTest.java An example of how to do volume rendering when your data is not evenly spaced. This program is very similar to LinearRenderTest, except that the domain set is an Irregular3DSet, which must be resampled to a Linear3DSet before VisAD can display the data as a volume rendering.
LinearRenderTest.java A simple demonstration of VisAD's volume rendering capabilities.
MiniDataServer.java An example that serves a data object on an RMI server. The object can then be viewed remotely with the VisAD SpreadSheet. This example should be useful for deciphering the VisAD SpreadSheet's RMI support.
RadialLine.java Similar to AnchoredPoint, but uses manual picking instead of a VisAD direct manipulation renderer. This implementation allows the user to drag the line around no matter where on the line it is clicked. This method is a bit more work than AnchoredPoint, but offers more control.
RiversColor.java This program is just like visad/examples/Rivers.java, except that the line segments are different colors instead of plain white. (This scenario requires a more complex MathType.)
SurfaceAnimation.java Illustrates a curved 2D surface embedded in a 3D display, whose color values animate over time, using MathType (time -> ((x, y) -> (z, value))).
WhiteSSCell.java A VisAD SpreadSheet cell extension with white cell backgrounds instead of black ones. This example should be useful for learning how to write your own SpreadSheet cell extensions, for defining custom SpreadSheet behaviors.


This page last updated Monday, 10 October 2005.