18 #include <MGXViewer/qglviewer.h> 34 enum Position { Top, Bottom, Left, Right, TopLeft, BottomLeft, TopRight, BottomRight, Center };
36 enum Direction { Horizontal, Vertical };
38 enum TextPosition { In, Out };
42 void setWantedSize(
double ws)
48 void setScale(
double s)
62 void setPosition(Position p)
67 void setThickness(
int th)
75 void setShiftBorder(
const Point2u& pt) {
79 void setFont(
const QFont& fnt) {
83 void setFontSize(
int size) {
84 fontSize = (size > 0) ? size : 0;
93 void scaleDrawing(
double s);
97 void findScale(
double unit_size);
107 TextPosition textPosition;
109 bool autoScale, autoUnit;
110 double minSize, maxSize;
125 #endif // SCALEBAR_HPP
Defines the util::Parms class.
Common definitions and utilities for all geometry algorithms This file is shared by cuda...
This namespace contains all the API of MorphoGraphX.
Definition: Assert.hpp:26
A utility class to parse L-Studio like parameter files.
Definition: Parms.hpp:115
Definition: ScaleBar.hpp:31