GLVis  v4.0
Accurate and flexible finite element visualization
Functions
palettes.hpp File Reference

Go to the source code of this file.

Functions

void paletteInit ()
 Initializes the palette textures. More...
 
void paletteUseDiscrete ()
 Binds the discrete version of the current palette texture. More...
 
void paletteUseSmooth ()
 Binds the smooth version of the current palette texture. More...
 
void paletteSet (int num)
 Sets the palette texture to bind. More...
 
double * paletteGet ()
 Gets the palette color array. More...
 
void paletteRebind ()
 Rebind the color and alpha textures to their texture units. More...
 
int paletteGetSize (int pal=-1)
 
void GenerateAlphaTexture (float matAlpha, float matAlphaCenter)
 
void Next_RGB_Palette ()
 
void Prev_RGB_Palette ()
 
int Choose_Palette ()
 
int Select_New_RGB_Palette ()
 

Function Documentation

◆ Choose_Palette()

int Choose_Palette ( )

Definition at line 7503 of file palettes.cpp.

◆ GenerateAlphaTexture()

void GenerateAlphaTexture ( float  matAlpha,
float  matAlphaCenter 
)

Definition at line 7783 of file palettes.cpp.

◆ Next_RGB_Palette()

void Next_RGB_Palette ( )

Definition at line 7817 of file palettes.cpp.

◆ paletteGet()

double* paletteGet ( )

Gets the palette color array.

Definition at line 7769 of file palettes.cpp.

◆ paletteGetSize()

int paletteGetSize ( int  pal = -1)

Definition at line 7774 of file palettes.cpp.

◆ paletteInit()

void paletteInit ( )

Initializes the palette textures.

Definition at line 7700 of file palettes.cpp.

◆ paletteRebind()

void paletteRebind ( )

Rebind the color and alpha textures to their texture units.

Definition at line 7691 of file palettes.cpp.

◆ paletteSet()

void paletteSet ( int  num)

Sets the palette texture to bind.

Definition at line 7763 of file palettes.cpp.

◆ paletteUseDiscrete()

void paletteUseDiscrete ( )

Binds the discrete version of the current palette texture.

Definition at line 7751 of file palettes.cpp.

◆ paletteUseSmooth()

void paletteUseSmooth ( )

Binds the smooth version of the current palette texture.

Definition at line 7757 of file palettes.cpp.

◆ Prev_RGB_Palette()

void Prev_RGB_Palette ( )

Definition at line 7822 of file palettes.cpp.

◆ Select_New_RGB_Palette()

int Select_New_RGB_Palette ( )

Definition at line 7828 of file palettes.cpp.