#include <ScaleEngine.h>
|
| virtual void | autoScale (int maxNumSteps, double &x1, double &x2, double &stepSize) const |
| |
| double | axisBreakLeft () const |
| |
| double | axisBreakRight () const |
| |
| int | breakPosition () const |
| |
| int | breakWidth () const |
| |
| void | clone (const ScaleEngine *engine) |
| |
| virtual QwtScaleDiv | divideScale (double x1, double x2, int maxMajSteps, int maxMinSteps, double stepSize=0.0) const |
| |
| void | drawBreakDecoration (bool draw) |
| |
| bool | hasBreak () const |
| |
| bool | hasBreakDecoration () const |
| |
| bool | log10ScaleAfterBreak () const |
| |
| int | minTicksAfterBreak () const |
| |
| int | minTicksBeforeBreak () const |
| |
| | ScaleEngine (ScaleTransformation::Type type=ScaleTransformation::Linear, double left_break=-DBL_MAX, double right_break=DBL_MAX) |
| |
| void | setBreakPosition (int pos) |
| |
| void | setBreakRegion (double from, double to) |
| |
| void | setBreakWidth (int width) |
| |
| void | setLog10ScaleAfterBreak (bool on) |
| |
| void | setMinTicksAfterBreak (int ticks) |
| |
| void | setMinTicksBeforeBreak (int ticks) |
| |
| void | setStepAfterBreak (double step) |
| |
| void | setStepBeforeBreak (double step) |
| |
| void | setType (ScaleTransformation::Type type) |
| |
| double | stepAfterBreak () const |
| |
| double | stepBeforeBreak () const |
| |
| QwtScaleTransformation * | transformation () const |
| |
| ScaleTransformation::Type | type () const |
| |
| void ScaleEngine::autoScale |
( |
int |
maxNumSteps, |
|
|
double & |
x1, |
|
|
double & |
x2, |
|
|
double & |
stepSize |
|
) |
| const |
|
virtual |
| double ScaleEngine::axisBreakLeft |
( |
| ) |
const |
References d_break_left.
Referenced by clone(), ScaleDraw::drawBackbone(), ScaleDraw::drawBreak(), Graph::drawBreak(), ScaleDraw::drawInwardTick(), Graph::drawInwardTicks(), Graph::drawItems(), ScaleDraw::drawLabel(), ScaleDraw::drawTick(), ScaleDraw::labelString(), and MultiLayer::updateLayerAxes().
| double ScaleEngine::axisBreakRight |
( |
| ) |
const |
References d_break_right.
Referenced by clone(), ScaleDraw::drawBackbone(), ScaleDraw::drawBreak(), Graph::drawBreak(), ScaleDraw::drawInwardTick(), Graph::drawInwardTicks(), Graph::drawItems(), ScaleDraw::drawLabel(), ScaleDraw::drawTick(), ScaleDraw::labelString(), and MultiLayer::updateLayerAxes().
| int ScaleEngine::breakPosition |
( |
| ) |
const |
| int ScaleEngine::breakWidth |
( |
| ) |
const |
References axisBreakLeft(), axisBreakRight(), breakPosition(), breakWidth(), d_break_decoration, d_break_left, d_break_pos, d_break_right, d_break_width, d_log10_scale_after, d_minor_ticks_after, d_minor_ticks_before, d_step_after, d_step_before, d_type, hasBreakDecoration(), log10ScaleAfterBreak(), minTicksAfterBreak(), minTicksBeforeBreak(), stepAfterBreak(), stepBeforeBreak(), and type().
Referenced by Graph::updateOppositeScaleDiv().
| QwtScaleDiv ScaleEngine::divideScale |
( |
double |
x1, |
|
|
double |
x2, |
|
|
int |
maxMajSteps, |
|
|
int |
maxMinSteps, |
|
|
double |
stepSize = 0.0 |
|
) |
| const |
|
virtual |
| void ScaleEngine::drawBreakDecoration |
( |
bool |
draw | ) |
|
|
inline |
| bool ScaleEngine::hasBreak |
( |
| ) |
const |
References d_break_left, and d_break_right.
Referenced by autoScale(), divideScale(), ScaleDraw::drawBackbone(), ScaleDraw::drawBreak(), Graph::drawBreak(), ScaleDraw::drawInwardTick(), Graph::drawInwardTicks(), Graph::drawItems(), ScaleDraw::drawLabel(), ScaleDraw::drawTick(), and ScaleDraw::labelString().
| bool ScaleEngine::hasBreakDecoration |
( |
| ) |
const |
| bool ScaleEngine::log10ScaleAfterBreak |
( |
| ) |
const |
| int ScaleEngine::minTicksAfterBreak |
( |
| ) |
const |
| int ScaleEngine::minTicksBeforeBreak |
( |
| ) |
const |
| QwtScaleEngine * ScaleEngine::newScaleEngine |
( |
| ) |
const |
|
private |
| void ScaleEngine::setBreakPosition |
( |
int |
pos | ) |
|
|
inline |
| void ScaleEngine::setBreakRegion |
( |
double |
from, |
|
|
double |
to |
|
) |
| |
|
inline |
| void ScaleEngine::setBreakWidth |
( |
int |
width | ) |
|
|
inline |
| void ScaleEngine::setLog10ScaleAfterBreak |
( |
bool |
on | ) |
|
|
inline |
| void ScaleEngine::setMinTicksAfterBreak |
( |
int |
ticks | ) |
|
|
inline |
| void ScaleEngine::setMinTicksBeforeBreak |
( |
int |
ticks | ) |
|
|
inline |
| void ScaleEngine::setStepAfterBreak |
( |
double |
step | ) |
|
|
inline |
| void ScaleEngine::setStepBeforeBreak |
( |
double |
step | ) |
|
|
inline |
| double ScaleEngine::stepAfterBreak |
( |
| ) |
const |
| double ScaleEngine::stepBeforeBreak |
( |
| ) |
const |
| QwtScaleTransformation * ScaleEngine::transformation |
( |
| ) |
const |
| bool ScaleEngine::d_break_decoration |
|
private |
| double ScaleEngine::d_break_left |
|
private |
| int ScaleEngine::d_break_pos |
|
private |
| double ScaleEngine::d_break_right |
|
private |
| int ScaleEngine::d_break_width |
|
private |
| bool ScaleEngine::d_log10_scale_after |
|
private |
| int ScaleEngine::d_minor_ticks_after |
|
private |
| int ScaleEngine::d_minor_ticks_before |
|
private |
| double ScaleEngine::d_step_after |
|
private |
| double ScaleEngine::d_step_before |
|
private |
The documentation for this class was generated from the following files: