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. More... | |
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. More... | |
ControlPoint * | findClosestControlPoint (QPointF locationPoint) |
Return the closest control point to the pointLocation. More... | |
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.
|
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::SerialNumberList::add(), Isis::ControlNet::GetNumPoints(), and Isis::ProgressBar::setText().
Referenced by Isis::MosaicControlNetTool::rebuildPointGraphics().
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::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().