MapSlopeAnglesToColors Data Member Function

Maps grayscale slope angle colors onto a different 256-color palette.

Prototype

int32 MapSlopeAnglesToColors( ColorArray p_acSoureColors, ColorArray p_acPaletteColors, ColorArray p_acDestColors )

Parameters

Parameter Type Parameter Name Documentation
<ColorArray>p_acSoureColorsA pointer to a <ColorArray> that contains the grayscale slope angle colors.
<ColorArray>p_acPaletteColorsA pointer to a <ColorArray> that contains the new 256-color palette. The range of colors maps from least slope angle to greatest slope angle.
<ColorArray>p_acDestColorsA pointer to a <ColorArray> that stores the new slope angle color map results.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.