te::color Namespace Reference

Namespace for the Color Model of TerraLib. More...

Classes

class  ColorBar
 It models the concept of color bar. More...
 
class  ColorScheme
 It models the concept of color scheme. More...
 
class  ColorSchemeCatalog
 A catalog for color schemes. More...
 
class  ColorSchemeCatalogManager
 The ColorSchemeCatalogManager is a singleton that can be used to manage all loaded color scheme catalogs. More...
 
class  ColorSchemeGroup
 This class represents a group of color schemes. More...
 
class  ColorTransform
 A class to transform RGBA color to HSV, HSL and CMYK. More...
 
class  Module
 This singleton defines the TerraLib Color module entry. More...
 
class  RGBAColor
 A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color. More...
 

Functions

TECOLOREXPORT te::color::ColorSchemeCatalogGetSchemeCatalog (std::string catalogName)
 
TECOLOREXPORT te::color::ColorSchemeCatalogloadColorBar (const std::string &jsonfile, const std::string &catalogName)
 This file contains utility functions for color bar. More...
 
TECOLOREXPORT bool saveCustomColorBar (const std::string &groupName, const std::string &schemeName, const std::vector< te::color::RGBAColor > rgbaVec)
 This method save the custom color bar in a JSON file. More...
 

Detailed Description

Namespace for the Color Model of TerraLib.

Function Documentation

◆ GetSchemeCatalog()

TECOLOREXPORT te::color::ColorSchemeCatalog* te::color::GetSchemeCatalog ( std::string  catalogName)

◆ saveCustomColorBar()

TECOLOREXPORT bool te::color::saveCustomColorBar ( const std::string &  groupName,
const std::string &  schemeName,
const std::vector< te::color::RGBAColor rgbaVec 
)

This method save the custom color bar in a JSON file.