ColourTable Class Reference

#include <ColourTable.h>

List of all members.

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
PLFLTi
PLFLTh
PLFLTs
PLFLTv

Friends

QDOS::Vistreamoperator>> (QDOS::Vistream &, ColourTable &)
QDOS::Vostreamoperator<< (QDOS::Vostream &, ColourTable &)


Constructor & Destructor Documentation

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 (  ) 


Member Function Documentation

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 (  ) 


Friends And Related Function Documentation

QDOS::Vostream& operator<< ( QDOS::Vostream ,
ColourTable  
) [friend]

QDOS::Vistream& operator>> ( QDOS::Vistream ,
ColourTable  
) [friend]


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Fri Jan 8 12:51:27 2010 for QSAS by  doxygen 1.5.7