![]() |
![]() |
![]() |
![]() |
Datamap components
A datamap converts scalar node data or cell data values to RGB colors.
There are several higher-level datamap components that are composed of the objects described in the previous section. These higher-level objects are described in the sections below.
DefaultLinearRange
DefaultStepRange
DefaultLinear
DefaultLinear defines the default datamap that is used by other Graphics Display Kit objects (for example, DataObject and GroupObject).
DefaultLinear is defined with an HSV color model. It contains a single data range of size 256 with two control points that run from blue to red, going through green.
The minimum and maximum values of the scalar input data, typically obtained through connections to the object GDminmax.
GreyScale
GreyScale is defined with an HSV color model. It contains a single data range of size 256 with two control points that run from black to white.DefaultLinear is defined with an HSV color model. It contains a single data range of size 256 with two control points that run from blue to red, going through green.
The minimum and maximum values of the scalar input data, typically obtained through connections to the object GDminmax.
VolumeRender
VolumeRender is defined with an HSV color model. It contains two data ranges with a combined size of 256. It contains three control points that run from blue to red through green -- in the same manner as DefaultLinear.
VolumeRender is configured so that only the first and last control points are allowed to be edited. The middle control point color (that is, v2, v3, v4) components are not editable; instead they are computed from the first and last control point. The values of the middle control point are kept such that the datamap always has a linear ramp from blue to red. The alpha (that is, v1) component of the middle control point is editable. This is allowed so reasonable control over the alpha component of the datamap is obtained.
The minimum and maximum values of the scalar input data, typically obtained through connections to the object GDminmax.
VolumeRender
HotMetal is defined with an RGB color model. It contains three data ranges with a combined size of 256. It contains four control points that run from black to red to orange to white. Each data range has two control points. The middle data range shares control points with the ranges on either side.
HotMetal is configured so that all control points are allowed to be edited. The size of the ranges is not editable as it is computed based on the placement of the ranges within the total data range.
The minimum and maximum values of the scalar input data, typically obtained through connections to the object GDminmax.
VolumeRender
CyanYellowRed is defined with an RGB color model. It contains two data ranges with a combined size of 256. It contains three control points that run from cyan to yellow to red. Each data range has two control points. The middle control point is shared between the two data ranges.
CyanYellowRed is configured so that all control points are allowed to be edited. The size of the ranges is not editable as it is computed based on the placement of the ranges within the total data range.
![]() |
![]() |
![]() |
![]() |