Isis 3 Programmer Reference
GridGraphicsItem.h
1#ifndef GridGraphicsItem_h
2#define GridGraphicsItem_h
3
4#include <QGraphicsItem>
5#include <QScopedPointer>
6
7class QPointF;
8
9template<typename A> class QList;
10
11namespace 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
Defines an angle and provides unit conversions.
Definition Angle.h:45
The visual display of the find point.
This class is designed to encapsulate the concept of a Latitude.
Definition Latitude.h:51
This class is designed to encapsulate the concept of a Longitude.
Definition Longitude.h:40
This widget encompasses the entire mosaic scene.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16