Isis 3.0 Programmer Reference
Back | Home
Isis::TargetInfoWidget Class Reference

Widget for displaying information about a target. More...

#include <TargetInfoWidget.h>

Inheritance diagram for Isis::TargetInfoWidget:
Inheritance graph
Collaboration diagram for Isis::TargetInfoWidget:
Collaboration graph

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::TargetInfoWidgetm_ui
 The widget's ui. More...
 
Directorym_directory
 Unused. More...
 
TargetBodym_target
 The target whose information is being displayed. More...
 

Detailed Description

Widget for displaying information about a target.

Author
2015-06-13 Ken Edmundson
History:

2015-06-13 Ken Edmundson - Original version.

2016-08-25 Adam Paquette - Updated documentation. Fixes #4299.

Definition at line 27 of file TargetInfoWidget.h.

Constructor & Destructor Documentation

Isis::TargetInfoWidget::TargetInfoWidget ( TargetBody target,
Directory directory,
QWidget parent = 0 
)
explicit
Isis::TargetInfoWidget::~TargetInfoWidget ( )

Destructor.

Definition at line 84 of file TargetInfoWidget.cpp.

References m_ui.

Member Function Documentation

QString Isis::TargetInfoWidget::formatPmString ( )
private

Make the polePMOffsetLabel text using information from the target.

Returns
QString The polePMOffsetLabel text

Definition at line 176 of file TargetInfoWidget.cpp.

References m_target, Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::pmCoefs(), and Isis::TargetBody::pmNutPrecCoefs().

Referenced by TargetInfoWidget().

QString Isis::TargetInfoWidget::formatPoleDecString ( )
private

Make the poleDeclinationLabel text using information from the target.

Returns
QString The poleDeclinationLabel text

Definition at line 135 of file TargetInfoWidget.cpp.

References m_target, Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::poleDecCoefs(), and Isis::TargetBody::poleDecNutPrecCoefs().

Referenced by TargetInfoWidget().

QString Isis::TargetInfoWidget::formatPoleRaString ( )
private

Make the poleRightAscensionLabel text using information from the target.

Returns
QString The poleRightAscensionLabel text

Definition at line 94 of file TargetInfoWidget.cpp.

References m_target, Isis::TargetBody::naifPlanetSystemName(), Isis::TargetBody::poleRaCoefs(), and Isis::TargetBody::poleRaNutPrecCoefs().

Referenced by TargetInfoWidget().

Member Data Documentation

Directory* Isis::TargetInfoWidget::m_directory
private

Unused.

Definition at line 41 of file TargetInfoWidget.h.

TargetBody* Isis::TargetInfoWidget::m_target
private

The target whose information is being displayed.

Definition at line 42 of file TargetInfoWidget.h.

Referenced by formatPmString(), formatPoleDecString(), formatPoleRaString(), and TargetInfoWidget().

Ui::TargetInfoWidget* Isis::TargetInfoWidget::m_ui
private

The widget's ui.

Definition at line 35 of file TargetInfoWidget.h.

Referenced by TargetInfoWidget(), and ~TargetInfoWidget().


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

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