USGS

Isis 3.0 Developer's Reference (API)

Home

ControlNetGraphicsItem.h
Go to the documentation of this file.
1 #ifndef ControlNetGraphicsItem_h
2 #define ControlNetGraphicsItem_h
3 
4 #include <QGraphicsObject>
5 
6 namespace Isis {
7  class ControlNet;
8  class ControlPoint;
9  class MosaicSceneWidget;
10  class Projection;
11  class SerialNumberList;
12  class UniversalGroundMap;
13 
28  Q_OBJECT
29 
30  public:
32  MosaicSceneWidget *mosaicScene);
33  virtual ~ControlNetGraphicsItem();
34 
35  QRectF boundingRect() const;
36  void paint(QPainter *, const QStyleOptionGraphicsItem *,
37  QWidget * widget = 0);
38  QString snToFileName(QString sn);
39 
40  void setArrowsVisible(bool visible, bool colorByMeasureCount, int measureCount,
41  bool colorByJigsawError, double residualMagnitude);
42 
43  private slots:
44  void buildChildren();
45 
46  private:
47  QPair<QPointF, QPointF> pointToScene(ControlPoint *);
48 
49  ControlNet *m_controlNet;
50 
51  MosaicSceneWidget *m_mosaicScene;
53  QMap<QString, UniversalGroundMap *> *m_cubeToGroundMap;
54  SerialNumberList *m_serialNumbers;
55  };
56 }
57 
58 #endif
59