palette.hpp
Go to the documentation of this file.
Vec3D operator()(double x) const
Return the interpolated color value from palette.
Definition: palette.cpp:162
Palette()
Default constructor for default black and white palette.
Definition: palette.cpp:68
void push_back(const Vec3D &color, double val)
Pushes new entry to palette.
Definition: palette.cpp:116
void debug_print(std::ostream &os) const
Print debugging information to os.
Definition: palette.cpp:203
Three dimensional vectors.