Public Member Functions | |
| bool | Save (const char *fname) |
| bool | Load (const char *fname) |
| void | Add (float elev, const RGBi &color) |
| void | RemoveAt (int num) |
| int | Num () const |
| void | GenerateColors (std::vector< RGBi > &table, int iTableSize, float fMin, float fMax) const |
Public Attributes | |
| bool | m_bBlend |
| bool | m_bRelative |
| std::vector< float > | m_elev |
| std::vector< RGBi > | m_color |
|
||||||||||||
|
Add a color entry, keeping the elevation values sorted. |
|
||||||||||||||||||||
|
Generate an array of interpolated colors from this ColorMap.
|
1.4.5