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 | |
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.
2015-06-13 Ken Edmundson - Original version.
2016-08-25 Adam Paquette - Updated documentation. Fixes #4299.
Definition at line 27 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 20 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 |
Make the polePMOffsetLabel text using information from the target.
Definition at line 176 of file TargetInfoWidget.cpp.
References m_target, Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::pmCoefs(), and Isis::TargetBody::pmNutPrecCoefs().
Referenced by TargetInfoWidget().
|
private |
Make the poleDeclinationLabel text using information from the target.
Definition at line 135 of file TargetInfoWidget.cpp.
References m_target, Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::poleDecCoefs(), and Isis::TargetBody::poleDecNutPrecCoefs().
Referenced by TargetInfoWidget().
|
private |
Make the poleRightAscensionLabel text using information from the target.
Definition at line 94 of file TargetInfoWidget.cpp.
References m_target, Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::poleRaCoefs(), and Isis::TargetBody::poleRaNutPrecCoefs().
Referenced by TargetInfoWidget().
|
private |
Unused.
Definition at line 41 of file TargetInfoWidget.h.
|
private |
The target whose information is being displayed.
Definition at line 42 of file TargetInfoWidget.h.
Referenced by formatPmString(), formatPoleDecString(), formatPoleRaString(), and TargetInfoWidget().
|
private |
The widget's ui.
Definition at line 35 of file TargetInfoWidget.h.
Referenced by 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 ISIS Support Center File Modified: 07/13/2023 00:21:11 |