File failed to load: https://isis.astrogeology.usgs.gov/dev/Object/assets/jax/output/NativeMML/config.js
Isis 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
7class QPointF;
8
9template<typename A> class QList;
10
11namespace Isis {
12 class Angle;
13 class GroundGrid;
14 class Latitude;
15 class Longitude;
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
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
virtual ~GridGraphicsItem()
Definition GridGraphicsItem.cpp:355
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *widget=0)
Definition GridGraphicsItem.cpp:359
virtual QRectF boundingRect() const
Definition GridGraphicsItem.cpp:364
Calculates a lat/lon grid over an area.
Definition GroundGrid.h:58
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.
Definition MosaicSceneWidget.h:153
Universal Ground Map.
Definition UniversalGroundMap.h:69
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