SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SLTexColorLUT.h File Reference

Declares a color look up table functionality. More...

#include <SL.h>
#include <SLEventHandler.h>
#include <SLGLTexture.h>
#include <SLVec3.h>
Include dependency graph for SLTexColorLUT.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SLColorLUTPoint
 Color point with color and position value between 0-1. More...
 
struct  SLAlphaLUTPoint
 Alpha point with alpha value and position value between 0-1. More...
 
class  SLTexColorLUT
 SLTexColorLUT defines a lookup table as an 1D texture of (256) RGBA values. More...
 

Typedefs

typedef vector< SLColorLUTPointSLVColorLUTPoint
 
typedef vector< SLAlphaLUTPointSLVAlphaLUTPoint
 

Enumerations

enum  SLColorLUTType {
  CLUT_BW , CLUT_WB , CLUT_WYR , CLUT_RYGCB , CLUT_BCGYR , CLUT_RYGCBK ,
  CLUT_KBCGYR , CLUT_RYGCBM , CLUT_MBCGYR , CLUT_DAYLIGHT , CLUT_custom
}
 Predefined color lookup tables. More...
 

Detailed Description

Declares a color look up table functionality.

Date
July 2017
Authors
Marcus Hudritsch
Remarks
Please use clangformat to format the code. See more code style on https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style

Definition in file SLTexColorLUT.h.

Typedef Documentation

◆ SLVAlphaLUTPoint

Definition at line 57 of file SLTexColorLUT.h.

◆ SLVColorLUTPoint

Definition at line 47 of file SLTexColorLUT.h.

Enumeration Type Documentation

◆ SLColorLUTType

Predefined color lookup tables.

Enumerator
CLUT_BW 

black to white

CLUT_WB 

white to black

CLUT_WYR 

white to black

CLUT_RYGCB 

red to yellow to green to cyan to blue

CLUT_BCGYR 

blue to cyan to green to yellow to red

CLUT_RYGCBK 

red to yellow to green to cyan to blue to black

CLUT_KBCGYR 

black to blue to cyan to green to yellow to red

CLUT_RYGCBM 

red to yellow to green to cyan to blue to magenta

CLUT_MBCGYR 

magenta to blue to cyan to green to yellow to red

CLUT_DAYLIGHT 

daylight from sunrise to sunset with noon in the middle

CLUT_custom 

enum for any other custom LUT

Definition at line 24 of file SLTexColorLUT.h.

25 {
26  CLUT_BW, //!< black to white
27  CLUT_WB, //!< white to black
28  CLUT_WYR, //!< white to black
29  CLUT_RYGCB, //!< red to yellow to green to cyan to blue
30  CLUT_BCGYR, //!< blue to cyan to green to yellow to red
31  CLUT_RYGCBK, //!< red to yellow to green to cyan to blue to black
32  CLUT_KBCGYR, //!< black to blue to cyan to green to yellow to red
33  CLUT_RYGCBM, //!< red to yellow to green to cyan to blue to magenta
34  CLUT_MBCGYR, //!< magenta to blue to cyan to green to yellow to red
35  CLUT_DAYLIGHT, //!< daylight from sunrise to sunset with noon in the middle
36  CLUT_custom //! enum for any other custom LUT
SLColorLUTType
Predefined color lookup tables.
Definition: SLTexColorLUT.h:25
@ CLUT_WB
white to black
Definition: SLTexColorLUT.h:27
@ CLUT_RYGCBK
red to yellow to green to cyan to blue to black
Definition: SLTexColorLUT.h:31
@ CLUT_custom
enum for any other custom LUT
Definition: SLTexColorLUT.h:36
@ CLUT_MBCGYR
magenta to blue to cyan to green to yellow to red
Definition: SLTexColorLUT.h:34
@ CLUT_RYGCBM
red to yellow to green to cyan to blue to magenta
Definition: SLTexColorLUT.h:33
@ CLUT_DAYLIGHT
daylight from sunrise to sunset with noon in the middle
Definition: SLTexColorLUT.h:35
@ CLUT_BCGYR
blue to cyan to green to yellow to red
Definition: SLTexColorLUT.h:30
@ CLUT_RYGCB
red to yellow to green to cyan to blue
Definition: SLTexColorLUT.h:29
@ CLUT_KBCGYR
black to blue to cyan to green to yellow to red
Definition: SLTexColorLUT.h:32
@ CLUT_WYR
white to black
Definition: SLTexColorLUT.h:28
@ CLUT_BW
black to white
Definition: SLTexColorLUT.h:26