File menu items read shapes from local computer files or from remote files.
View menu items change how the shapes are drawn.
Rotates shapes so that shapes' front sides face to the user if the user viewing from front. Similar to 'Viewing from Front'
Advanced menu items provide advanced user services.
As an example, type 'print(System.getProperties());' and hit Return.
You may type the predefined commands to manipulate the viewer.
It has a variable named 'viewer' which is the reference to the Viewer object, e.g. You can change viewer's background color to red by typing 'viewer.setBackGroundColor(Color.red);'.
Mouse actions control the viewing angle, zoom, and location of the shape display.
| Computer | |||
|---|---|---|---|
| Function | Windows | Mac OS X | Linux |
| Rotate Display | Left Mouse Button | Mouse | Left Mouse Button |
| Zoom Display | Middle Mouse Button OR Left Mouse Button with key “Alt” down |
Option+ Mouse | Middle Mouse Button |
| Pan Display | Right Mouse Button | Apple (cloverleaf) + Mouse | Right Mouse Button |
Control Pane controls the rendering attributes such as color and visiblity of the shapes.
Ranges report the dimensions of the world space occupied by the shapes.
Color map Dialog .
The color map allows a user to define a function mapping a scalar (data attribute) value to an RGBA color.
The color map dialog has 6 panels. From left to right,
the first pane shows the currently set colors.
The second panel shows
the values of control points of the mapping function.
The third, fourth ,
fifth and sixth panel define the map function in terms of it's primitive Red,
Green and Blue and Opacity (alpha) color components.
The color
component map functions are formed from piecewise linear maps joined at
control points. Maps of any complexity may be formed by adding, deleting and
moving the control points.
Add a Control Point by double -
clicking the mouse in the color panel.
Delete a Control
Point by double -
clicking the mouse to it
Change a Control Point by dragging the point, or by
right-clicking the control point and editing the value dialog box.
A control point has two components, the first is its vertical value,
associated with the value of the (mapped) data attribute. The second component
is refers to a color component (R,G,B or A). The horizontal value ranges from
0.0 to 1.0.
The (vertical) value range of the color map can be modified by two text
fields to determine the range of data attribute values colored by the color
map. Data values outside the range of the color map are colored black.
This range may (and should) be manually edited to customize the coloring
scheme.
Note:After editing a range value you must type type
the Enter key to update the color map with the new value.
You can manipulate a color map by
Custom Color Maps may be saved to and restored from disk files.
Button Panel
ShapeViewer
version 1.1
Copyright (C) 2005,2006 UCLA Laboratory of Neuro-Imaging