vector< SLfloat > SLVfloat
vector< SLColorLUTPoint > SLVColorLUTPoint
SLColorLUTType
Predefined color lookup tables.
@ CLUT_RYGCBK
red to yellow to green to cyan to blue to black
@ CLUT_custom
enum for any other custom LUT
@ CLUT_MBCGYR
magenta to blue to cyan to green to yellow to red
@ CLUT_RYGCBM
red to yellow to green to cyan to blue to magenta
@ CLUT_DAYLIGHT
daylight from sunrise to sunset with noon in the middle
@ CLUT_BCGYR
blue to cyan to green to yellow to red
@ CLUT_RYGCB
red to yellow to green to cyan to blue
@ CLUT_KBCGYR
black to blue to cyan to green to yellow to red
vector< SLAlphaLUTPoint > SLVAlphaLUTPoint
vector< SLCol3f > SLVCol3f
Toplevel holder of the assets meshes, materials, textures and shaders.
Virtual Eventhandler class.
Texture object for OpenGL texturing.
The SLScene class represents the top level instance holding the scene structure.
SceneView class represents a dynamic real time 3D view onto the scene.
SLTexColorLUT defines a lookup table as an 1D texture of (256) RGBA values.
SLVAlphaLUTPoint _alphas
vector of colors in TF
SLVColorLUTPoint _colors
Color LUT identifier.
SLTexColorLUT(SLAssetManager *assetMgr, SLColorLUTType lutType, SLuint length=256)
Default ctor color LUT of a specific SLColorLUTType.
SLVColorLUTPoint & colors()
SLColorLUTType _colorLUT
Length of transfer function (default 256)
SLVfloat allAlphas()
Returns all alpha values of the transfer function as a float vector.
SLVCol3f allColors()
Returns all alpha values of the transfer function as a float vector.
void generateTexture()
Generates the full 256 value LUT as 1x256 RGBA texture.
SLVAlphaLUTPoint & alphas()
Alpha point with alpha value and position value between 0-1.
SLAlphaLUTPoint(SLfloat alphaVal, SLfloat posVal)
Color point with color and position value between 0-1.
SLColorLUTPoint(SLCol3f colorVal, SLfloat posVal)