Isis Developer Reference
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 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)
 
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.
 
ControlPointfindClosestControlPoint (QPointF locationPoint)
 Return the closest control point to the pointLocation.
 

Detailed Description

Control Network Display on Mosaic Scene.

Author
2011-05-07 Steven Lambright

Constructor & Destructor Documentation

◆ ControlNetGraphicsItem()

Isis::ControlNetGraphicsItem::ControlNetGraphicsItem ( ControlNet * controlNet,
MosaicSceneWidget * mosaicScene )

References buildChildren().

◆ ~ControlNetGraphicsItem()

Isis::ControlNetGraphicsItem::~ControlNetGraphicsItem ( )
virtual

Member Function Documentation

◆ boundingRect()

QRectF Isis::ControlNetGraphicsItem::boundingRect ( ) const

◆ buildChildren

◆ clearControlPointGraphicsItem

void Isis::ControlNetGraphicsItem::clearControlPointGraphicsItem ( QString pointId)
slot

◆ findClosestControlPoint()

ControlPoint * Isis::ControlNetGraphicsItem::findClosestControlPoint ( QPointF locationPoint)

Return the closest control point to the pointLocation.

Parameters
locationPoint(QPointF) The location point to search for a control point
Returns
ControlPoint * The closest control point found, which is NULL if no control point found

References Isis::MosaicSceneWidget::getView().

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

◆ paint()

void Isis::ControlNetGraphicsItem::paint ( QPainter * painter,
const QStyleOptionGraphicsItem * style,
QWidget * widget = 0 )

◆ setArrowsVisible()

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()

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

◆ snToFileName()

QString Isis::ControlNetGraphicsItem::snToFileName ( QString sn)

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