Engauge Digitizer
2
|
Class for showing points and lines for all coordinate systems simultaneously, even though the code normally only allows graphical items for once coordinate system to be visible at a time. More...
#include <Ghosts.h>
Public Member Functions | |
Ghosts (unsigned int coordSystemIndexToBeRestored) | |
Single constructor. | |
unsigned int | coordSystemIndexToBeRestored () const |
Coordinate system index that was active before the ghosts. | |
void | captureGraphicsItems (QGraphicsScene &scene) |
Take a snapshot of the graphics items. | |
void | createGhosts (QGraphicsScene &scene) |
Create ghosts from the path/rect/polygon lists. | |
void | destroyGhosts (QGraphicsScene &scene) |
Destory ghosts. Called at end of algorithm. | |
Class for showing points and lines for all coordinate systems simultaneously, even though the code normally only allows graphical items for once coordinate system to be visible at a time.
QGraphicsLineItems are ignored since those are just used for the AxesChecker, and QGraphicsPixmapItems are ignored since those are just used for the background. The other QGraphicsItem subclasses are captured and converted into ghosts.