8 #include <MGXViewer/qglviewer.h>
24 enum Position { Top, Bottom, Left, Right, TopLeft, BottomLeft, TopRight, BottomRight, Center };
26 enum Direction { Horizontal, Vertical };
28 enum TextPosition { In, Out };
32 void setWantedSize(
double ws)
38 void setScale(
double s)
52 void setPosition(Position p)
57 void setThickness(
int th)
65 void setShiftBorder(
const Point2u& pt) {
69 void setFont(
const QFont& fnt) {
73 void setFontSize(
int size) {
74 fontSize = (size > 0) ? size : 0;
83 void scaleDrawing(
double s);
87 void findScale(
double unit_size);
97 TextPosition textPosition;
99 bool autoScale, autoUnit;
100 double minSize, maxSize;
115 #endif // SCALEBAR_HPP
Defines the util::Parms class.
Common definitions and utilities for all geometry algorithms This file is shared by cuda...
A utility class to parse L-Studio like parameter files.
Definition: Parms.hpp:105
Definition: ScaleBar.hpp:21