Isis 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. | |
~TargetBody () | |
The second constructor for this class. | |
bool | operator== (const TargetBody &src) const |
Compares two Target Body objects to see if they are equal. | |
TargetBodyDisplayProperties * | displayProperties () |
Gets TargetBodyDisplayProperties. | |
const TargetBodyDisplayProperties * | displayProperties () const |
TargetBody::displayProperties. | |
QString | id () const |
Output format: | |
QString | targetName () |
Returns the value stored at TargetName in the original pvl label. | |
int | frameType () |
Returns the frame type. | |
std::vector< Angle > | poleRaCoefs () |
TargetBody::poleRaCoefs. | |
std::vector< Angle > | poleDecCoefs () |
Returns coefficients of a quadratic polynomial fitting pole dec. | |
std::vector< Angle > | pmCoefs () |
Returns coefficients of a quadratic polynomial fitting pole pm. | |
std::vector< double > | poleRaNutPrecCoefs () |
Returns coefficients of pole right ascension nut/prec terms. | |
std::vector< double > | poleDecNutPrecCoefs () |
TargetBody::poleDecNutPrecCoefs. | |
std::vector< double > | pmNutPrecCoefs () |
Returns coefficients of the prime meridian nut/prec terms. | |
std::vector< Angle > | sysNutPrecConstants () |
Returns constants of planetary system nut/prec periods. | |
std::vector< Angle > | sysNutPrecCoefs () |
Returns Linear terms of planetary system nut/prec periods. | |
SpiceInt | naifBodyCode () const |
This returns the NAIF body code of the target. | |
SpiceInt | naifPlanetSystemCode () const |
This returns the NAIF body code of the target's planet system. | |
QString | naifPlanetSystemName () const |
This returns the body name of the target's planet system. | |
Distance | radiusA () const |
Returns "a" radius. | |
Distance | radiusB () const |
Returns "b" radius. | |
Distance | radiusC () const |
Returns the "c" radius. | |
Distance | meanRadius () const |
Returns the mean radius. | |
Distance | sigmaRadiusA () const |
Returns "a" radius sigma. | |
Distance | sigmaRadiusB () const |
Returns "b" radius sigma. | |
Distance | sigmaRadiusC () const |
Returns the "c" radius sigma. | |
Distance | sigmaMeanRadius () const |
Returns the mean radius sigma. | |
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. |
Get a unique, identifying string associated with this TargetBody object.
Distance Isis::TargetBody::meanRadius | ( | ) | const |
Returns the mean radius.
References meanRadius().
Referenced by meanRadius(), and Isis::TargetInfoWidget::TargetInfoWidget().
SpiceInt Isis::TargetBody::naifBodyCode | ( | ) | const |
This returns the NAIF body code of the target.
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 |
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 Isis::TargetInfoWidget::TargetInfoWidget().
Distance Isis::TargetBody::radiusB | ( | ) | const |
Returns "b" radius.
Referenced by Isis::TargetInfoWidget::TargetInfoWidget().
Distance Isis::TargetBody::radiusC | ( | ) | const |
Returns the "c" radius.
Referenced by Isis::TargetInfoWidget::TargetInfoWidget().
Distance Isis::TargetBody::sigmaMeanRadius | ( | ) | const |
Returns the mean radius sigma.
References sigmaMeanRadius().
Referenced by sigmaMeanRadius().
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.