#include <ColorBar.hpp>
|
| void | startScreenCoordinatesSystem (QPaintDevice *device) const |
| |
| void | stopScreenCoordinatesSystem () const |
| |
| void | getValues (double start, double end, double delta, array &result) const |
| |
| array | selectValuesDirect (double length, bool is_vertical, const QFontMetricsF &metric, double min_dist) const |
| |
| std::pair< double, double > | significantDigits (double start, double end) const |
| |
| bool | canRenderTicks (const array &ticks, double length, double min_dist, bool is_vertical, const QFontMetricsF &font_metric) const |
| |
| QStringList | _tick2str (const array &ticks, QString *extra=0) const |
| |
| array | selectValues (double length, bool is_vertical, const QFontMetricsF *metric=0) const |
| |
Definition at line 29 of file ColorBar.hpp.
◆ array
◆ Orientation
| Enumerator |
|---|
| HORIZONTAL | |
| VERTICAL | |
Definition at line 35 of file ColorBar.hpp.
◆ Position
| Enumerator |
|---|
| TOP | |
| BOTTOM | |
| LEFT | |
| RIGHT | |
| TOP_LEFT | |
| TOP_RIGHT | |
| BOTTOM_RIGHT | |
| BOTTOM_LEFT | |
Definition at line 33 of file ColorBar.hpp.
◆ Colorbar()
◆ _tick2str()
| QStringList mgx::Colorbar::_tick2str |
( |
const array & |
ticks, |
|
|
QString * |
extra = 0 |
|
) |
| const |
|
protected |
◆ canRenderTicks()
| bool mgx::Colorbar::canRenderTicks |
( |
const array & |
ticks, |
|
|
double |
length, |
|
|
double |
min_dist, |
|
|
bool |
is_vertical, |
|
|
const QFontMetricsF & |
font_metric |
|
) |
| const |
|
protected |
◆ draw()
| void mgx::Colorbar::draw |
( |
GLuint |
colormapTexId, |
|
|
QPaintDevice * |
device |
|
) |
| const |
◆ getValues()
| void mgx::Colorbar::getValues |
( |
double |
start, |
|
|
double |
end, |
|
|
double |
delta, |
|
|
array & |
result |
|
) |
| const |
|
protected |
◆ readParms()
| void mgx::Colorbar::readParms |
( |
Parms & |
parms, |
|
|
QString |
section |
|
) |
| |
◆ restoreScale()
| void mgx::Colorbar::restoreScale |
( |
| ) |
|
◆ scaleDrawing()
| void mgx::Colorbar::scaleDrawing |
( |
double |
scale | ) |
|
◆ selectValues()
| array mgx::Colorbar::selectValues |
( |
double |
length, |
|
|
bool |
is_vertical, |
|
|
const QFontMetricsF * |
metric = 0 |
|
) |
| const |
|
protected |
◆ selectValuesDirect()
| array mgx::Colorbar::selectValuesDirect |
( |
double |
length, |
|
|
bool |
is_vertical, |
|
|
const QFontMetricsF & |
metric, |
|
|
double |
min_dist |
|
) |
| const |
|
protected |
◆ significantDigits()
| std::pair<double, double> mgx::Colorbar::significantDigits |
( |
double |
start, |
|
|
double |
end |
|
) |
| const |
|
protected |
◆ startScreenCoordinatesSystem()
| void mgx::Colorbar::startScreenCoordinatesSystem |
( |
QPaintDevice * |
device | ) |
const |
|
protected |
◆ stopScreenCoordinatesSystem()
| void mgx::Colorbar::stopScreenCoordinatesSystem |
( |
| ) |
const |
|
protected |
◆ writeParms()
| void mgx::Colorbar::writeParms |
( |
QTextStream & |
pout, |
|
|
QString |
section |
|
) |
| |
◆ distance_to_border
| double mgx::Colorbar::distance_to_border |
◆ epsilon
| double mgx::Colorbar::epsilon |
◆ exp_size
| double mgx::Colorbar::exp_size |
◆ font
| QFont mgx::Colorbar::font |
◆ globalScaling
| double mgx::Colorbar::globalScaling |
◆ label
| QString mgx::Colorbar::label |
◆ line_width
| double mgx::Colorbar::line_width |
◆ orientation
◆ position
◆ prev_height
| double mgx::Colorbar::prev_height |
|
protected |
◆ prev_width
| double mgx::Colorbar::prev_width |
|
mutableprotected |
◆ scale_length
| double mgx::Colorbar::scale_length |
◆ text_to_bar
| double mgx::Colorbar::text_to_bar |
◆ tick_size
| double mgx::Colorbar::tick_size |
◆ vmax
| double mgx::Colorbar::vmax |
◆ vmin
| double mgx::Colorbar::vmin |
◆ width
| double mgx::Colorbar::width |
The documentation for this class was generated from the following file: