#include <ColourTable.h>
Public Member Functions | |
ColourTable (const QString &name, const QVector< double > &points, const QVector< double > &H, const QVector< double > &S, const QVector< double > &V, bool isRGB=false) | |
ColourTable (const QString &name="") | |
ColourTable (const ColourTable &table) | |
~ColourTable () | |
void | operator= (const ColourTable &) |
void | setPresetRainbow () |
void | setPresetRainbowExt () |
void | setPresetGrayWhiteHigh () |
void | setPresetGrayWhiteLow () |
void | setPresetInvRedBlue () |
void | setPresetRedBlue () |
void | setPresetEarth () |
void | fromString (const QString &) |
QString | toString () const |
void | apply () const |
void | clear () |
bool | operator== (const ColourTable &) const |
bool | operator!= (const ColourTable &) const |
void | drawColourBar (QPainter *, int, int) |
void | updateIcon () |
Public Attributes | |
QString | name |
QIcon | icon |
int | isRGB |
int | size |
PLFLT * | i |
PLFLT * | h |
PLFLT * | s |
PLFLT * | v |
Friends | |
QDOS::Vistream & | operator>> (QDOS::Vistream &, ColourTable &) |
QDOS::Vostream & | operator<< (QDOS::Vostream &, ColourTable &) |
ColourTable::ColourTable | ( | const QString & | name, | |
const QVector< double > & | points, | |||
const QVector< double > & | H, | |||
const QVector< double > & | S, | |||
const QVector< double > & | V, | |||
bool | isRGB = false | |||
) |
ColourTable::ColourTable | ( | const QString & | name = "" |
) |
ColourTable::ColourTable | ( | const ColourTable & | table | ) |
ColourTable::~ColourTable | ( | ) |
void ColourTable::apply | ( | ) | const |
void ColourTable::clear | ( | ) |
void ColourTable::drawColourBar | ( | QPainter * | painter, | |
int | width, | |||
int | height | |||
) |
255
255
255
255
255
255
255
255
255
void ColourTable::fromString | ( | const QString & | _str | ) |
bool ColourTable::operator!= | ( | const ColourTable & | table | ) | const |
void ColourTable::operator= | ( | const ColourTable & | table | ) |
bool ColourTable::operator== | ( | const ColourTable & | table | ) | const |
void ColourTable::setPresetEarth | ( | ) |
void ColourTable::setPresetGrayWhiteHigh | ( | ) |
void ColourTable::setPresetGrayWhiteLow | ( | ) |
void ColourTable::setPresetInvRedBlue | ( | ) |
void ColourTable::setPresetRainbow | ( | ) |
void ColourTable::setPresetRainbowExt | ( | ) |
void ColourTable::setPresetRedBlue | ( | ) |
QString ColourTable::toString | ( | ) | const |
void ColourTable::updateIcon | ( | ) |
QDOS::Vostream& operator<< | ( | QDOS::Vostream & | , | |
ColourTable & | ||||
) | [friend] |
QDOS::Vistream& operator>> | ( | QDOS::Vistream & | , | |
ColourTable & | ||||
) | [friend] |
QIcon ColourTable::icon |
QString ColourTable::name |