|
Isis 3 Programmer Reference
|
1 #include "TargetBody.h"
7 #include <QXmlStreamWriter>
12 #include "PvlKeyword.h"
13 #include "PvlObject.h"
14 #include "TargetBodyDisplayProperties.h"
15 #include "XmlStackedHandlerReader.h"
47 m_pm = target->pmCoefs();
59 m_id =
new QUuid(QUuid::createUuid());
581 return m_id->toString().remove(QRegExp(
"[{}]"));
Container class for TargetBody.
QString m_systemName
The NaifBodyCode system name.
std::vector< double > poleDecNutPrecCoefs()
TargetBody::poleDecNutPrecCoefs.
This is the GUI communication mechanism for target body objects.
std::vector< Angle > m_sysNutPrec1
Linear terms of planetary system nut/prec periods.
std::vector< Angle > m_pm
Coefficients of a quadratic polynomial fitting pole pm.
int frameType()
Returns the frame type.
SpiceInt naifBodyCode() const
This returns the NAIF body code of the target.
~TargetBody()
The second constructor for this class.
QUuid * m_id
A unique ID for this TargetBody object (useful for others to reference this object when saving to dis...
std::vector< double > m_pmNutPrec
Coefficients of prime meridian nut/prec terms.
TargetBodyDisplayProperties * m_displayProperties
The GUI information for how this Target will be displayed.
SpiceInt naifBodyCode() const
This returns the NAIF body code of the target.
int m_frametype
Fill this in when Debbie or Ken tell me what it is returning.
std::vector< double > poleRaNutPrecCoefs()
Returns coefficients of pole right ascension nut/prec terms.
QString naifPlanetSystemName() const
This returns the body name of the target's planet system.
std::vector< Angle > sysNutPrecConstants()
Returns constants of planetary system nut/prec periods.
Distance measurement, usually in meters.
std::vector< double > pmNutPrecCoefs()
Returns coefficients of the prime meridian nut/prec terms.
std::vector< Angle > poleDecCoefs()
Returns coefficients of a quadratic polynomial fitting pole dec.
std::vector< double > m_raNutPrec
Coefficients of pole right ascension nut/prec terms.
std::vector< Distance > radii() const
Returns the radii of the body in km.
Distance sigmaRadiusC() const
Returns the "c" radius sigma.
SpiceInt naifPlanetSystemCode() const
This returns the NAIF body code of the target's planet system.
@ Kilometers
The distance is being specified in kilometers.
Distance meanRadius() const
Returns the mean radius.
std::vector< Angle > m_raPole
Coefficients of a quadratic polynomial fitting pole ra.
std::vector< Distance > m_radii
target radii
Distance sigmaRadiusB() const
Returns "b" radius sigma.
std::vector< Distance > m_sigmaRadii
target radii sigmas
QString targetName()
Returns the value stored at TargetName in the original pvl label.
bool operator==(const TargetBody &src) const
Compares two Target Body objects to see if they are equal.
std::vector< Angle > pmCoefs()
Returns coefficients of a quadratic polynomial fitting pole pm.
std::vector< Angle > sysNutPrecCoefs()
Returns Linear terms of planetary system nut/prec periods.
QString m_targetName
The TargetName as it appears in the original cube.
std::vector< double > m_decNutPrec
Coefficients of pole decliniation nut/prec terms.
TargetBody(Target *target, QObject *parent=0)
The first constructor for this class.
QString id() const
Output format:
std::vector< Angle > poleRaCoefs()
TargetBody::poleRaCoefs.
Distance radiusA() const
Returns "a" radius.
SpiceInt naifPlanetSystemCode() const
This returns the NAIF planet system body code of the target.
TargetBodyDisplayProperties * displayProperties()
Gets TargetBodyDisplayProperties.
std::vector< Angle > m_decPole
Coefficients of a quadratic polynomial fitting pole dec.
Distance radiusB() const
Returns "b" radius.
std::vector< Angle > m_sysNutPrec0
Constants of planetary system nut/prec periods.
QString systemName() const
Return planet system name.
SpiceInt * m_bodyCode
TODO - RETHINK MEMBER VARIABLES AND METHODS The NaifBodyCode value, if it exists in the cube labels.
This class is used to create and store valid Isis targets.
Distance sigmaRadiusA() const
Returns "a" radius sigma.
Distance radiusC() const
Returns the "c" radius.
SpiceInt * m_systemCode
The NaifBodyCode system code.
Distance sigmaMeanRadius() const
Returns the mean radius sigma.
This is free and unencumbered software released into the public domain.
QString name() const
Return target name.