Isis 3 Developer Reference
GridGraphicsItem.h
Go to the documentation of this file.
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.
Definition: MosaicSceneWidget.h:153
virtual ~GridGraphicsItem()
Definition: GridGraphicsItem.cpp:334
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.
Definition: GridGraphicsItem.h:40
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *widget=0)
Definition: GridGraphicsItem.cpp:338
GridGraphicsItem(Latitude baseLat, Longitude baseLon, Angle latInc, Angle lonInc, MosaicSceneWidget *projectionSrc, int density, Latitude latMin, Latitude latMax, Longitude lonMin, Longitude lonMax)
Definition: GridGraphicsItem.cpp:26
Defines an angle and provides unit conversions.
Definition: Angle.h:62
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
virtual QRectF boundingRect() const
Definition: GridGraphicsItem.cpp:343