itom 1.1.0
ito::ItomPaletteBase Class Reference

List of all members.

Public Member Functions

 ItomPaletteBase (const QString name, const char type)
 ItomPaletteBase (const QString name, const char type, QColor start, QColor stop)
 ItomPaletteBase (const ItomPaletteBase &scr)
QString getName () const
int getSize () const
int getType () const
double getPosFirst () const
double getPosLast () const
double getPos (unsigned int color) const
bool setInversColorOne (const QColor color)
QColor getInversColorOne () const
bool setInversColorTwo (const QColor color)
QColor getInversColorTwo () const
QColor getColorFirst () const
QColor getColorLast () const
QColor getColor (unsigned int color) const
void update (const bool updateInverseColors)
ItomPalette getPalette ()
void setWriteProtection ()
bool insertColorStop (double pos, const QColor color)
void calculateInverseColors (QColor &inv1, QColor &inv2)
QVector< ito::uint32 > get256Colors () const

Protected Member Functions

void removeWriteProtection ()

Private Member Functions

int findUpper (double pos) const

Private Attributes

QString m_name
char m_type
ItomPalette m_paletteStucture
QColor m_inverseColorTwo
QColor m_inverseColorOne
QVector< QPair< double, QColor > > m_colorStops

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends