for building palettes from list of colors and position values, using JKQTPBuildColorPaletteLUTLinInterpolateSorted(), ...
More...
#include <jkqtpbasicimagetools.h>
|
| JKQTPPaletteList () |
| JKQTPPaletteList (const ListType &other) |
template<typename InputIterator, JKQTPIsInputIteratorTrait< InputIterator > = true> |
| JKQTPPaletteList (InputIterator first, InputIterator last) |
| JKQTPPaletteList (ListType &&other) |
| JKQTPPaletteList (qsizetype size) |
| JKQTPPaletteList (qsizetype size, parameter_type value) |
| JKQTPPaletteList (std::initializer_list< QColor > args) |
| JKQTPPaletteList (std::initializer_list< QPair< double, QColor > > args) |
template<class T> |
| JKQTPPaletteList (std::initializer_list< QPair< double, QRgb > > args) |
| JKQTPPaletteList (std::initializer_list< QRgb > args) |
double | getMaxPosition () const |
| returns the maximum value of the double-component
|
void | getMinMaxPosition (double &mi, double &ma, double *avgDelta=nullptr) const |
| returns the minimum and maximum value of the double-component, as well as the avg. increment between two such values
|
double | getMinPosition () const |
| returns the minimum value of the double-component
|
JKQTPPaletteList & | operator<< (QColor color) |
JKQTPPaletteList & | operator<< (QRgb rgb) |
void | push_back (double pos, QColor color) |
void | push_back (double pos, QRgb rgb) |
void | push_back (QColor color) |
void | push_back (QRgb rgb) |
void | reverse () |
| reverse colors
|
void | sort () |
| sorty by position
|
◆ ListType
◆ parameter_type
◆ JKQTPPaletteList() [1/10]
JKQTPPaletteList::JKQTPPaletteList |
( |
| ) |
|
|
inline |
◆ JKQTPPaletteList() [2/10]
JKQTPPaletteList::JKQTPPaletteList |
( |
qsizetype | size | ) |
|
|
inline |
◆ JKQTPPaletteList() [3/10]
JKQTPPaletteList::JKQTPPaletteList |
( |
qsizetype | size, |
|
|
parameter_type | value ) |
|
inline |
◆ JKQTPPaletteList() [4/10]
template<class T>
JKQTPPaletteList::JKQTPPaletteList |
( |
std::initializer_list< QPair< double, QRgb > > | args | ) |
|
|
inline |
◆ JKQTPPaletteList() [5/10]
JKQTPPaletteList::JKQTPPaletteList |
( |
std::initializer_list< QRgb > | args | ) |
|
|
inline |
◆ JKQTPPaletteList() [6/10]
JKQTPPaletteList::JKQTPPaletteList |
( |
std::initializer_list< QColor > | args | ) |
|
|
inline |
◆ JKQTPPaletteList() [7/10]
JKQTPPaletteList::JKQTPPaletteList |
( |
std::initializer_list< QPair< double, QColor > > | args | ) |
|
|
inline |
◆ JKQTPPaletteList() [8/10]
JKQTPPaletteList::JKQTPPaletteList |
( |
InputIterator | first, |
|
|
InputIterator | last ) |
|
inline |
◆ JKQTPPaletteList() [9/10]
JKQTPPaletteList::JKQTPPaletteList |
( |
ListType && | other | ) |
|
|
inline |
◆ JKQTPPaletteList() [10/10]
JKQTPPaletteList::JKQTPPaletteList |
( |
const ListType & | other | ) |
|
|
inline |
◆ getMaxPosition()
double JKQTPPaletteList::getMaxPosition |
( |
| ) |
const |
|
inline |
returns the maximum value of the double-component
◆ getMinMaxPosition()
void JKQTPPaletteList::getMinMaxPosition |
( |
double & | mi, |
|
|
double & | ma, |
|
|
double * | avgDelta = nullptr ) const |
|
inline |
returns the minimum and maximum value of the double-component, as well as the avg. increment between two such values
◆ getMinPosition()
double JKQTPPaletteList::getMinPosition |
( |
| ) |
const |
|
inline |
returns the minimum value of the double-component
◆ operator<<() [1/2]
◆ operator<<() [2/2]
◆ push_back() [1/4]
void JKQTPPaletteList::push_back |
( |
double | pos, |
|
|
QColor | color ) |
|
inline |
◆ push_back() [2/4]
void JKQTPPaletteList::push_back |
( |
double | pos, |
|
|
QRgb | rgb ) |
|
inline |
◆ push_back() [3/4]
void JKQTPPaletteList::push_back |
( |
QColor | color | ) |
|
|
inline |
◆ push_back() [4/4]
void JKQTPPaletteList::push_back |
( |
QRgb | rgb | ) |
|
|
inline |
◆ reverse()
void JKQTPPaletteList::reverse |
( |
| ) |
|
|
inline |
◆ sort()
void JKQTPPaletteList::sort |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: