#include <ColorMap.h>
Classes | |
class | evaluator |
Public Attributes | |
unsigned int | m_paletteSize |
std::string | m_colorScheme |
VecColor | entries |
Public Member Functions | |
ColorMap (unsigned int paletteSize=256, const std::string &colorScheme="HSV") | |
virtual | ~ColorMap () |
void | init () |
void | reinit () |
unsigned int | getPaletteSize () const |
void | setPaletteSize (unsigned int paletteSize) |
const std::string & | getColorScheme () const |
void | setColorScheme (const std::string &colorScheme) |
unsigned int | getNbColors () const |
type::RGBAColor | getColor (unsigned int i) |
template<class Real > | |
evaluator< Real > | getEvaluator (Real vmin, Real vmax) |
Static Public Member Functions | |
static ColorMap * | getDefault () |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ColorMap &m) |
std::istream & | operator>> (std::istream &in, ColorMap &m) |
VecColor sofa::helper::ColorMap::entries |
std::string sofa::helper::ColorMap::m_colorScheme |
unsigned int sofa::helper::ColorMap::m_paletteSize |
sofa::helper::ColorMap::ColorMap | ( | unsigned int | paletteSize = 256 , |
const std::string & | colorScheme = "HSV" |
||
) |
|
virtual |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
void sofa::helper::ColorMap::init | ( | void | ) |
void sofa::helper::ColorMap::reinit | ( | ) |
|
inline |
|
inline |
|
friend |
|
friend |