1#ifndef RubberBandTool_h
2#define RubberBandTool_h
11template <
typename A>
class QList;
22 class MdiCubeViewport;
68 void enable(RubberBandMode mode,
bool showIndicatorColors =
false);
111 void mouseMove(QPoint p, Qt::MouseButton);
117 QPoint snapMouse(QPoint);
120 void paintVerticesConnected(QPainter *painter);
121 void paintRectangle(QPoint upperLeft, QPoint lowerRight, QPainter *painter);
122 void paintRectangle(QPoint upperLeft, QPoint upperRight,
123 QPoint lowerLeft, QPoint lowerRight, QPainter *painter);
126 void calcRectCorners(QPoint corner1, QPoint corner2, QPoint &corner3, QPoint &corner4);
131 bool p_doubleClicking;
134 bool p_drawActiveOnly;
135 RubberBandMode p_bandingMode;
136 QList<QPoint> * p_vertices;
138 Qt::MouseButton p_mouseButton;
139 bool p_indicatorColors;
140 unsigned int p_pointTolerance;
Defines an angle and provides unit conversions.
Definition Angle.h:45
Cube display widget for certain Isis MDI applications.
Definition MdiCubeViewport.h:39
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16