Engauge Digitizer 2
|
Class for collecting and then displaying debug information computed during constant R ellipse calculations. More...
#include <CentipedeDebugPolar.h>
Public Member Functions | |
CentipedeDebugPolar () | |
Default constructor with initial values overwritten later. | |
CentipedeDebugPolar (const QPointF &posScreenParallelogramTL, const QPointF &posScreenParallelogramTR, const QPointF &posScreenParallelogramBL, const QPointF &posScreenParallelogramBR, double angleGraphAxisFromScreenAxis, double angleEllipseFromMajorAxis, double aAligned, double bAligned, double radius) | |
Constructor with parallelogram (TL=top left, BR=bottom right,...) that circumscribes the ellipse, which gets converted into a right-angle rectangle. | |
CentipedeDebugPolar (const CentipedeDebugPolar &other) | |
Copy constructor. | |
CentipedeDebugPolar & | operator= (const CentipedeDebugPolar &other) |
Assignment operator. | |
virtual | ~CentipedeDebugPolar () |
double | aAligned () const |
Get method for top left corner of rectangle. | |
double | angleEllipseFromMajorAxis () const |
Get method for top left corner of rectangle. | |
double | angleGraphAxisFromScreenAxis () const |
Get method for top left corner of rectangle. | |
double | bAligned () const |
Get method for top left corner of rectangle. | |
void | display (QGraphicsScene &scene, const DocumentModelCoords &modelCoords, const Transformation &transformation) |
Display member variable values on scene. | |
void | dumpEllipseGraphicsItem (const QString &callerMethod, const QGraphicsEllipseItem *ellipse) const |
Dump ellipse grahics item. | |
QPointF | posScreenParallelogramBL () const |
Get method for bottom left corner of rectangle. | |
QPointF | posScreenParallelogramBR () const |
Get method for bottom right corner of rectangle. | |
QPointF | posScreenParallelogramTL () const |
Get method for top left corner of rectangle. | |
QPointF | posScreenParallelogramTR () const |
Get method for top right corner of rectangle. | |
double | radius () const |
Get method for radius. |
Class for collecting and then displaying debug information computed during constant R ellipse calculations.
Definition at line 20 of file CentipedeDebugPolar.h.
CentipedeDebugPolar::CentipedeDebugPolar | ( | ) |
Default constructor with initial values overwritten later.
Definition at line 21 of file CentipedeDebugPolar.cpp.
CentipedeDebugPolar::CentipedeDebugPolar | ( | const QPointF & | posScreenParallelogramTL, |
const QPointF & | posScreenParallelogramTR, | ||
const QPointF & | posScreenParallelogramBL, | ||
const QPointF & | posScreenParallelogramBR, | ||
double | angleGraphAxisFromScreenAxis, | ||
double | angleEllipseFromMajorAxis, | ||
double | aAligned, | ||
double | bAligned, | ||
double | radius ) |
Constructor with parallelogram (TL=top left, BR=bottom right,...) that circumscribes the ellipse, which gets converted into a right-angle rectangle.
Definition at line 35 of file CentipedeDebugPolar.cpp.
CentipedeDebugPolar::CentipedeDebugPolar | ( | const CentipedeDebugPolar & | other | ) |
Copy constructor.
Definition at line 57 of file CentipedeDebugPolar.cpp.
|
virtual |
Definition at line 87 of file CentipedeDebugPolar.cpp.
double CentipedeDebugPolar::aAligned | ( | ) | const |
Get method for top left corner of rectangle.
Definition at line 91 of file CentipedeDebugPolar.cpp.
double CentipedeDebugPolar::angleEllipseFromMajorAxis | ( | ) | const |
Get method for top left corner of rectangle.
Definition at line 108 of file CentipedeDebugPolar.cpp.
double CentipedeDebugPolar::angleGraphAxisFromScreenAxis | ( | ) | const |
Get method for top left corner of rectangle.
Definition at line 113 of file CentipedeDebugPolar.cpp.
double CentipedeDebugPolar::bAligned | ( | ) | const |
Get method for top left corner of rectangle.
Definition at line 118 of file CentipedeDebugPolar.cpp.
void CentipedeDebugPolar::display | ( | QGraphicsScene & | scene, |
const DocumentModelCoords & | modelCoords, | ||
const Transformation & | transformation ) |
Display member variable values on scene.
Definition at line 123 of file CentipedeDebugPolar.cpp.
void CentipedeDebugPolar::dumpEllipseGraphicsItem | ( | const QString & | callerMethod, |
const QGraphicsEllipseItem * | ellipse ) const |
Dump ellipse grahics item.
This is expected to be called just after all geometry settings for a QGraphicsEllipseItem have been completed in the Centipede code, and later in the Guideline code, so they can be compared when there is a problem. The broken code is adjusted to produce the values of the good ellipse (assuming there is one)
Definition at line 310 of file CentipedeDebugPolar.cpp.
CentipedeDebugPolar & CentipedeDebugPolar::operator= | ( | const CentipedeDebugPolar & | other | ) |
Assignment operator.
Definition at line 71 of file CentipedeDebugPolar.cpp.
QPointF CentipedeDebugPolar::posScreenParallelogramBL | ( | ) | const |
Get method for bottom left corner of rectangle.
Definition at line 347 of file CentipedeDebugPolar.cpp.
QPointF CentipedeDebugPolar::posScreenParallelogramBR | ( | ) | const |
Get method for bottom right corner of rectangle.
Definition at line 352 of file CentipedeDebugPolar.cpp.
QPointF CentipedeDebugPolar::posScreenParallelogramTL | ( | ) | const |
Get method for top left corner of rectangle.
Definition at line 357 of file CentipedeDebugPolar.cpp.
QPointF CentipedeDebugPolar::posScreenParallelogramTR | ( | ) | const |
Get method for top right corner of rectangle.
Definition at line 362 of file CentipedeDebugPolar.cpp.
double CentipedeDebugPolar::radius | ( | ) | const |
Get method for radius.
Definition at line 367 of file CentipedeDebugPolar.cpp.