Isis 3 Programmer Reference
|
Control Network Display on Mosaic Scene. More...
#include <ControlNetGraphicsItem.h>
Public Slots | |
void | buildChildren () |
Call this to re-calculate where control points ought to lie. | |
void | clearControlPointGraphicsItem (QString pointId) |
Public Member Functions | |
ControlNetGraphicsItem (ControlNet *controlNet, MosaicSceneWidget *mosaicScene) | |
QRectF | boundingRect () const |
void | paint (QPainter *, const QStyleOptionGraphicsItem *, QWidget *widget=0) |
QString | snToFileName (QString sn) |
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. | |
ControlPoint * | findClosestControlPoint (QPointF locationPoint) |
Return the closest control point to the pointLocation. | |
Private Member Functions | |
QPair< QPointF, QPointF > | pointToScene (ControlPoint *) |
Private Attributes | |
ControlNet * | m_controlNet |
MosaicSceneWidget * | m_mosaicScene |
QMap< ControlPoint *, QPair< QPointF, QPointF > > * | m_pointToScene |
QMap< QString, UniversalGroundMap * > * | m_cubeToGroundMap |
SerialNumberList * | m_serialNumbers |
Control Network Display on Mosaic Scene.
2011-05-10 Steven Lambright - Added arrow capabilities for CPs
2012-04-16 Jeannie Backer - Added #include for Pvl class in implementation file.
2013-01-02 Steven Lambright - Updated setArrowVisible() to support new coloring options. The design of this configuration is wrong/needs fixed, but I'm leaving it alone due to time constraints. Fixes #479.
2014-06-02 Tracie Sucharski - Added documentation to the header file regarding pointToScene method and member variable.
2016-10-20 Tracie Sucharski & Kim Oyama - Added functionality for IPCE, including findClosestControlPoint method and making buildChildren and clearControlPointGraphicsItem public slots. Fixes #4479
2017-08-15 Tracie Sucharski - Fixed possible seg fault in findClosestControlPoint() when clicking away from a control point. Changed findClosestControlPoint to take the point location to search for a control point. Removed mouseReleaseEvent as it is not being used.
Definition at line 37 of file ControlNetGraphicsItem.h.
Isis::ControlNetGraphicsItem::ControlNetGraphicsItem | ( | ControlNet * | controlNet, |
MosaicSceneWidget * | mosaicScene ) |
Definition at line 30 of file ControlNetGraphicsItem.cpp.
|
virtual |
Definition at line 50 of file ControlNetGraphicsItem.cpp.
QRectF Isis::ControlNetGraphicsItem::boundingRect | ( | ) | const |
Definition at line 72 of file ControlNetGraphicsItem.cpp.
|
slot |
Call this to re-calculate where control points ought to lie.
This creates a new cube list and re-projects everything
Definition at line 240 of file ControlNetGraphicsItem.cpp.
References Isis::ProgressBar::setText().
Referenced by Isis::MosaicControlNetTool::rebuildPointGraphics().
|
slot |
Definition at line 188 of file ControlNetGraphicsItem.cpp.
ControlPoint * Isis::ControlNetGraphicsItem::findClosestControlPoint | ( | QPointF | locationPoint | ) |
Return the closest control point to the pointLocation.
locationPoint | (QPointF) The location point to search for a control point |
Definition at line 302 of file ControlNetGraphicsItem.cpp.
void Isis::ControlNetGraphicsItem::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | style, | ||
QWidget * | widget = 0 ) |
Definition at line 77 of file ControlNetGraphicsItem.cpp.
|
private |
Definition at line 82 of file ControlNetGraphicsItem.cpp.
void Isis::ControlNetGraphicsItem::setArrowsVisible | ( | bool | visible, |
bool | colorByMeasureCount, | ||
int | maxMeasureCount, | ||
bool | colorByJigsawError, | ||
double | maxResidualMagnitude ) |
Enable/disable and configure movement arrows for all CP displays in the network.
Definition at line 224 of file ControlNetGraphicsItem.cpp.
Referenced by Isis::MosaicControlNetTool::setMovementArrowColorSource().
QString Isis::ControlNetGraphicsItem::snToFileName | ( | QString | sn | ) |
Definition at line 203 of file ControlNetGraphicsItem.cpp.
|
private |
Definition at line 63 of file ControlNetGraphicsItem.h.
|
private |
Definition at line 72 of file ControlNetGraphicsItem.h.
|
private |
Definition at line 65 of file ControlNetGraphicsItem.h.
|
private |
Definition at line 70 of file ControlNetGraphicsItem.h.
|
private |
Definition at line 73 of file ControlNetGraphicsItem.h.