GLVis  v3.3
Accurate and flexible finite element visualization
Functions | Variables
palettes.hpp File Reference

Go to the source code of this file.

Functions

double corr (double a, double x)
 
void Init_Visit_Calewhite_Palette ()
 
void Init_Palettes ()
 
void Set_Texture_Image ()
 
void Set_Palette (int num)
 
void Next_RGB_Palette ()
 
int Select_New_RGB_Palette ()
 

Variables

const int RGB_Palette_1_Size = 5
 
double RGB_Palette_1 [RGB_Palette_1_Size][3]
 
const int RGB_Palette_2_Size = 2
 
double RGB_Palette_2 [RGB_Palette_2_Size][3]
 
const int RGB_Palette_3_Size = 65
 
double RGB_Palette_3 [RGB_Palette_3_Size][3]
 
const int RGB_Palette_4_Size = 2
 
double RGB_Palette_4 [RGB_Palette_4_Size][3]
 
const int RGB_Palette_5_Size = 64
 
double RGB_Palette_5 [RGB_Palette_5_Size][3]
 
const int RGB_Palette_6_Size = 64
 
double RGB_Palette_6 [RGB_Palette_6_Size][3]
 
const int RGB_Palette_7_Size = 64
 
double RGB_Palette_7 [RGB_Palette_7_Size][3]
 
const int RGB_Palette_8_Size = 64
 
double RGB_Palette_8 [RGB_Palette_8_Size][3]
 
const int RGB_Palette_9_Size = 64
 
double RGB_Palette_9 [RGB_Palette_9_Size][3]
 
const int RGB_Palette_10_Size = 64
 
double RGB_Palette_10 [RGB_Palette_10_Size][3]
 
const int RGB_Palette_11_Size = 64
 
double RGB_Palette_11 [RGB_Palette_11_Size][3]
 
const int RGB_Palette_12_Size = 2
 
double RGB_Palette_12 [RGB_Palette_12_Size][3]
 
const int RGB_Palette_13_Size = (4*16+1)
 
double RGB_Palette_13 [RGB_Palette_13_Size][3]
 
const int RGB_Palette_14_Size = 256
 
double RGB_Palette_14 [RGB_Palette_14_Size][3]
 
const int RGB_Palette_15_Size = 256
 
double RGB_Palette_15 [RGB_Palette_15_Size][3]
 
const int RGB_Palette_16_Size = 256
 
double RGB_Palette_16 [RGB_Palette_16_Size][3]
 
const int RGB_Palette_17_Size = 255
 
double RGB_Palette_17 [RGB_Palette_17_Size][3]
 
const int RGB_Palette_18_Size = 256
 
double RGB_Palette_18 [RGB_Palette_18_Size][3]
 
const int RGB_Palette_19_Size = 256
 
double RGB_Palette_19 [RGB_Palette_19_Size][3]
 
const int RGB_Palette_20_Size = 256
 
double RGB_Palette_20 [RGB_Palette_20_Size][3]
 
const int RGB_Palette_21_Size = 256
 
double RGB_Palette_21 [RGB_Palette_21_Size][3]
 
const int RGB_Palette_22_Size = 151
 
double RGB_Palette_22 [RGB_Palette_22_Size][3]
 
const int RGB_Palette_23_Size = 6*32+1
 
double RGB_Palette_23 [RGB_Palette_23_Size][3]
 
const int RGB_Palette_24_Size = 31
 
double RGB_Palette_24 [RGB_Palette_24_Size][3]
 
const int RGB_Palette_25_Size = (4*16+1)
 
double RGB_Palette_25 [RGB_Palette_25_Size][3]
 
const int Num_RGB_Palettes = 25
 
const int RGB_Palettes_Sizes [Num_RGB_Palettes]
 
double * RGB_Palettes [Num_RGB_Palettes]
 
const char * RGB_Palettes_Names [Num_RGB_Palettes]
 
int Default_RGB_Palette = 2
 
int RGB_Palette_Size = RGB_Palettes_Sizes[Default_RGB_Palette]
 
double * RGB_Palette = RGB_Palettes[Default_RGB_Palette]
 

Function Documentation

double corr ( double  a,
double  x 
)

Definition at line 3003 of file palettes.hpp.

void Init_Palettes ( )

Definition at line 3040 of file palettes.hpp.

void Init_Visit_Calewhite_Palette ( )

Definition at line 3009 of file palettes.hpp.

void Next_RGB_Palette ( )

Definition at line 3141 of file palettes.hpp.

int Select_New_RGB_Palette ( )

Definition at line 3146 of file palettes.hpp.

void Set_Palette ( int  num)

Definition at line 3132 of file palettes.hpp.

void Set_Texture_Image ( )

Definition at line 1588 of file aux_vis.cpp.

Variable Documentation

int Default_RGB_Palette = 2

Definition at line 2999 of file palettes.hpp.

const int Num_RGB_Palettes = 25

Definition at line 2964 of file palettes.hpp.

double* RGB_Palette = RGB_Palettes[Default_RGB_Palette]

Definition at line 3001 of file palettes.hpp.

double RGB_Palette_1[RGB_Palette_1_Size][3]
Initial value:
=
{
{ 0, 0, 1 },
{ 0, 1, 1 },
{ 0, 1, 0 },
{ 1, 1, 0 },
{ 1, 0, 0 }
}

Definition at line 22 of file palettes.hpp.

double RGB_Palette_10[RGB_Palette_10_Size][3]

Definition at line 489 of file palettes.hpp.

const int RGB_Palette_10_Size = 64

Definition at line 488 of file palettes.hpp.

double RGB_Palette_11[RGB_Palette_11_Size][3]

Definition at line 558 of file palettes.hpp.

const int RGB_Palette_11_Size = 64

Definition at line 557 of file palettes.hpp.

double RGB_Palette_12[RGB_Palette_12_Size][3]
Initial value:
=
{
{ 1.0, 1.0, 1.0 },
{ 1.0, 1.0, 1.0 }
}

Definition at line 627 of file palettes.hpp.

const int RGB_Palette_12_Size = 2

Definition at line 626 of file palettes.hpp.

double RGB_Palette_13[RGB_Palette_13_Size][3]

Definition at line 681 of file palettes.hpp.

const int RGB_Palette_13_Size = (4*16+1)

Definition at line 680 of file palettes.hpp.

double RGB_Palette_14[RGB_Palette_14_Size][3]

Definition at line 684 of file palettes.hpp.

const int RGB_Palette_14_Size = 256

Definition at line 683 of file palettes.hpp.

double RGB_Palette_15[RGB_Palette_15_Size][3]

Definition at line 945 of file palettes.hpp.

const int RGB_Palette_15_Size = 256

Definition at line 944 of file palettes.hpp.

double RGB_Palette_16[RGB_Palette_16_Size][3]

Definition at line 1205 of file palettes.hpp.

const int RGB_Palette_16_Size = 256

Definition at line 1204 of file palettes.hpp.

double RGB_Palette_17[RGB_Palette_17_Size][3]

Definition at line 1466 of file palettes.hpp.

const int RGB_Palette_17_Size = 255

Definition at line 1465 of file palettes.hpp.

double RGB_Palette_18[RGB_Palette_18_Size][3]

Definition at line 1726 of file palettes.hpp.

const int RGB_Palette_18_Size = 256

Definition at line 1725 of file palettes.hpp.

double RGB_Palette_19[RGB_Palette_19_Size][3]

Definition at line 1987 of file palettes.hpp.

const int RGB_Palette_19_Size = 256

Definition at line 1986 of file palettes.hpp.

const int RGB_Palette_1_Size = 5

Definition at line 21 of file palettes.hpp.

double RGB_Palette_2[RGB_Palette_2_Size][3]
Initial value:
=
{
{ 1.0, 0.0, 0.0 },
{ 1.0, 0.0, 0.0 }
}

Definition at line 32 of file palettes.hpp.

double RGB_Palette_20[RGB_Palette_20_Size][3]

Definition at line 2248 of file palettes.hpp.

const int RGB_Palette_20_Size = 256

Definition at line 2247 of file palettes.hpp.

double RGB_Palette_21[RGB_Palette_21_Size][3]

Definition at line 2509 of file palettes.hpp.

const int RGB_Palette_21_Size = 256

Definition at line 2508 of file palettes.hpp.

double RGB_Palette_22[RGB_Palette_22_Size][3]

Definition at line 2770 of file palettes.hpp.

const int RGB_Palette_22_Size = 151

Definition at line 2769 of file palettes.hpp.

double RGB_Palette_23[RGB_Palette_23_Size][3]

Definition at line 2926 of file palettes.hpp.

const int RGB_Palette_23_Size = 6*32+1

Definition at line 2925 of file palettes.hpp.

double RGB_Palette_24[RGB_Palette_24_Size][3]
Initial value:
=
{
{0.300725, 0.680491, 0.901701}, {0.343564, 0.712004, 0.917969},
{0.386403, 0.743518, 0.934237}, {0.441409, 0.694656, 0.899639},
{0.496414, 0.645794, 0.86504}, {0.550366, 0.581752, 0.822636},
{0.604318, 0.51771, 0.780231}, {0.651771, 0.474934, 0.743461},
{0.699224, 0.432157, 0.70669}, {0.738903, 0.424989, 0.675772},
{0.778582, 0.417821, 0.644854}, {0.810852, 0.444937, 0.617053},
{0.843122, 0.472052, 0.589251}, {0.868355, 0.522424, 0.564101},
{0.893588, 0.572795, 0.538951}, {0.91124, 0.630943, 0.519525},
{0.928891, 0.68909, 0.500098}, {0.937118, 0.739358, 0.491394},
{0.945344, 0.789625, 0.482689}, {0.940976, 0.819233, 0.488234},
{0.936608, 0.84884, 0.493779}, {0.915305, 0.849461, 0.511525},
{0.894001, 0.850082, 0.529271}, {0.850401, 0.817693, 0.547873},
{0.806801, 0.785304, 0.566474}, {0.734503, 0.71805, 0.563027},
{0.662204, 0.650797, 0.559579}, {0.553381, 0.54463, 0.499912},
{0.444557, 0.438462, 0.440244}, {0.289045, 0.280283, 0.282844},
{0.133532, 0.122103, 0.125444}
}

Definition at line 2929 of file palettes.hpp.

const int RGB_Palette_24_Size = 31

Definition at line 2928 of file palettes.hpp.

double RGB_Palette_25[RGB_Palette_25_Size][3]

Definition at line 2962 of file palettes.hpp.

const int RGB_Palette_25_Size = (4*16+1)

Definition at line 2961 of file palettes.hpp.

const int RGB_Palette_2_Size = 2

Definition at line 31 of file palettes.hpp.

double RGB_Palette_3[RGB_Palette_3_Size][3]

Definition at line 39 of file palettes.hpp.

const int RGB_Palette_3_Size = 65

Definition at line 38 of file palettes.hpp.

double RGB_Palette_4[RGB_Palette_4_Size][3]
Initial value:
=
{
{ 1.0, 0.8431, 0.0 },
{ 1.0, 0.8431, 0.0 }
}

Definition at line 137 of file palettes.hpp.

const int RGB_Palette_4_Size = 2

Definition at line 136 of file palettes.hpp.

double RGB_Palette_5[RGB_Palette_5_Size][3]

Definition at line 144 of file palettes.hpp.

const int RGB_Palette_5_Size = 64

Definition at line 143 of file palettes.hpp.

double RGB_Palette_6[RGB_Palette_6_Size][3]

Definition at line 213 of file palettes.hpp.

const int RGB_Palette_6_Size = 64

Definition at line 212 of file palettes.hpp.

double RGB_Palette_7[RGB_Palette_7_Size][3]

Definition at line 282 of file palettes.hpp.

const int RGB_Palette_7_Size = 64

Definition at line 281 of file palettes.hpp.

double RGB_Palette_8[RGB_Palette_8_Size][3]

Definition at line 351 of file palettes.hpp.

const int RGB_Palette_8_Size = 64

Definition at line 350 of file palettes.hpp.

double RGB_Palette_9[RGB_Palette_9_Size][3]

Definition at line 420 of file palettes.hpp.

const int RGB_Palette_9_Size = 64

Definition at line 419 of file palettes.hpp.

int RGB_Palette_Size = RGB_Palettes_Sizes[Default_RGB_Palette]

Definition at line 3000 of file palettes.hpp.

double* RGB_Palettes[Num_RGB_Palettes]
Initial value:
=
{
}
double RGB_Palette_15[RGB_Palette_15_Size][3]
Definition: palettes.hpp:945
double RGB_Palette_11[RGB_Palette_11_Size][3]
Definition: palettes.hpp:558
double RGB_Palette_21[RGB_Palette_21_Size][3]
Definition: palettes.hpp:2509
double RGB_Palette_20[RGB_Palette_20_Size][3]
Definition: palettes.hpp:2248
double RGB_Palette_6[RGB_Palette_6_Size][3]
Definition: palettes.hpp:213
double RGB_Palette_4[RGB_Palette_4_Size][3]
Definition: palettes.hpp:137
double RGB_Palette_2[RGB_Palette_2_Size][3]
Definition: palettes.hpp:32
double RGB_Palette_25[RGB_Palette_25_Size][3]
Definition: palettes.hpp:2962
double RGB_Palette_9[RGB_Palette_9_Size][3]
Definition: palettes.hpp:420
double RGB_Palette_23[RGB_Palette_23_Size][3]
Definition: palettes.hpp:2926
double RGB_Palette_22[RGB_Palette_22_Size][3]
Definition: palettes.hpp:2770
double RGB_Palette_19[RGB_Palette_19_Size][3]
Definition: palettes.hpp:1987
double RGB_Palette_1[RGB_Palette_1_Size][3]
Definition: palettes.hpp:22
double RGB_Palette_12[RGB_Palette_12_Size][3]
Definition: palettes.hpp:627
double RGB_Palette_10[RGB_Palette_10_Size][3]
Definition: palettes.hpp:489
double RGB_Palette_3[RGB_Palette_3_Size][3]
Definition: palettes.hpp:39
double RGB_Palette_24[RGB_Palette_24_Size][3]
Definition: palettes.hpp:2929
double RGB_Palette_7[RGB_Palette_7_Size][3]
Definition: palettes.hpp:282
double RGB_Palette_13[RGB_Palette_13_Size][3]
Definition: palettes.hpp:681
double RGB_Palette_14[RGB_Palette_14_Size][3]
Definition: palettes.hpp:684
double RGB_Palette_8[RGB_Palette_8_Size][3]
Definition: palettes.hpp:351
double RGB_Palette_17[RGB_Palette_17_Size][3]
Definition: palettes.hpp:1466
double RGB_Palette_18[RGB_Palette_18_Size][3]
Definition: palettes.hpp:1726
double RGB_Palette_5[RGB_Palette_5_Size][3]
Definition: palettes.hpp:144
double RGB_Palette_16[RGB_Palette_16_Size][3]
Definition: palettes.hpp:1205

Definition at line 2978 of file palettes.hpp.

const char* RGB_Palettes_Names[Num_RGB_Palettes]
Initial value:
=
{
"5-color ", "red ", "jet-like ", "golden ", "bone ",
"hot ", "pink ", "cool ", "summer ", "hsv ",
"copper ", "white ", "vivid ", "aluminum ", "sunrise ",
"horizon ", "hilite ", "deep sea ", "pastel ", "tropical ",
"wood ", "mars ", "rainbow ", "cmyk ", "calewhite "
}

Definition at line 2989 of file palettes.hpp.

const int RGB_Palettes_Sizes[Num_RGB_Palettes]
Initial value:
=
{
}
const int RGB_Palette_21_Size
Definition: palettes.hpp:2508
const int RGB_Palette_18_Size
Definition: palettes.hpp:1725
const int RGB_Palette_1_Size
Definition: palettes.hpp:21
const int RGB_Palette_7_Size
Definition: palettes.hpp:281
const int RGB_Palette_14_Size
Definition: palettes.hpp:683
const int RGB_Palette_9_Size
Definition: palettes.hpp:419
const int RGB_Palette_4_Size
Definition: palettes.hpp:136
const int RGB_Palette_17_Size
Definition: palettes.hpp:1465
const int RGB_Palette_6_Size
Definition: palettes.hpp:212
const int RGB_Palette_8_Size
Definition: palettes.hpp:350
const int RGB_Palette_20_Size
Definition: palettes.hpp:2247
const int RGB_Palette_13_Size
Definition: palettes.hpp:680
const int RGB_Palette_10_Size
Definition: palettes.hpp:488
const int RGB_Palette_3_Size
Definition: palettes.hpp:38
const int RGB_Palette_24_Size
Definition: palettes.hpp:2928
const int RGB_Palette_23_Size
Definition: palettes.hpp:2925
const int RGB_Palette_11_Size
Definition: palettes.hpp:557
const int RGB_Palette_22_Size
Definition: palettes.hpp:2769
const int RGB_Palette_12_Size
Definition: palettes.hpp:626
const int RGB_Palette_5_Size
Definition: palettes.hpp:143
const int RGB_Palette_2_Size
Definition: palettes.hpp:31
const int RGB_Palette_15_Size
Definition: palettes.hpp:944
const int RGB_Palette_19_Size
Definition: palettes.hpp:1986
const int RGB_Palette_16_Size
Definition: palettes.hpp:1204
const int RGB_Palette_25_Size
Definition: palettes.hpp:2961

Definition at line 2965 of file palettes.hpp.