3 #ifndef __ZScaledPalette_H
4 #define __ZScaledPalette_H
7 #include <zm/ZPalette.H>
37 float coord[2])
const;
43 ColorPixel
color (
float coord)
const;
50 ColorPixel& operator[] (
float coord)
70 virtual void add_color (ColorPixel theColorPixel);
72 ColorPixel theColorPixel);
void scale_equal_range(float mm[2])
virtual void remove_color(float coord)
const char * color_name(float coord) const
virtual void revert_order()
Definition: ZPalette.H:18
virtual void insert_color(unsigned index, ColorPixel theColorPixel)
FloatAr rb
Definition: ZScaledPalette.H:81
unsigned coord_to_index(float coord) const
void index_to_coord_range(unsigned index, float coord[2]) const
virtual void add_color(ColorPixel theColorPixel)
ColorPixel & fetch_color(float coord)
ZScaledPalette(const ZConnect &zconnect)
void scale_assign(const FloatAr &scale)
ColorPixel color(float coord) const
Definition: ZScaledPalette.H:15
void get_scale(FloatAr &scale)
virtual void reset_colors()