Antiprism 0.23
|
A colour map using random values in a range. More...
#include <col_map.h>
Public Member Functions | |
virtual col_val | get_col (int idx) const |
Get the colour value for an index number. | |
color_map * | clone () const |
Get a copy of the map. |
A colour map using random values in a range.
color_map* color_map_range_rand::clone | ( | ) | const [inline, virtual] |
Get a copy of the map.
delete
, 0 indicates that the clone failed. Reimplemented from color_map_range.
Reimplemented in color_map_range_rand_hsv, and color_map_range_rand_rgb.
col_val color_map_range_rand::get_col | ( | int | idx | ) | const [virtual] |
Get the colour value for an index number.
idx | the index. |
Reimplemented from color_map_range.