USGS

Isis 3.0 Developer's Reference (API)

Home

Isis::ControlPointEdit Class Reference

Point Editor Widget. More...

#include <ControlPointEdit.h>

Inherits QWidget.

Public Slots

void setLeftMeasure (ControlMeasure *leftMeasure, Cube *leftCube, QString pointId)
 Set the measure displayed in the left ChipViewport.
 
void setRightMeasure (ControlMeasure *rightMeasure, Cube *rightCube, QString pointId)
 Set the measure displayed in the right ChipViewport.
 
void colorizeSaveButton ()
 Turn "Save Measure" button text to red.
 
void refreshChips ()
 
void saveChips ()
 Slot to save registration chips to files and fire off qview.
 

Signals

void updateLeftView (double sample, double line)
 
void updateRightView (double sample, double line)
 
void measureSaved ()
 
void newControlNetwork (ControlNet *)
 
void stretchChipViewport (Stretch *, CubeViewport *)
 

Public Member Functions

 ControlPointEdit (ControlNet *cnetQ, QWidget *parent=0, bool allowLeftMouse=false, bool useGeometry=true)
 Constructs a ControlPointEdit widget.
 
 ~ControlPointEdit ()
 
QString templateFileName ()
 
bool setTemplateFile (QString)
 Allows user to choose a new template file by opening a window from which to select a filename.
 
void allowLeftMouse (bool allowMouse)
 Set the option that allows mouse movements in the left ChipViewport.
 

Detailed Description

Point Editor Widget.

Author
2008-09-09 Tracie Sucharski

Constructor & Destructor Documentation

Isis::ControlPointEdit::ControlPointEdit ( ControlNet cnet,
QWidget parent = 0,
bool  allowLeftMouse = false,
bool  useGeometry = true 
)

Constructs a ControlPointEdit widget.

Parameters
parentInput Parent of widget
allowLeftMouseInput Allow/Disallow mouse events on Left ChipViewport
Author
Tracie Sucharski

References _FILEINFO_, allowLeftMouse(), Isis::AutoRegFactory::Create(), Isis::IException::Io, newControlNetwork(), and Isis::IException::toString().

Isis::ControlPointEdit::~ControlPointEdit ( )

Member Function Documentation

void Isis::ControlPointEdit::allowLeftMouse ( bool  allowMouse)

Set the option that allows mouse movements in the left ChipViewport.

Author
Tracie Sucharski

Referenced by ControlPointEdit().

void Isis::ControlPointEdit::colorizeSaveButton ( )
slot

Turn "Save Measure" button text to red.

Author
2011-06-14 Tracie Sucharski
void Isis::ControlPointEdit::measureSaved ( )
signal
void Isis::ControlPointEdit::newControlNetwork ( ControlNet _t1)
signal

Referenced by ControlPointEdit().

void Isis::ControlPointEdit::refreshChips ( )
slot
void Isis::ControlPointEdit::saveChips ( )
slot
void Isis::ControlPointEdit::setLeftMeasure ( ControlMeasure leftMeasure,
Cube leftCube,
QString  pointId 
)
slot

Set the measure displayed in the left ChipViewport.

Parameters
leftMeasureInput Measure displayed in left ChipViewport
leftCubeInput Cube of measure displayed in left ChipViewport
Author
Tracie Sucharski

References Isis::ControlMeasure::GetLine(), Isis::ControlMeasure::GetSample(), Isis::Chip::Load(), Isis::ChipViewport::setChip(), and Isis::Chip::TackCube().

void Isis::ControlPointEdit::setRightMeasure ( ControlMeasure rightMeasure,
Cube rightCube,
QString  pointId 
)
slot

Set the measure displayed in the right ChipViewport.

Parameters
rightMeasureInput Measure displayed in right ChipViewport
rightCubeInput Cube of measure displayed in right ChipViewport
Author
Tracie Sucharski

References _FILEINFO_, Isis::ControlMeasure::GetLine(), Isis::ControlMeasure::GetSample(), Isis::Chip::Load(), Isis::ChipViewport::setChip(), Isis::Chip::TackCube(), Isis::IException::toString(), and Isis::IException::User.

bool Isis::ControlPointEdit::setTemplateFile ( QString  fn)

Allows user to choose a new template file by opening a window from which to select a filename.

This file is then registered and set as the new template.

Author
Tracie Sucharski

References _FILEINFO_, Isis::AutoRegFactory::Create(), Isis::IException::Io, and Isis::IException::toString().

void Isis::ControlPointEdit::stretchChipViewport ( Stretch _t1,
CubeViewport _t2 
)
signal
QString Isis::ControlPointEdit::templateFileName ( )
inline
void Isis::ControlPointEdit::updateLeftView ( double  sample,
double  line 
)
signal
void Isis::ControlPointEdit::updateRightView ( double  sample,
double  line 
)
signal

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