GDAL: GDALColorEntry Struct Reference

# GDALColorEntry Struct Reference

`#include <gdal.h>`

List of all members.

## Public Attributes
short | c1
short | c2
short | c3
short | c4

## Detailed Description

Color tuple

## Member Data Documentation

short GDALColorEntry::c1

gray, red, cyan or hue

Referenced by GDALColorTable::CreateColorRamp(), GDALComputeMedianCutPCT(), GDALDitherRGB2PCT(), GDALRasterBand::GetIndexColorTranslationTo(), GDALRasterAttributeTable::InitializeFromColorTable(), GDALColorTable::SetColorEntry(), and GDALRasterAttributeTable::TranslateToColorTable().

short GDALColorEntry::c2

green, magenta, or lightness

Referenced by GDALColorTable::CreateColorRamp(), GDALComputeMedianCutPCT(), GDALDitherRGB2PCT(), GDALRasterBand::GetIndexColorTranslationTo(), GDALRasterAttributeTable::InitializeFromColorTable(), GDALColorTable::SetColorEntry(), and GDALRasterAttributeTable::TranslateToColorTable().

short GDALColorEntry::c3

blue, yellow, or saturation

Referenced by GDALColorTable::CreateColorRamp(), GDALComputeMedianCutPCT(), GDALDitherRGB2PCT(), GDALRasterBand::GetIndexColorTranslationTo(), GDALRasterAttributeTable::InitializeFromColorTable(), GDALColorTable::SetColorEntry(), and GDALRasterAttributeTable::TranslateToColorTable().

short GDALColorEntry::c4

alpha or blackband

Referenced by GDALColorTable::CreateColorRamp(), GDALComputeMedianCutPCT(), GDALRasterAttributeTable::InitializeFromColorTable(), GDALColorTable::SetColorEntry(), and GDALRasterAttributeTable::TranslateToColorTable().

The documentation for this struct was generated from the following file:

- gdal.h

Generated for GDAL by 1.5.9.