Isis 3 Developer Reference
|
Container class for TargetBody. More...
#include <TargetBody.h>
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... | |
TargetBodyDisplayProperties * | displayProperties () |
Gets TargetBodyDisplayProperties. More... | |
const TargetBodyDisplayProperties * | displayProperties () 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< Angle > | poleRaCoefs () |
TargetBody::poleRaCoefs. More... | |
std::vector< Angle > | poleDecCoefs () |
Returns coefficients of a quadratic polynomial fitting pole dec. More... | |
std::vector< Angle > | pmCoefs () |
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< Angle > | sysNutPrecConstants () |
Returns constants of planetary system nut/prec periods. More... | |
std::vector< Angle > | sysNutPrecCoefs () |
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... | |
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.
The first constructor for this class.
target | A traditional: Isis::Target object. |
parent | A pointer to the object instantiating this object. |
References Isis::Target::frameType(), Isis::Distance::Kilometers, Isis::Target::naifBodyCode(), Isis::Target::naifPlanetSystemCode(), Isis::Target::name(), Isis::Target::pmCoefs(), Isis::Target::pmNutPrecCoefs(), Isis::Target::poleDecCoefs(), Isis::Target::poleDecNutPrecCoefs(), Isis::Target::poleRaCoefs(), Isis::Target::poleRaNutPrecCoefs(), Isis::Target::radii(), Isis::Target::sysNutPrecCoefs(), Isis::Target::sysNutPrecConstants(), and Isis::Target::systemName().
Isis::TargetBody::~TargetBody | ( | ) |
The second constructor for this class.
bundleTargetBody | A QSharedPointer to a BundleTarget object. |
parent | A pointer to the object instantiating this object. The destructor |
TargetBodyDisplayProperties * Isis::TargetBody::displayProperties | ( | ) |
Gets TargetBodyDisplayProperties.
Referenced by Isis::TargetInfoWidget::TargetInfoWidget().
const TargetBodyDisplayProperties * Isis::TargetBody::displayProperties | ( | ) | const |
TargetBody::displayProperties.
int Isis::TargetBody::frameType | ( | ) |
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.
bundleSettings | The image we're going to be initializing |
imageFolder | The folder that contains the Cube Handle an XML start element. This expects <image> and <displayProperties> elements. |
Distance Isis::TargetBody::meanRadius | ( | ) | const |
Returns the mean radius.
Referenced by Isis::TargetInfoWidget::TargetInfoWidget().
SpiceInt Isis::TargetBody::naifBodyCode | ( | ) | const |
This returns the NAIF body code of the target.
Referenced by operator==().
SpiceInt Isis::TargetBody::naifPlanetSystemCode | ( | ) | const |
This returns the NAIF body code of the target's planet system.
QString Isis::TargetBody::naifPlanetSystemName | ( | ) | const |
This returns the body name of the target's planet system.
Referenced by Isis::TargetInfoWidget::TargetInfoWidget().
bool Isis::TargetBody::operator== | ( | const TargetBody & | src | ) | const |
Compares two Target Body objects to see if they are equal.
src | TargetBody object to compare against |
References naifBodyCode(), radiusA(), radiusB(), and radiusC().
std::vector< Angle > Isis::TargetBody::pmCoefs | ( | ) |
Returns coefficients of a quadratic polynomial fitting pole pm.
std::vector< double > Isis::TargetBody::pmNutPrecCoefs | ( | ) |
Returns coefficients of the prime meridian nut/prec terms.
std::vector< Angle > Isis::TargetBody::poleDecCoefs | ( | ) |
Returns coefficients of a quadratic polynomial fitting pole dec.
std::vector< double > Isis::TargetBody::poleDecNutPrecCoefs | ( | ) |
TargetBody::poleDecNutPrecCoefs.
std::vector< Angle > Isis::TargetBody::poleRaCoefs | ( | ) |
std::vector< double > Isis::TargetBody::poleRaNutPrecCoefs | ( | ) |
Returns coefficients of pole right ascension nut/prec terms.
Distance Isis::TargetBody::radiusA | ( | ) | const |
Returns "a" radius.
Referenced by operator==(), and Isis::TargetInfoWidget::TargetInfoWidget().
Distance Isis::TargetBody::radiusB | ( | ) | const |
Returns "b" radius.
Referenced by operator==(), and Isis::TargetInfoWidget::TargetInfoWidget().
Distance Isis::TargetBody::radiusC | ( | ) | const |
Returns the "c" radius.
Referenced by operator==(), and Isis::TargetInfoWidget::TargetInfoWidget().
Distance Isis::TargetBody::sigmaMeanRadius | ( | ) | const |
Returns the mean radius sigma.
Distance Isis::TargetBody::sigmaRadiusA | ( | ) | const |
Returns "a" radius sigma.
Distance Isis::TargetBody::sigmaRadiusB | ( | ) | const |
Returns "b" radius sigma.
Distance Isis::TargetBody::sigmaRadiusC | ( | ) | const |
Returns the "c" radius sigma.
std::vector< Angle > Isis::TargetBody::sysNutPrecCoefs | ( | ) |
Returns Linear terms of planetary system nut/prec periods.
std::vector< Angle > Isis::TargetBody::sysNutPrecConstants | ( | ) |
Returns constants of planetary system nut/prec periods.
QString Isis::TargetBody::targetName | ( | ) |
Returns the value stored at TargetName in the original pvl label.