Public web page of
ColorMapLibrary
Overview
Formerly a component of the
ShapeViewer, the
ColorMapLibrary
is an independent AWT
GUI component that will map numbers in to RGBA colors
via a color mapping.
This mapping may be:
- loaded from a color map file
- defined, via the GUI, by the user
- saved to a color map file.
Restrictions, Exclusions, Limitations
- supports existing color map files
- java 1.5 is expected
People Affected
| Person | Initials | Role | Notes |
| | | programmer | |
| Craig Schwartz | CS | project supervisor and programmer | |
| Roger Woods | RW | project sponsor | |
Version
1.0
Requirements
- Java 1.5 is used to implement this program
- The color map and its' GUI are separate.
- The GUI may be instantiated, or deleted, at any time, and is not needed to perform the other color map operations
Command line Options
Requirements Change Procedure
- Changes to be mutually agreed upon by __ and __.
- Changes and their date will be entered in a 'requirements change' list.
Requirements Changes
Products
This project will result in the following products:
- An application program that does what we said.
- junit test cases
- a pipleline wrapper (.pipe) file for the GRID build
- A Twiki user web page describing in detail, with a picture! the blend algorithm.
Typical Usage
As a
GUI support library
Lessons Learned
(filled out after the post-project review)
Edit Control Point Color Map inflection points
Overview
The various control point color maps define their color maps via the
positions of inflection points in the mappings that set the intensity of
the Red, Green, Blue and Alpha channels of the color map.
Currently the user of a control point color map sets the values of these points
by moving them with a mouse. This is inexact, and it is difficult to set a specific
value. An example of the need to precisely set the inflection point values is that of
a p-value threshold; A user might want to color vertices whose p-value attribute
is %lt; 0.005 green, and the rest, Red. This requires the ability to set the location of a
control point to exactly 0.005
This color map project aims to add this capability to the Control Point color maps.
Requirements
- Uses will be able to set the exact value a particular control point,using the color map GUI.
- The numerical value thus set can be pasted from the clipboard.
- If text is used as the data entry method, illegal values (ex.: 34d ) will result in the presentation of an error dialog that alerts the user to the problem and provides the options of a) cancelling the change in data value or b) re-entering the data value.
- Any gui components the support this capability will be contained in the same GUI frame as the rest of the user editable control point color map.
- Java 1.5 or greater is expected.
- JUnit testing will be accomplished by public methods that, when called, select, set and get the values of a particular control point.
- Descriptions of this new capabilty will be added to the ColorMapLibrary documentation. This docuementation will particularly include:
- an short code example of using the public interface to select a control point, set it's value tentativly, and allow the user to explicitly confirm the changed value.
- 2 or 3 small screen images illustrating the selection and setting of a control point.
Schedule
- Project defined: 18 June 2008
- Project Begun:
- Project Completed: