#include <ScaleBar.hpp>
|
| enum | Position {
Top,
Bottom,
Left,
Right,
TopLeft,
BottomLeft,
TopRight,
BottomRight,
Center
} |
| |
| enum | Direction { Horizontal,
Vertical
} |
| |
| enum | TextPosition { In,
Out
} |
| |
| typedef Vector< 2, size_t > | Point2u |
| |
Definition at line 31 of file ScaleBar.hpp.
◆ Point2u
◆ Direction
| Enumerator |
|---|
| Horizontal | |
| Vertical | |
Definition at line 37 of file ScaleBar.hpp.
◆ Position
| Enumerator |
|---|
| Top | |
| Bottom | |
| Left | |
| Right | |
| TopLeft | |
| BottomLeft | |
| TopRight | |
| BottomRight | |
| Center | |
Definition at line 35 of file ScaleBar.hpp.
◆ TextPosition
◆ ScaleBar()
| mgx::ScaleBar::ScaleBar |
( |
| ) |
|
◆ draw()
| void mgx::ScaleBar::draw |
( |
QGLViewer * |
viewer, |
|
|
QPaintDevice * |
device = 0 |
|
) |
| |
◆ findScale()
| void mgx::ScaleBar::findScale |
( |
double |
unit_size | ) |
|
|
protected |
◆ init()
| void mgx::ScaleBar::init |
( |
QGLViewer * |
viewer | ) |
|
◆ readParms()
| void mgx::ScaleBar::readParms |
( |
Parms & |
parms, |
|
|
QString |
section |
|
) |
| |
◆ restoreScale()
| void mgx::ScaleBar::restoreScale |
( |
| ) |
|
◆ scaleDrawing()
| void mgx::ScaleBar::scaleDrawing |
( |
double |
s | ) |
|
◆ setFont()
| void mgx::ScaleBar::setFont |
( |
const QFont & |
fnt | ) |
|
|
inline |
◆ setFontSize()
| void mgx::ScaleBar::setFontSize |
( |
int |
size | ) |
|
|
inline |
◆ setPosition()
| void mgx::ScaleBar::setPosition |
( |
Position |
p | ) |
|
|
inline |
◆ setScale()
| void mgx::ScaleBar::setScale |
( |
double |
s | ) |
|
|
inline |
◆ setShiftBorder()
| void mgx::ScaleBar::setShiftBorder |
( |
const Point2u & |
pt | ) |
|
|
inline |
◆ setThickness()
| void mgx::ScaleBar::setThickness |
( |
int |
th | ) |
|
|
inline |
◆ setUnit()
| void mgx::ScaleBar::setUnit |
( |
QString |
u | ) |
|
|
inline |
◆ setWantedSize()
| void mgx::ScaleBar::setWantedSize |
( |
double |
ws | ) |
|
|
inline |
◆ writeParms()
| void mgx::ScaleBar::writeParms |
( |
QTextStream & |
pout, |
|
|
QString |
section |
|
) |
| |
◆ autoScale
| bool mgx::ScaleBar::autoScale |
|
protected |
◆ autoUnit
| bool mgx::ScaleBar::autoUnit |
|
protected |
◆ dir
◆ displayUnit
| bool mgx::ScaleBar::displayUnit |
|
protected |
◆ fontSize
| int mgx::ScaleBar::fontSize |
|
protected |
◆ globalScale
| double mgx::ScaleBar::globalScale |
|
protected |
◆ maxSize
| double mgx::ScaleBar::maxSize |
|
protected |
◆ minSize
| double mgx::ScaleBar::minSize |
|
protected |
◆ pos
◆ scale
| double mgx::ScaleBar::scale |
|
protected |
◆ shiftBorder
◆ textPosition
◆ thickness
| double mgx::ScaleBar::thickness |
|
protected |
◆ unit
| QString mgx::ScaleBar::unit |
|
protected |
◆ unit_font
| QFont mgx::ScaleBar::unit_font |
|
protected |
◆ wantedSize
| double mgx::ScaleBar::wantedSize |
|
protected |
The documentation for this class was generated from the following file: