File failed to load: https://isis.astrogeology.usgs.gov/9.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
ControlNetGraphicsItem.h
1#ifndef ControlNetGraphicsItem_h
2#define ControlNetGraphicsItem_h
3
4#include <QGraphicsObject>
5
6namespace Isis {
7 class ControlNet;
8 class ControlPoint;
10 class Projection;
11 class SerialNumberList;
13
37 class ControlNetGraphicsItem : public QGraphicsObject {
38 Q_OBJECT
39
40 public:
41 ControlNetGraphicsItem(ControlNet *controlNet,
42 MosaicSceneWidget *mosaicScene);
43 virtual ~ControlNetGraphicsItem();
44
45 QRectF boundingRect() const;
46 void paint(QPainter *, const QStyleOptionGraphicsItem *,
47 QWidget * widget = 0);
48 QString snToFileName(QString sn);
49
50 void setArrowsVisible(bool visible, bool colorByMeasureCount, int measureCount,
51 bool colorByJigsawError, double residualMagnitude);
52
53 ControlPoint *findClosestControlPoint(QPointF locationPoint);
54
55 public slots:
56 void buildChildren();
57 void clearControlPointGraphicsItem(QString pointId);
58
59 private:
60 // Returns apriori x/y in first point, adjusted x/y in 2nd point
62
63 ControlNet *m_controlNet;
64
65 MosaicSceneWidget *m_mosaicScene;
66
67 // m_pointToScene contains lat/lon coordinates, 1st QPointF = apriori; 2nd QPointF = adjusted.
68 // There will always be and apriori point, but if not adjusted exists, then it is set to the
69 // apriori.
71
72 QMap<QString, UniversalGroundMap *> *m_cubeToGroundMap;
73 SerialNumberList *m_serialNumbers;
74 };
75}
76
77#endif
78
ControlPoint * findClosestControlPoint(QPointF locationPoint)
Return the closest control point to the pointLocation.
void setArrowsVisible(bool visible, bool colorByMeasureCount, int measureCount, bool colorByJigsawError, double residualMagnitude)
Enable/disable and configure movement arrows for all CP displays in the network.
void buildChildren()
Call this to re-calculate where control points ought to lie.
a control network
Definition ControlNet.h:258
A single control point.
This widget encompasses the entire mosaic scene.
Base class for Map Projections.
Definition Projection.h:155
Serial Number list generator.
Universal Ground Map.
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
This is free and unencumbered software released into the public domain.