Isis 3 Programmer Reference
GridGraphicsItem.h
1 #ifndef GridGraphicsItem_h
2 #define GridGraphicsItem_h
3 
4 #include <QGraphicsItem>
5 #include <QScopedPointer>
6 
7 class QPointF;
8 
9 template<typename A> class QList;
10 
11 namespace Isis {
12  class Angle;
13  class GroundGrid;
14  class Latitude;
15  class Longitude;
16  class MosaicSceneWidget;
17  class UniversalGroundMap;
18 
41  public:
42  GridGraphicsItem(Latitude baseLat, Longitude baseLon,
43  Angle latInc, Angle lonInc,
44  MosaicSceneWidget *projectionSrc, int density,
45  Latitude latMin, Latitude latMax,
46  Longitude lonMin, Longitude lonMax);
47  virtual ~GridGraphicsItem();
48 
49  void paint(QPainter *, const QStyleOptionGraphicsItem *,
50  QWidget * widget = 0);
51 
52  virtual QRectF boundingRect() const;
53 
54  private:
55  QRectF calcRect() const;
56  QRectF rect() const;
57  void setRect(QRectF newBoundingRect);
58 
59  private:
60  QRectF m_boundingRect;
61  };
62 }
63 
64 #endif
65 
This widget encompasses the entire mosaic scene.
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:63
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:52
The visual display of the find point.
Defines an angle and provides unit conversions.
Definition: Angle.h:62
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31