#include <xac_interface_scene_elements_doc.h>
Public Member Functions | |
float4 | lookup (float value) const |
Perform a RGBA color value lookup for a given scalar value. More... | |
float | lookup_alpha (float value) const |
Perform only an alpha value lookup for a given scalar value. More... | |
float | get_domain_min () const |
Get the domain range minimum of the colormap. More... | |
float | get_domain_max () const |
Get the domain range maximum of the colormap. More... | |
float | normalize_to_domain (const float value) const |
Normalize a given scalar value to the domain range value of the colormap. More... | |
float nv::index::xac::Colormap::get_domain_max | ( | ) | const |
Get the domain range maximum of the colormap.
float nv::index::xac::Colormap::get_domain_min | ( | ) | const |
Get the domain range minimum of the colormap.
float4 nv::index::xac::Colormap::lookup | ( | float | value | ) | const |
Perform a RGBA color value lookup for a given scalar value.
float nv::index::xac::Colormap::lookup_alpha | ( | float | value | ) | const |
Perform only an alpha value lookup for a given scalar value.
float nv::index::xac::Colormap::normalize_to_domain | ( | const float | value | ) | const |
Normalize a given scalar value to the domain range value of the colormap.