Isis 3 Developer Reference
Isis::TargetBody Class Reference

Container class for TargetBody. More...

#include <TargetBody.h>

Inheritance diagram for Isis::TargetBody:
Inheritance graph
Collaboration diagram for Isis::TargetBody:
Collaboration graph

Public Member Functions

 TargetBody (Target *target, QObject *parent=0)
 The first constructor for this class. More...
 
 ~TargetBody ()
 The second constructor for this class. More...
 
bool operator== (const TargetBody &src) const
 Compares two Target Body objects to see if they are equal. More...
 
TargetBodyDisplayPropertiesdisplayProperties ()
 Gets TargetBodyDisplayProperties. More...
 
const TargetBodyDisplayPropertiesdisplayProperties () const
 TargetBody::displayProperties. More...
 
QString id () const
 Output format: More...
 
QString targetName ()
 Returns the value stored at TargetName in the original pvl label. More...
 
int frameType ()
 Returns the frame type. More...
 
std::vector< AnglepoleRaCoefs ()
 TargetBody::poleRaCoefs. More...
 
std::vector< AnglepoleDecCoefs ()
 Returns coefficients of a quadratic polynomial fitting pole dec. More...
 
std::vector< AnglepmCoefs ()
 Returns coefficients of a quadratic polynomial fitting pole pm. More...
 
std::vector< double > poleRaNutPrecCoefs ()
 Returns coefficients of pole right ascension nut/prec terms. More...
 
std::vector< double > poleDecNutPrecCoefs ()
 TargetBody::poleDecNutPrecCoefs. More...
 
std::vector< double > pmNutPrecCoefs ()
 Returns coefficients of the prime meridian nut/prec terms. More...
 
std::vector< AnglesysNutPrecConstants ()
 Returns constants of planetary system nut/prec periods. More...
 
std::vector< AnglesysNutPrecCoefs ()
 Returns Linear terms of planetary system nut/prec periods. More...
 
SpiceInt naifBodyCode () const
 This returns the NAIF body code of the target. More...
 
SpiceInt naifPlanetSystemCode () const
 This returns the NAIF body code of the target's planet system. More...
 
QString naifPlanetSystemName () const
 This returns the body name of the target's planet system. More...
 
Distance radiusA () const
 Returns "a" radius. More...
 
Distance radiusB () const
 Returns "b" radius. More...
 
Distance radiusC () const
 Returns the "c" radius. More...
 
Distance meanRadius () const
 Returns the mean radius. More...
 
Distance sigmaRadiusA () const
 Returns "a" radius sigma. More...
 
Distance sigmaRadiusB () const
 Returns "b" radius sigma. More...
 
Distance sigmaRadiusC () const
 Returns the "c" radius sigma. More...
 
Distance sigmaMeanRadius () const
 Returns the mean radius sigma. More...
 

Detailed Description

Container class for TargetBody.

This class represents a target body in a project-based GUI interface. It encapsulates ideas about a target such as it's display name, how it should be viewed, where it is on disk, etc.

Author
2015-06-08 Ken Edmundson

Constructor & Destructor Documentation

◆ TargetBody()

◆ ~TargetBody()

Isis::TargetBody::~TargetBody ( )

The second constructor for this class.

Parameters
bundleTargetBodyA QSharedPointer to a BundleTarget object.
parentA pointer to the object instantiating this object. The destructor

Member Function Documentation

◆ displayProperties() [1/2]

TargetBodyDisplayProperties * Isis::TargetBody::displayProperties ( )

Gets TargetBodyDisplayProperties.

Returns
TargetBodyDisplayProperties * A pointer to the display properties for the TargetBody.

Referenced by Isis::TargetInfoWidget::TargetInfoWidget().

◆ displayProperties() [2/2]

const TargetBodyDisplayProperties * Isis::TargetBody::displayProperties ( ) const

TargetBody::displayProperties.

Returns
TargetBodyDisplayProperties * A pointer to the display properties for the TargetBody.

◆ frameType()

int Isis::TargetBody::frameType ( )

Returns the frame type.

Returns

Referenced by Isis::TargetInfoWidget::TargetInfoWidget().

◆ id()

QString Isis::TargetBody::id ( ) const

Output format:

<image id="..." filename="..."> ... </image>

(fileName attribute is just the base name) Create an XML Handler (reader) that can populate the BundleSettings class data. See BundleSettings::save() for the expected format.

Parameters
bundleSettingsThe image we're going to be initializing
imageFolderThe folder that contains the Cube Handle an XML start element. This expects <image> and <displayProperties> elements.
Returns
If we should continue reading the XML (usually true). Get a unique, identifying string associated with this TargetBody object.
A unique ID for this TargetBody object.

◆ meanRadius()

Distance Isis::TargetBody::meanRadius ( ) const

Returns the mean radius.

Returns
Distance value of body mean radius.

Referenced by Isis::TargetInfoWidget::TargetInfoWidget().

◆ naifBodyCode()

SpiceInt Isis::TargetBody::naifBodyCode ( ) const

This returns the NAIF body code of the target.

Returns
SpiceInt NAIF body code

Referenced by operator==().

◆ naifPlanetSystemCode()

SpiceInt Isis::TargetBody::naifPlanetSystemCode ( ) const

This returns the NAIF body code of the target's planet system.

Returns
SpiceInt NAIF body code of target's planet system.

◆ naifPlanetSystemName()

QString Isis::TargetBody::naifPlanetSystemName ( ) const

This returns the body name of the target's planet system.

Returns
QString The body name of target's planet system.

Referenced by Isis::TargetInfoWidget::TargetInfoWidget().

◆ operator==()

bool Isis::TargetBody::operator== ( const TargetBody src) const

Compares two Target Body objects to see if they are equal.

Parameters
srcTargetBody object to compare against
Returns
bool Returns true if the objects are equal, false if not.

References naifBodyCode(), radiusA(), radiusB(), and radiusC().

◆ pmCoefs()

std::vector< Angle > Isis::TargetBody::pmCoefs ( )

Returns coefficients of a quadratic polynomial fitting pole pm.

Returns
std::vector<Angle>

◆ pmNutPrecCoefs()

std::vector< double > Isis::TargetBody::pmNutPrecCoefs ( )

Returns coefficients of the prime meridian nut/prec terms.

Returns
std::vector<double>

◆ poleDecCoefs()

std::vector< Angle > Isis::TargetBody::poleDecCoefs ( )

Returns coefficients of a quadratic polynomial fitting pole dec.

Returns
std::vector<Angle>

◆ poleDecNutPrecCoefs()

std::vector< double > Isis::TargetBody::poleDecNutPrecCoefs ( )

TargetBody::poleDecNutPrecCoefs.

Returns
std::vector<double>

◆ poleRaCoefs()

std::vector< Angle > Isis::TargetBody::poleRaCoefs ( )

TargetBody::poleRaCoefs.

Returns
std::vector<Angle>

◆ poleRaNutPrecCoefs()

std::vector< double > Isis::TargetBody::poleRaNutPrecCoefs ( )

Returns coefficients of pole right ascension nut/prec terms.

Returns
std::vector<double>

◆ radiusA()

Distance Isis::TargetBody::radiusA ( ) const

Returns "a" radius.

Returns
Distance The value of body radius "a"

Referenced by operator==(), and Isis::TargetInfoWidget::TargetInfoWidget().

◆ radiusB()

Distance Isis::TargetBody::radiusB ( ) const

Returns "b" radius.

Returns
Distance value of body radius "b".

Referenced by operator==(), and Isis::TargetInfoWidget::TargetInfoWidget().

◆ radiusC()

Distance Isis::TargetBody::radiusC ( ) const

Returns the "c" radius.

Returns
Distance value of body radius "c".

Referenced by operator==(), and Isis::TargetInfoWidget::TargetInfoWidget().

◆ sigmaMeanRadius()

Distance Isis::TargetBody::sigmaMeanRadius ( ) const

Returns the mean radius sigma.

Returns
Distance value of body mean radius

◆ sigmaRadiusA()

Distance Isis::TargetBody::sigmaRadiusA ( ) const

Returns "a" radius sigma.

Returns
Distance value of body radius "a" sigma

◆ sigmaRadiusB()

Distance Isis::TargetBody::sigmaRadiusB ( ) const

Returns "b" radius sigma.

Returns
Distance The value of body radius "b" sigma.

◆ sigmaRadiusC()

Distance Isis::TargetBody::sigmaRadiusC ( ) const

Returns the "c" radius sigma.

Returns
Distance value of body radius "c" sigma

◆ sysNutPrecCoefs()

std::vector< Angle > Isis::TargetBody::sysNutPrecCoefs ( )

Returns Linear terms of planetary system nut/prec periods.

Returns
std::vector<Angle>

◆ sysNutPrecConstants()

std::vector< Angle > Isis::TargetBody::sysNutPrecConstants ( )

Returns constants of planetary system nut/prec periods.

Returns
std::vector<Angle>

◆ targetName()

QString Isis::TargetBody::targetName ( )

Returns the value stored at TargetName in the original pvl label.

Returns
QString Returns m_targetName

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