|
CLAM-Development
1.4.0
|
#include <RulerTicks.hxx>
Public Member Functions | |
| RulerTicks () | |
| void | setRange (double min, double max) |
| Sets the domain value range. | |
| void | setWidth (double width) |
| Sets the width in pixels to be mapped the range into. | |
| void | setMinGap (double minGap) |
| Sets the minimum phisical space in pixels between between marks. | |
| double | markOffset () const |
| double | markGap () const |
| void | update () const |
| double | tickValue (unsigned i) const |
| Returns the domain value corresponding to tick i. | |
| double | pixelTickPos (unsigned i) const |
| Returns the pixel position of tick i. | |
| double | toPixel (double value) const |
| unsigned | nTicks () const |
Definition at line 23 of file RulerTicks.hxx.
|
inline |
Definition at line 35 of file RulerTicks.hxx.
|
inline |
Definition at line 71 of file RulerTicks.hxx.
References update().
|
inline |
Definition at line 66 of file RulerTicks.hxx.
References update().
|
inline |
Definition at line 123 of file RulerTicks.hxx.
References update().
|
inline |
Returns the pixel position of tick i.
Definition at line 113 of file RulerTicks.hxx.
References tickValue(), and toPixel().
|
inline |
Sets the minimum phisical space in pixels between between marks.
Definition at line 61 of file RulerTicks.hxx.
|
inline |
|
inline |
Sets the width in pixels to be mapped the range into.
Definition at line 54 of file RulerTicks.hxx.
References CLAM_ASSERT.
|
inline |
Returns the domain value corresponding to tick i.
Definition at line 107 of file RulerTicks.hxx.
References update().
Referenced by pixelTickPos().
|
inline |
Definition at line 118 of file RulerTicks.hxx.
Referenced by pixelTickPos().
|
inline |
Definition at line 76 of file RulerTicks.hxx.
Referenced by markGap(), markOffset(), nTicks(), and tickValue().
1.8.1