#include <palettes.hpp>
Definition at line 18 of file palettes.hpp.
PaletteState::PaletteState |
( |
| ) |
|
int PaletteState::ChoosePalette |
( |
| ) |
|
void PaletteState::GenerateAlphaTexture |
( |
float |
matAlpha, |
|
|
float |
matAlphaCenter |
|
) |
| |
GLuint PaletteState::GetAlphaTexture |
( |
| ) |
const |
|
inline |
double PaletteState::GetColorCoord |
( |
double |
val, |
|
|
double |
min, |
|
|
double |
max |
|
) |
| |
void PaletteState::GetColorFromVal |
( |
double |
val, |
|
|
float * |
rgba |
|
) |
| |
GLuint PaletteState::GetColorTexture |
( |
| ) |
const |
|
inline |
int PaletteState::GetCurrIndex |
( |
| ) |
const |
|
inline |
const double * PaletteState::GetData |
( |
| ) |
const |
Gets the data in the palette color array.
Definition at line 7810 of file palettes.cpp.
int PaletteState::GetNumColors |
( |
int |
pal = -1 | ) |
const |
|
inline |
Gets the number of colors used in the current palette color array.
Definition at line 42 of file palettes.hpp.
int PaletteState::GetRepeatTimes |
( |
| ) |
const |
|
inline |
int PaletteState::GetSize |
( |
int |
pal = -1 | ) |
const |
Gets the total number of colors in the current palette color array.
Definition at line 7815 of file palettes.cpp.
int PaletteState::GetSmoothSetting |
( |
| ) |
|
|
inline |
Gets whether the smooth texture is being used (1 = true)
Definition at line 29 of file palettes.hpp.
bool PaletteState::GetUseLogscale |
( |
| ) |
|
|
inline |
void PaletteState::Init |
( |
| ) |
|
void PaletteState::NextIndex |
( |
| ) |
|
void PaletteState::PrevIndex |
( |
| ) |
|
int PaletteState::SelectNewRGBPalette |
( |
| ) |
|
void PaletteState::SetIndex |
( |
int |
num | ) |
|
|
inline |
Sets the palette texture to bind.
Definition at line 31 of file palettes.hpp.
void PaletteState::SetNumColors |
( |
int |
numColors | ) |
|
|
inline |
Sets the number of colors to use in the current palette color array.
Definition at line 45 of file palettes.hpp.
void PaletteState::SetRepeatTimes |
( |
int |
rpt | ) |
|
|
inline |
void PaletteState::SetUseLogscale |
( |
bool |
logscale | ) |
|
|
inline |
void PaletteState::UseDiscrete |
( |
| ) |
|
|
inline |
Binds the discrete version of the current palette texture.
Definition at line 25 of file palettes.hpp.
void PaletteState::UseSmooth |
( |
| ) |
|
|
inline |
Binds the smooth version of the current palette texture.
Definition at line 27 of file palettes.hpp.
The documentation for this class was generated from the following files: