USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::ControlNetGraphicsItem Class Reference

Control Network Display on Mosaic Scene. More...

#include <ControlNetGraphicsItem.h>

Inheritance diagram for Isis::ControlNetGraphicsItem:
Inheritance graph
Collaboration diagram for Isis::ControlNetGraphicsItem:
Collaboration graph

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.
 

Private Slots

void buildChildren ()
 Call this to re-calculate where control points ought to lie.
 

Private Member Functions

QPair< QPointF, QPointF > pointToScene (ControlPoint *)
 

Private Attributes

ControlNetm_controlNet
 
MosaicSceneWidgetm_mosaicScene
 
QMap< ControlPoint *, QPair
< QPointF, QPointF > > * 
m_pointToScene
 
QMap< QString,
UniversalGroundMap * > * 
m_cubeToGroundMap
 
SerialNumberListm_serialNumbers
 

Detailed Description

Control Network Display on Mosaic Scene.

Author
2011-05-07 Steven Lambright
History:

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.

Definition at line 27 of file ControlNetGraphicsItem.h.

Member Function Documentation

void Isis::ControlNetGraphicsItem::buildChildren ( )
privateslot

Call this to re-calculate where control points ought to lie.

This creates a new cube list and re-projects everything

Definition at line 219 of file ControlNetGraphicsItem.cpp.

References Isis::SerialNumberList::Add(), Isis::ControlNet::GetNumPoints(), and Isis::ProgressBar::setText().

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.

See Also
ControlPointGraphicsItem::setArrowsVisible()
MosaicControlNetTool::setMovementArrowColorSource()

Definition at line 203 of file ControlNetGraphicsItem.cpp.

Referenced by Isis::MosaicControlNetTool::setMovementArrowColorSource().


The documentation for this class was generated from the following files: