Definition at line 13 of file color_map.h.
◆ color_control_point_type
◆ color_type
◆ opacity_control_point_type
◆ opacity_type
typedef float cgv::render::color_map::opacity_type |
|
protected |
◆ sample_point_type
typedef std::pair<opacity_type, color_type> cgv::render::color_map::sample_point_type |
|
protected |
◆ color_map() [1/6]
cgv::render::color_map::color_map |
( |
| ) |
|
|
inline |
◆ color_map() [2/6]
cgv::render::color_map::color_map |
( |
const std::initializer_list< color_control_point_type > |
color_points | ) |
|
|
inline |
◆ color_map() [3/6]
cgv::render::color_map::color_map |
( |
const std::initializer_list< color_type > |
colors | ) |
|
|
inline |
◆ color_map() [4/6]
cgv::render::color_map::color_map |
( |
const std::initializer_list< opacity_control_point_type > |
opacity_points | ) |
|
|
inline |
◆ color_map() [5/6]
cgv::render::color_map::color_map |
( |
const std::initializer_list< opacity_type > |
opacities | ) |
|
|
inline |
◆ color_map() [6/6]
cgv::render::color_map::color_map |
( |
const std::initializer_list< std::pair< float, sample_point_type > > |
control_points | ) |
|
|
inline |
◆ ~color_map()
virtual cgv::render::color_map::~color_map |
( |
| ) |
|
|
inlinevirtual |
◆ add_color_point()
void cgv::render::color_map::add_color_point |
( |
float |
t, |
|
|
rgb |
color |
|
) |
| |
|
inline |
◆ add_opacity_point()
void cgv::render::color_map::add_opacity_point |
( |
float |
t, |
|
|
float |
opacity |
|
) |
| |
|
inline |
◆ apply_gamma()
void cgv::render::color_map::apply_gamma |
( |
float |
gamma | ) |
|
|
inline |
◆ clear()
void cgv::render::color_map::clear |
( |
| ) |
|
|
inline |
◆ clear_color_points()
void cgv::render::color_map::clear_color_points |
( |
| ) |
|
|
inline |
◆ clear_opacity_points()
void cgv::render::color_map::clear_opacity_points |
( |
| ) |
|
|
inline |
◆ construct_interpolators()
void cgv::render::color_map::construct_interpolators |
( |
| ) |
|
|
inlineprotected |
◆ empty()
bool cgv::render::color_map::empty |
( |
| ) |
const |
|
inline |
◆ enable_interpolation()
void cgv::render::color_map::enable_interpolation |
( |
bool |
enabled | ) |
|
|
inline |
◆ flip()
void cgv::render::color_map::flip |
( |
| ) |
|
|
inline |
◆ get_resolution()
unsigned cgv::render::color_map::get_resolution |
( |
| ) |
const |
|
inline |
◆ has_texture_support()
virtual bool cgv::render::color_map::has_texture_support |
( |
| ) |
const |
|
inlinevirtual |
◆ interpolate() [1/2]
rgba cgv::render::color_map::interpolate |
( |
float |
t | ) |
const |
|
inline |
◆ interpolate() [2/2]
std::vector< rgba > cgv::render::color_map::interpolate |
( |
size_t |
n | ) |
const |
|
inline |
◆ interpolate_color() [1/2]
rgb cgv::render::color_map::interpolate_color |
( |
float |
t | ) |
const |
|
inline |
◆ interpolate_color() [2/2]
std::vector< rgb > cgv::render::color_map::interpolate_color |
( |
size_t |
n | ) |
const |
|
inline |
◆ interpolate_opacity() [1/2]
float cgv::render::color_map::interpolate_opacity |
( |
float |
t | ) |
const |
|
inline |
◆ interpolate_opacity() [2/2]
std::vector< float > cgv::render::color_map::interpolate_opacity |
( |
size_t |
n | ) |
const |
|
inline |
◆ is_interpolation_enabled()
bool cgv::render::color_map::is_interpolation_enabled |
( |
| ) |
const |
|
inline |
◆ ref_color_points()
const std::vector< color_control_point_type > & cgv::render::color_map::ref_color_points |
( |
| ) |
const |
|
inline |
◆ ref_opacity_points()
const std::vector< opacity_control_point_type > & cgv::render::color_map::ref_opacity_points |
( |
| ) |
const |
|
inline |
◆ set_resolution()
void cgv::render::color_map::set_resolution |
( |
unsigned |
resolution | ) |
|
|
inline |
◆ color_interpolator_ptr
◆ color_points
◆ opacity_interpolator_ptr
◆ opacity_points
◆ resolution
unsigned cgv::render::color_map::resolution = 256u |
|
protected |
resolution of the sampled color map; mostly used when generating textures from color maps
Definition at line 28 of file color_map.h.
◆ use_interpolation
bool cgv::render::color_map::use_interpolation = true |
|
protected |
whether to use interpolation between the samples or just take the nearest one
Definition at line 30 of file color_map.h.
The documentation for this class was generated from the following file: