![]() |
Isis 3 Developer 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) | |
| virtual | ~ControlNetGraphicsItem () |
| 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... | |
Control Network Display on Mosaic Scene.
| Isis::ControlNetGraphicsItem::ControlNetGraphicsItem | ( | ControlNet * | controlNet, |
| MosaicSceneWidget * | mosaicScene | ||
| ) |
References buildChildren(), and Isis::MosaicSceneWidget::getScene().
|
virtual |
| QRectF Isis::ControlNetGraphicsItem::boundingRect | ( | ) | const |
|
slot |
Call this to re-calculate where control points ought to lie.
This creates a new cube list and re-projects everything
References Isis::SerialNumberList::add(), Isis::MosaicSceneWidget::cubeFileNames(), Isis::ControlNet::GetNumPoints(), Isis::ControlNet::GetPoint(), Isis::MosaicSceneWidget::getProgress(), and Isis::ProgressBar::setText().
Referenced by ControlNetGraphicsItem(), Isis::MosaicControlNetTool::displayChangedControlPoint(), Isis::MosaicControlNetTool::displayNewControlPoint(), Isis::MosaicControlNetTool::displayUponControlPointDeletion(), and Isis::MosaicControlNetTool::rebuildPointGraphics().
|
slot |
| 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 |
References Isis::MosaicSceneWidget::getView().
Referenced by Isis::MosaicControlNetTool::mouseButtonRelease().
| void Isis::ControlNetGraphicsItem::paint | ( | QPainter * | painter, |
| const QStyleOptionGraphicsItem * | style, | ||
| QWidget * | widget = 0 |
||
| ) |
| 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.
Referenced by Isis::MosaicControlNetTool::setMovementArrowColorSource().
| QString Isis::ControlNetGraphicsItem::snToFileName | ( | QString | sn | ) |
References Isis::SerialNumberList::fileName(), and Isis::SerialNumberList::size().