A "transfer function" is a mapping from data to color and opacity. The transfer function editor is used to control the color and opacity in the volume rendering of your data. Generally the opacity is used to identify the values of the variable that most interesting; other values can be made transparent. Color is used to highlight particular values, e.g. to distinguish them from other values.
VAPOR transfer function editors are available in the DVR, Iso, Probe, and 2DData Tabs. The Flow tab has a pair of similar editors, one to control transparency and the other to control color.
Consider the following image of the transfer function editor, in which several key features have been identified.
The vapor transfer function editor provides control over color and opacity. In the editor window you can manipulate color and opacity with the mouse. The upper part of the editor window has a black background, in which is displayed a histogram and an opacity graph. At the bottom of the editor window is a rainbow-colored color bar.
The editor window displays the color and opacity associated with values of the variable in between the values specified as "TF Domain Bounds". The histogram shows the frequency of data values in the interval specified by the TF Domain bounds. You can control the data interval where the transfer function applies, by dragging the domain bar or its end-arrows at the top of the editor window.
The color is determined by the colors at a number of control points on the color bar. The color between two control points is interpolated in HSV space. The opacity is determined by the opacity graph. The opacity, which takes values between 0 and 1, is linearly interpolated between its values at opacity control points. The opacity slider applies a scale factor to the opacity values.
Several of the buttons we are using are circled in the above figure:
There are several ways of modifying the transfer function. The color or opacity values at an existing control point can be changed by selecting the point and clicking with the right mouse button. Right-click on a desired location to create a new control point. Existing control points can be moved by selecting and dragging them with the left mouse button.