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
40
class
GridGraphicsItem
:
public
QGraphicsItem
{
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
QWidget
Isis::GridGraphicsItem
The visual display of the find point.
Definition:
GridGraphicsItem.h:40
QList
This is free and unencumbered software released into the public domain.
Definition:
BoxcarCachingAlgorithm.h:13
Isis::Latitude
This class is designed to encapsulate the concept of a Latitude.
Definition:
Latitude.h:51
Isis::MosaicSceneWidget
This widget encompasses the entire mosaic scene.
Definition:
MosaicSceneWidget.h:153
Isis::Longitude
This class is designed to encapsulate the concept of a Longitude.
Definition:
Longitude.h:40
Isis::Angle
Defines an angle and provides unit conversions.
Definition:
Angle.h:45
QGraphicsItem
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
src
qisis
objs
MosaicSceneWidget
GridGraphicsItem.h