Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Static Public Member Functions | List of all members
TYColorManager Class Reference

#include <color.h>

Static Public Member Functions

static void getSCurveColorTable (const unsigned int &nbColors, const float *hueRange, const float *saturationRange, const float *valueRange, OLookupTable &outColors)
 Generation de la table de couleurs basee sur une rampe S-Curve ( y = (1-cos(pi*x))/2 ) More...
 
static void getLinearColorTable (const unsigned int &nbColors, const float *hueRange, const float *saturationRange, const float *valueRange, OLookupTable &outColors)
 Generation de la table de couleurs basee sur une rampe lineaire ( y = x+0.5/255 ) More...
 
static void getSqrtColorTable (const unsigned int &nbColors, const float *hueRange, const float *saturationRange, const float *valueRange, OLookupTable &outColors)
 Generation de la table de couleurs basee sur une rampe sqrt ( y = sqrt(x)+0.5/255 ) More...
 
static void getGaussColorTable (const unsigned int &nbColors, const float &alpha1, const float &alpha2, OLookupTable &outColors)
 Generation de la table de couleurs a partir d'une repartition gaussienne en R, G, B. More...
 

Detailed Description

Classe utilitaire permettant de gerer les palettes de couleurs pour les cartographies

Definition at line 145 of file color.h.

Member Function Documentation

◆ getGaussColorTable()

void TYColorManager::getGaussColorTable ( const unsigned int &  nbColors,
const float &  alpha1,
const float &  alpha2,
OLookupTable outColors 
)
static

Generation de la table de couleurs a partir d'une repartition gaussienne en R, G, B.

Definition at line 359 of file color.cpp.

◆ getLinearColorTable()

void TYColorManager::getLinearColorTable ( const unsigned int &  nbColors,
const float *  hueRange,
const float *  saturationRange,
const float *  valueRange,
OLookupTable outColors 
)
static

Generation de la table de couleurs basee sur une rampe lineaire ( y = x+0.5/255 )

Definition at line 308 of file color.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSCurveColorTable()

void TYColorManager::getSCurveColorTable ( const unsigned int &  nbColors,
const float *  hueRange,
const float *  saturationRange,
const float *  valueRange,
OLookupTable outColors 
)
static

Generation de la table de couleurs basee sur une rampe S-Curve ( y = (1-cos(pi*x))/2 )

Definition at line 283 of file color.cpp.

Here is the call graph for this function:

◆ getSqrtColorTable()

void TYColorManager::getSqrtColorTable ( const unsigned int &  nbColors,
const float *  hueRange,
const float *  saturationRange,
const float *  valueRange,
OLookupTable outColors 
)
static

Generation de la table de couleurs basee sur une rampe sqrt ( y = sqrt(x)+0.5/255 )

Definition at line 334 of file color.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: