|
Isis Developer Reference
|
Go to the documentation of this file.
10 #include <QSharedPointer>
80 std::vector<Distance>
radii()
const;
112 SpiceInt *m_bodyCode;
116 SpiceInt *m_systemCode;
119 QString *m_systemName;
120 std::vector<Distance> m_radii;
static PvlGroup radiiGroup(QString target)
Creates a Pvl Group with keywords TargetName, EquitorialRadius, and PolarRadius.
Definition: Target.cpp:403
void setShapeEllipsoid()
Set the shape to the ellipsoid and save the original shape.
Definition: Target.cpp:603
ShapeModel * shape() const
Return the shape.
Definition: Target.cpp:655
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
std::vector< Angle > poleDecCoefs()
Definition: Target.cpp:547
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
QSharedPointer< Target > TargetQsp
Definition: Target.h:133
A single keyword-value pair.
Definition: PvlKeyword.h:82
bool isSky() const
Return if our target is the sky.
Definition: Target.cpp:190
std::vector< Angle > sysNutPrecConstants()
Definition: Target.cpp:572
void setRadii(std::vector< Distance > radii)
Sets the radii of the body.
Definition: Target.cpp:615
void addKeyword(const PvlKeyword &keyword, const InsertMode mode=Append)
Add a keyword to the container.
Definition: PvlContainer.cpp:202
File name manipulation and expansion.
Definition: FileName.h:100
void setSpice(Spice *spice)
Set the Spice pointer for the Target.
Definition: Target.cpp:647
void setName(QString name)
Set the name for the Target.
Definition: Target.cpp:632
int frameType()
Definition: Target.cpp:537
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Container for cube-like labels.
Definition: Pvl.h:119
SpiceInt naifBodyCode() const
This returns the NAIF body code of the target.
Definition: Target.cpp:497
std::vector< Angle > pmCoefs()
Definition: Target.cpp:552
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
std::vector< Angle > sysNutPrecCoefs()
Definition: Target.cpp:577
const char * what() const
Returns a string representation of this exception in its current state.
Definition: IException.cpp:375
Define shapes and provide utilities for ISIS targets.
Definition: EllipsoidShape.h:46
Distance measurement, usually in meters.
Definition: Distance.h:34
std::vector< Distance > radii() const
Returns the radii of the body in km.
Definition: Target.cpp:532
~Target()
Destroys the Target.
Definition: Target.cpp:162
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
std::vector< Angle > poleRaCoefs()
Definition: Target.cpp:542
int toInt(const QString &string)
Global function to convert from a string to an integer.
Definition: IString.cpp:93
bool hasKeyword(const QString &kname, FindOptions opts) const
See if a keyword is in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within ...
Definition: PvlObject.cpp:236
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
Definition: PvlObject.h:274
Target()
Constructs an empty Target object.
Definition: Target.cpp:134
void restoreShape()
Restores the shape to the original after setShapeEllipsoid has overridden it.
Definition: Target.cpp:585
Isis exception class.
Definition: IException.h:91
std::vector< double > poleRaNutPrecCoefs()
Definition: Target.cpp:557
static SpiceInt lookupNaifBodyCode(QString name)
This returns the NAIF body code of the target indicated in the labels.
Definition: Target.cpp:244
Obtain SPICE information for a spacecraft.
Definition: Spice.h:283
bool hasObject(const QString &name) const
Returns a boolean value based on whether the object exists in the current PvlObject or not.
Definition: PvlObject.h:323
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Namespace for the standard library.
SpiceInt naifPlanetSystemCode() const
This returns the NAIF planet system body code of the target.
Definition: Target.cpp:510
Define shapes and provide utilities for Isis targets.
Definition: ShapeModel.h:62
Spice * spice() const
Return the spice object.
Definition: Target.cpp:663
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
std::vector< double > poleDecNutPrecCoefs()
Definition: Target.cpp:562
std::vector< double > pmNutPrecCoefs()
Definition: Target.cpp:567
PvlKeyword & findKeyword(const QString &kname, FindOptions opts)
Finds a keyword in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within this...
Definition: PvlObject.cpp:177
QString systemName() const
Return planet system name.
Definition: Target.cpp:522
PvlKeyword & findKeyword(const QString &name)
Find a keyword with a specified name.
Definition: PvlContainer.cpp:62
void init()
Initialize member variables.
Definition: Target.cpp:152
This class is used to create and store valid Isis targets.
Definition: Target.h:63
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
QString name() const
Return target name.
Definition: Target.cpp:516