mil.navy.nps.rra
Class ExampleColorBar

java.lang.Object
  |
  +--mil.navy.nps.rra.ExampleColorBar

public class ExampleColorBar
extends java.lang.Object

Produces an example VRML scene displaying a colorbar.

When a VRML scene is plotted, the various color quantities can be indentified using a colorbar that is placed in the corner of viewpoints in the scene. Available color-mapping and intensity-mapping codewords and methods are defined in class printVRML. Mapping various sonar parameters to color and intensity scales enables scientific visualization of generated RRA results.

Save the output to a file for viewing in a VRML browser, e.g.

java mil.navy.nps.rra.ExampleColorBar > ExampleColorBar.wrl

Version:
1.0
Author:
LT Timothy M. Holliday USN

Contact: Don Brutzman (devo.stl.nps.navy.mil/brutzman) brutzman@nps.navy.mil

Output scene:
ExampleColorBar ~vrtp/mil/navy/nps/rra/ExampleColorBar.wrl
http://devo.stl.nps.navy.mil/~brutzman/vrtp/mil/navy/nps/rra/ExampleColorBar.wrl

Source Code:
~vrtp/mil/navy/nps/rra/ExampleColorBar.java
http://devo.stl.nps.navy.mil/~brutzman/vrtp/mil/navy/nps/rra/ExampleColorBar.java

History:
16May97 /Timothy M. Holliday /New
History:
16 May 97 Timothy M. Holliday New
10 Oct 98 Don Brutzman Javadoc updates for jdk1.2b4
updated printVRML.colorBar (...) parameter list
25 April 99 Don Brutzman Javadoc updates for jdk1.2.1

Reference:
Holliday, Timothy, Real-Time 3D Sonar Modeling and Visualization, Master's Thesis, Naval Postgraduate School, Monterey California, June 1998. Available at vrtp/rra/HollidayRRAthesis.pdf. and devo.stl.nps.navy.mil/~brutzman/vrtp/rra/HollidayRRAthesis.pdf. Slideset available in Powerpoint and Acrobat .pdf formats.


Constructor Summary
ExampleColorBar()
           
 
Method Summary
static void main(java.lang.String[] args)
          This command-line application initializes the color bar, specifies vertical & horizontal color-intensity schemes, specifies various ColorBar text labels, and then prints the VRML that is generated as plain text to the console.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleColorBar

public ExampleColorBar()
Method Detail

main

public static void main(java.lang.String[] args)
This command-line application initializes the color bar, specifies vertical & horizontal color-intensity schemes, specifies various ColorBar text labels, and then prints the VRML that is generated as plain text to the console.