|
Public Member Functions |
| | sao_colormap () |
| | sao_colormap (std::vector< std::vector< double > > &in_R_points, std::vector< std::vector< double > > &in_G_points, std::vector< std::vector< double > > &in_B_points) |
| | sao_colormap (const char *filename) |
| | sao_colormap (const sao_colormap &scm) |
| | ~sao_colormap () |
| sao_colormap & | operator= (const sao_colormap &scm) |
| void | read (const char *filename) |
| void | print (std::ostream &os, const char *prefix="") const |
| void | invert () |
| char | get_R (double val, double min, double max, bool logscale) const |
| char | get_G (double val, double min, double max, bool logscale) const |
| char | get_B (double val, double min, double max, bool logscale) const |
Protected Attributes |
std::vector< std::vector<
double > > | R_points |
std::vector< std::vector<
double > > | G_points |
std::vector< std::vector<
double > > | B_points |
This class does not yet support the GAMMA entry, and will throw an error if this entry appears in the colormap