iRoCS Toolbox
1.1.0
|
#include <ColorMap.hh>
Public Types | |
enum | ColorMapType { Monochrome, RGB } |
Public Member Functions | |
ColorMap (long long start=0, long long end=65535) | |
ColorMap (ColorMap const &colorMap) | |
~ColorMap () | |
void | addIntermediateColor (double percentage, blitz::TinyVector< float, 3 > const &color) |
void | addOverrideColor (long long index, blitz::TinyVector< float, 3 > const &color) |
void | clearIntermediateColors () |
void | clearOverrideColors () |
blitz::TinyVector< float, 3 > | color (long long index) const |
IColorMapEditor * | colorMapEditor () const |
blitz::TinyVector< float, 3 > | endColor () const |
long long | endIndex () const |
double | gamma () const |
std::map< double, blitz::TinyVector< float, 3 > > const & | intermediateColors () const |
bool | isGray () const |
bool | isHot () const |
bool | isHSV () const |
bool | isJet () const |
bool | isRandom () const |
bool | isSigned16BitRange () const |
bool | isSigned32BitRange () const |
bool | isSigned64BitRange () const |
bool | isSigned8BitRange () const |
bool | isUnsigned12BitRange () const |
bool | isUnsigned16BitRange () const |
bool | isUnsigned32BitRange () const |
bool | isUnsigned8BitRange () const |
void | load (BlitzH5File const &infile, std::string const &group) |
void | load (std::string const &fileName, std::string const &group) |
blitz::TinyVector< float, 3 > | monochromeColor () const |
ColorMap & | operator= (ColorMap const &colorMap) |
std::map< long long, blitz::TinyVector< float, 3 > > const & | overrideColors () const |
bool | rangeIndicatorEnabled () const |
void | removeIntermediateColor (double percentage) |
void | removeOverrideColor (long long index) |
void | save (BlitzH5File &outfile, std::string const &group) const |
void | save (std::string const &fileName, std::string const &group) const |
void | setColorMapEditor (IColorMapEditor *colorMapEditor) |
void | setEndColor (blitz::TinyVector< float, 3 > const &color) |
void | setEndIndex (long long index) |
void | setGamma (double gamma) |
void | setGray () |
void | setHot () |
void | setHSV () |
void | setJet () |
void | setMonochromeColor (blitz::TinyVector< float, 3 > const &color) |
void | setRandom () |
void | setRangeIndicatorEnabled (bool enable) |
void | setSigned16BitRange () |
void | setSigned32BitRange () |
void | setSigned64BitRange () |
void | setSigned8BitRange () |
void | setStartColor (blitz::TinyVector< float, 3 > const &color) |
void | setStartIndex (long long index) |
void | setUnsigned12BitRange () |
void | setUnsigned16BitRange () |
void | setUnsigned32BitRange () |
void | setUnsigned8BitRange () |
blitz::TinyVector< float, 3 > | startColor () const |
long long | startIndex () const |
ColorMapType | type () const |
Static Public Member Functions | |
static blitz::TinyVector< float, 3 > | generateRandomColor () |
Definition at line 40 of file ColorMap.hh.
Enumerator | |
---|---|
Monochrome | |
RGB |
Definition at line 45 of file ColorMap.hh.
ColorMap::ColorMap | ( | long long | start = 0 , |
long long | end = 65535 |
||
) |
ColorMap::ColorMap | ( | ColorMap const & | colorMap | ) |
ColorMap::~ColorMap | ( | ) |
bool ColorMap::isUnsigned8BitRange | ( | ) | const |
void ColorMap::setUnsigned8BitRange | ( | ) |
bool ColorMap::isSigned8BitRange | ( | ) | const |
void ColorMap::setSigned8BitRange | ( | ) |
bool ColorMap::isUnsigned12BitRange | ( | ) | const |
void ColorMap::setUnsigned12BitRange | ( | ) |
bool ColorMap::isUnsigned16BitRange | ( | ) | const |
void ColorMap::setUnsigned16BitRange | ( | ) |
bool ColorMap::isSigned16BitRange | ( | ) | const |
void ColorMap::setSigned16BitRange | ( | ) |
bool ColorMap::isUnsigned32BitRange | ( | ) | const |
void ColorMap::setUnsigned32BitRange | ( | ) |
bool ColorMap::isSigned32BitRange | ( | ) | const |
void ColorMap::setSigned32BitRange | ( | ) |
bool ColorMap::isSigned64BitRange | ( | ) | const |
void ColorMap::setSigned64BitRange | ( | ) |
void ColorMap::setStartIndex | ( | long long | index | ) |
void ColorMap::setEndIndex | ( | long long | index | ) |
long long ColorMap::startIndex | ( | ) | const |
long long ColorMap::endIndex | ( | ) | const |
void ColorMap::setStartColor | ( | blitz::TinyVector< float, 3 > const & | color | ) |
void ColorMap::setEndColor | ( | blitz::TinyVector< float, 3 > const & | color | ) |
blitz::TinyVector<float,3> ColorMap::startColor | ( | ) | const |
blitz::TinyVector<float,3> ColorMap::endColor | ( | ) | const |
void ColorMap::addIntermediateColor | ( | double | percentage, |
blitz::TinyVector< float, 3 > const & | color | ||
) |
void ColorMap::removeIntermediateColor | ( | double | percentage | ) |
void ColorMap::clearIntermediateColors | ( | ) |
std::map< double,blitz::TinyVector<float,3> > const& ColorMap::intermediateColors | ( | ) | const |
void ColorMap::addOverrideColor | ( | long long | index, |
blitz::TinyVector< float, 3 > const & | color | ||
) |
void ColorMap::removeOverrideColor | ( | long long | index | ) |
void ColorMap::clearOverrideColors | ( | ) |
std::map< long long,blitz::TinyVector<float,3> > const& ColorMap::overrideColors | ( | ) | const |
bool ColorMap::isGray | ( | ) | const |
void ColorMap::setGray | ( | ) |
bool ColorMap::isHot | ( | ) | const |
void ColorMap::setHot | ( | ) |
bool ColorMap::isJet | ( | ) | const |
void ColorMap::setJet | ( | ) |
bool ColorMap::isHSV | ( | ) | const |
void ColorMap::setHSV | ( | ) |
bool ColorMap::isRandom | ( | ) | const |
void ColorMap::setRandom | ( | ) |
void ColorMap::setMonochromeColor | ( | blitz::TinyVector< float, 3 > const & | color | ) |
blitz::TinyVector<float,3> ColorMap::monochromeColor | ( | ) | const |
void ColorMap::setRangeIndicatorEnabled | ( | bool | enable | ) |
bool ColorMap::rangeIndicatorEnabled | ( | ) | const |
void ColorMap::setGamma | ( | double | gamma | ) |
double ColorMap::gamma | ( | ) | const |
ColorMapType ColorMap::type | ( | ) | const |
blitz::TinyVector<float,3> ColorMap::color | ( | long long | index | ) | const |
void ColorMap::load | ( | BlitzH5File const & | infile, |
std::string const & | group | ||
) |
void ColorMap::load | ( | std::string const & | fileName, |
std::string const & | group | ||
) |
void ColorMap::save | ( | BlitzH5File & | outfile, |
std::string const & | group | ||
) | const |
void ColorMap::save | ( | std::string const & | fileName, |
std::string const & | group | ||
) | const |
void ColorMap::setColorMapEditor | ( | IColorMapEditor * | colorMapEditor | ) |
IColorMapEditor* ColorMap::colorMapEditor | ( | ) | const |
|
static |