#include <vgui_range_map_params.h>
Public Types | |
enum | { RGBA_m, RGB_m, XRG_m, RXB_m, RGX_m, END_m } |
Public Member Functions | |
vgui_range_map_params (const long double min_L, const long double max_L, const float gamma_L=1.0f, const bool invert=false, const bool use_glPixelMap=false, const bool cache_mapped_pix=false) | |
Default constructor (luminance mapping only). | |
vgui_range_map_params (const long double min_R, const long double max_R, const long double min_G, const long double max_G, const long double min_B, const long double max_B, const float gamma_R=1.0f, const float gamma_G=1.0f, const float gamma_B=1.0f, const bool invert=false, const bool use_glPixelMap=false, const bool cache_mapped_pix=false) | |
RGB constructor. | |
vgui_range_map_params (const long double min_R, const long double max_R, const long double min_G, const long double max_G, const long double min_B, const long double max_B, const long double min_X, const long double max_X, const float gamma_R=1.0f, const float gamma_G=1.0f, const float gamma_B=1.0f, const float gamma_X=1.0f, const int band_map=0, const bool invert=false, const bool use_glPixelMap=false, const bool cache_mapped_pix=false) | |
RGBX constructor Handles both RGBA and RGBIr(Multi-spectral). | |
vgui_range_map_params (vgui_range_map_params const &p) | |
copy constructor. | |
bool | operator== (vgui_range_map_params const &p) const |
equality tests. | |
bool | operator!= (vgui_range_map_params const &p) const |
void | print (vcl_ostream &os) const |
void | ref () |
void | unref () |
int | get_references () const |
bool | is_referenced () const |
Public Attributes | |
unsigned | n_components_ |
number of components for pixel data | |
long double | min_L_ |
map domain minimum for luminance data | |
long double | max_L_ |
map domain maximum for luminance data | |
float | gamma_L_ |
photometric non-linear gamma correction | |
bool | invert_ |
invert the mapping to a negative image | |
long double | min_R_ |
map domain minimum for red channel data | |
long double | max_R_ |
map domain maximum for red channel data | |
float | gamma_R_ |
photometric non-linear gamma correction for red | |
long double | min_G_ |
map domain minimum for green channel data | |
long double | max_G_ |
map domain maximum for green channel data | |
float | gamma_G_ |
photometric non-linear gamma correction for green | |
long double | min_B_ |
map domain minimum for blue channel data | |
long double | max_B_ |
map domain maximum for blue channel data | |
float | gamma_B_ |
photometric non-linear gamma correction for blue | |
long double | min_X_ |
map domain minimum for alpha or infrared channel data | |
long double | max_X_ |
map domain maximum for alpha or infrared channel data | |
float | gamma_X_ |
photometric non-linear gamma correction for alpha or infrared | |
int | band_map_ |
bool | use_glPixelMap_ |
use OpenGL to map pixels to screen | |
bool | cache_mapped_pix_ |
cache mapped pixels | |
Static Public Attributes | |
static vcl_vector< vcl_string > | bmap = minit() |
Definition at line 31 of file vgui_range_map_params.h.
anonymous enum |
Definition at line 35 of file vgui_range_map_params.h.
vgui_range_map_params::vgui_range_map_params | ( | const long double | min_L, |
const long double | max_L, | ||
const float | gamma_L = 1.0f , |
||
const bool | invert = false , |
||
const bool | use_glPixelMap = false , |
||
const bool | cache_mapped_pix = false |
||
) | [inline] |
Default constructor (luminance mapping only).
Definition at line 63 of file vgui_range_map_params.h.
vgui_range_map_params::vgui_range_map_params | ( | const long double | min_R, |
const long double | max_R, | ||
const long double | min_G, | ||
const long double | max_G, | ||
const long double | min_B, | ||
const long double | max_B, | ||
const float | gamma_R = 1.0f , |
||
const float | gamma_G = 1.0f , |
||
const float | gamma_B = 1.0f , |
||
const bool | invert = false , |
||
const bool | use_glPixelMap = false , |
||
const bool | cache_mapped_pix = false |
||
) | [inline] |
RGB constructor.
Definition at line 79 of file vgui_range_map_params.h.
vgui_range_map_params::vgui_range_map_params | ( | const long double | min_R, |
const long double | max_R, | ||
const long double | min_G, | ||
const long double | max_G, | ||
const long double | min_B, | ||
const long double | max_B, | ||
const long double | min_X, | ||
const long double | max_X, | ||
const float | gamma_R = 1.0f , |
||
const float | gamma_G = 1.0f , |
||
const float | gamma_B = 1.0f , |
||
const float | gamma_X = 1.0f , |
||
const int | band_map = 0 , |
||
const bool | invert = false , |
||
const bool | use_glPixelMap = false , |
||
const bool | cache_mapped_pix = false |
||
) | [inline] |
RGBX constructor Handles both RGBA and RGBIr(Multi-spectral).
Definition at line 101 of file vgui_range_map_params.h.
vgui_range_map_params::vgui_range_map_params | ( | vgui_range_map_params const & | p | ) | [inline] |
copy constructor.
Definition at line 127 of file vgui_range_map_params.h.
bool vgui_range_map_params::operator!= | ( | vgui_range_map_params const & | p | ) | const [inline] |
Definition at line 163 of file vgui_range_map_params.h.
bool vgui_range_map_params::operator== | ( | vgui_range_map_params const & | p | ) | const [inline] |
equality tests.
Definition at line 139 of file vgui_range_map_params.h.
void vgui_range_map_params::print | ( | vcl_ostream & | os | ) | const [inline] |
Definition at line 166 of file vgui_range_map_params.h.
Definition at line 56 of file vgui_range_map_params.h.
vcl_vector< vcl_string > vgui_range_map_params::bmap = minit() [static] |
Definition at line 37 of file vgui_range_map_params.h.
cache mapped pixels
Definition at line 60 of file vgui_range_map_params.h.
photometric non-linear gamma correction for blue
Definition at line 52 of file vgui_range_map_params.h.
photometric non-linear gamma correction for green
Definition at line 49 of file vgui_range_map_params.h.
photometric non-linear gamma correction
Definition at line 42 of file vgui_range_map_params.h.
photometric non-linear gamma correction for red
Definition at line 46 of file vgui_range_map_params.h.
photometric non-linear gamma correction for alpha or infrared
Definition at line 55 of file vgui_range_map_params.h.
invert the mapping to a negative image
Definition at line 43 of file vgui_range_map_params.h.
long double vgui_range_map_params::max_B_ |
map domain maximum for blue channel data
Definition at line 51 of file vgui_range_map_params.h.
long double vgui_range_map_params::max_G_ |
map domain maximum for green channel data
Definition at line 48 of file vgui_range_map_params.h.
long double vgui_range_map_params::max_L_ |
map domain maximum for luminance data
Definition at line 41 of file vgui_range_map_params.h.
long double vgui_range_map_params::max_R_ |
map domain maximum for red channel data
Definition at line 45 of file vgui_range_map_params.h.
long double vgui_range_map_params::max_X_ |
map domain maximum for alpha or infrared channel data
Definition at line 54 of file vgui_range_map_params.h.
long double vgui_range_map_params::min_B_ |
map domain minimum for blue channel data
Definition at line 50 of file vgui_range_map_params.h.
long double vgui_range_map_params::min_G_ |
map domain minimum for green channel data
Definition at line 47 of file vgui_range_map_params.h.
long double vgui_range_map_params::min_L_ |
map domain minimum for luminance data
Definition at line 40 of file vgui_range_map_params.h.
long double vgui_range_map_params::min_R_ |
map domain minimum for red channel data
Definition at line 44 of file vgui_range_map_params.h.
long double vgui_range_map_params::min_X_ |
map domain minimum for alpha or infrared channel data
Definition at line 53 of file vgui_range_map_params.h.
unsigned vgui_range_map_params::n_components_ |
number of components for pixel data
Definition at line 39 of file vgui_range_map_params.h.
use OpenGL to map pixels to screen
Definition at line 59 of file vgui_range_map_params.h.