![]() |
Isis 3 Programmer Reference
|
Widget for displaying information about a target. More...
#include <TargetInfoWidget.h>
Public Member Functions | |
TargetInfoWidget (TargetBody *target, Directory *directory, QWidget *parent=0) | |
Constructor. More... | |
~TargetInfoWidget () | |
Destructor. More... | |
Private Member Functions | |
void | errorMsg () |
Displays an error message on the Prime Meridian/Pole Position tabs of the TargetInfoWidget in the event that the target body parameters could not be retrieved from the cube. More... | |
QString | formatPoleRaString () |
Make the poleRightAscensionLabel text using information from the target. More... | |
QString | formatPoleDecString () |
Make the poleDeclinationLabel text using information from the target. More... | |
QString | formatPmString () |
Make the polePMOffsetLabel text using information from the target. More... | |
Private Attributes | |
Ui::TargetInfoWidget * | m_ui |
The widget's ui. More... | |
Directory * | m_directory |
Unused. More... | |
TargetBody * | m_target |
The target whose information is being displayed. More... | |
Widget for displaying information about a target.
Definition at line 35 of file TargetInfoWidget.h.
|
explicit |
Constructor.
Sets up the widget based on the target.
target | The target whose information will be displayed |
directory | Currently unused |
parent | The parent widget |
Definition at line 21 of file TargetInfoWidget.cpp.
References Isis::SpiceRotation::BPC, Isis::DisplayProperties::displayName(), Isis::TargetBody::displayProperties(), formatPmString(), formatPoleDecString(), formatPoleRaString(), Isis::TargetBody::frameType(), Isis::Distance::kilometers(), m_target, m_ui, Isis::TargetBody::meanRadius(), Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::radiusA(), Isis::TargetBody::radiusB(), and Isis::TargetBody::radiusC().
Isis::TargetInfoWidget::~TargetInfoWidget | ( | ) |
|
private |
Displays an error message on the Prime Meridian/Pole Position tabs of the TargetInfoWidget in the event that the target body parameters could not be retrieved from the cube.
Definition at line 267 of file TargetInfoWidget.cpp.
References Isis::DisplayProperties::displayName(), Isis::TargetBody::displayProperties(), m_target, and m_ui.
Referenced by formatPmString(), formatPoleDecString(), and formatPoleRaString().
|
private |
Make the polePMOffsetLabel text using information from the target.
Definition at line 206 of file TargetInfoWidget.cpp.
References Isis::SpiceRotation::BPC, errorMsg(), Isis::TargetBody::frameType(), m_target, Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::pmCoefs(), Isis::TargetBody::pmNutPrecCoefs(), and Isis::SpiceRotation::UNKNOWN.
Referenced by TargetInfoWidget().
|
private |
Make the poleDeclinationLabel text using information from the target.
Definition at line 151 of file TargetInfoWidget.cpp.
References Isis::SpiceRotation::BPC, errorMsg(), Isis::TargetBody::frameType(), m_target, Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::poleDecCoefs(), Isis::TargetBody::poleDecNutPrecCoefs(), and Isis::SpiceRotation::UNKNOWN.
Referenced by TargetInfoWidget().
|
private |
Make the poleRightAscensionLabel text using information from the target.
Definition at line 96 of file TargetInfoWidget.cpp.
References Isis::SpiceRotation::BPC, errorMsg(), Isis::TargetBody::frameType(), m_target, Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::poleRaCoefs(), Isis::TargetBody::poleRaNutPrecCoefs(), and Isis::SpiceRotation::UNKNOWN.
Referenced by TargetInfoWidget().
|
private |
Unused.
Definition at line 51 of file TargetInfoWidget.h.
|
private |
The target whose information is being displayed.
Definition at line 52 of file TargetInfoWidget.h.
Referenced by errorMsg(), formatPmString(), formatPoleDecString(), formatPoleRaString(), and TargetInfoWidget().
|
private |
The widget's ui.
Definition at line 44 of file TargetInfoWidget.h.
Referenced by errorMsg(), TargetInfoWidget(), and ~TargetInfoWidget().
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 07/13/2023 15:23:37 |