|
Isis Developer Reference
|
Go to the documentation of this file.
307 const int size,
double tol);
319 bool clockTicks=
false);
320 SpiceDouble
getDouble(
const QString &key,
int index = 0);
321 SpiceInt
getInteger(
const QString &key,
int index = 0);
322 QString
getString(
const QString &key,
int index = 0);
391 void csmInit(
Cube &cube,
Pvl label);
401 SpiceDouble *m_cacheSize;
403 SpiceDouble *m_startTimePadding;
404 SpiceDouble *m_endTimePadding;
411 bool m_allowDownsizing;
421 SpiceInt *m_sclkCode;
422 SpiceInt *m_spkBodyCode;
423 SpiceInt *m_bodyFrameCode;
@ SpiceIntType
SpiceInt type.
Definition: Spice.h:351
void radii(Distance r[3]) const
Returns the radii of the body in km.
Definition: Spice.cpp:930
virtual void setTime(const iTime &time)
Sets the ephemeris time and reads the spacecraft and sun position from the kernels at that instant in...
Definition: Spice.cpp:780
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
Definition: Spice.cpp:884
iTime * m_et
Ephemeris time (read NAIF documentation for a detailed description)
Definition: Spice.h:382
Obtain SPICE position information for a body.
Definition: SpicePosition.h:173
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
virtual void subSolarPoint(double &lat, double &lon)
Returns the sub-solar latitude/longitude in universal coordinates (0-360 positive east,...
Definition: Spice.cpp:1329
virtual void subSpacecraftPoint(double &lat, double &lon)
Returns the sub-spacecraft latitude/longitude in universal coordinates (0-360 positive east,...
Definition: Spice.cpp:1278
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
virtual SpicePosition * instrumentPosition() const
Accessor method for the instrument position.
Definition: Spice.cpp:1600
const double PI
The mathematical constant PI.
Definition: Constants.h:40
SpiceInt naifBodyCode() const
This returns the NAIF body code of the target indicated in the labels.
Definition: Spice.cpp:941
A single keyword-value pair.
Definition: PvlKeyword.h:82
virtual iTime cacheEndTime() const
Accessor method for the cache end time.
Definition: Spice.cpp:758
nlohmann::json json
This is free and unencumbered software released into the public domain.
Definition: Spice.cpp:20
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Definition: Spice.cpp:968
QString getString(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1261
Parse and return pieces of a time string.
Definition: iTime.h:65
File name manipulation and expansion.
Definition: FileName.h:100
void addValue(QString value, QString unit="")
Adds a value with units.
Definition: PvlKeyword.cpp:252
virtual iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
Definition: Spice.cpp:1053
void storeValue(QString key, int index, SpiceValueType type, QVariant value)
Definition: Spice.cpp:1190
QVariant readStoredValue(QString key, SpiceValueType type, int index)
Definition: Spice.cpp:1221
SpiceInt getInteger(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1025
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
virtual double sunToBodyDist() const
Definition: Spice.cpp:1383
virtual void createCache(iTime startTime, iTime endTime, const int size, double tol)
This method creates an internal cache of spacecraft and sun positions over a specified time range.
Definition: Spice.cpp:649
virtual SpicePosition * sunPosition() const
Accessor method for the sun position.
Definition: Spice.cpp:1589
@ SpiceDoubleType
SpiceDouble type.
Definition: Spice.h:349
bool isUsingAle()
Definition: Spice.cpp:1626
virtual void instrumentBodyFixedVelocity(double v[3]) const
Returns the spacecraft velocity in body-fixed frame km/sec units.
Definition: Spice.cpp:853
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
virtual double targetCenterDistance() const
Calculates and returns the distance from the spacecraft to the target center.
Definition: Spice.cpp:918
virtual Longitude solarLongitude()
Returns the solar longitude.
Definition: Spice.cpp:1509
Distance measurement, usually in meters.
Definition: Distance.h:34
bool hasBlob(const QString &name, const QString &type)
Check to see if the cube contains a BLOB.
Definition: Cube.cpp:2019
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
virtual Target * target() const
Returns a pointer to the target object.
Definition: Spice.cpp:1368
virtual SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
Definition: Spice.cpp:1622
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
virtual void computeSolarLongitude(iTime et)
Computes the solar longitude for the given ephemeris time.
Definition: Spice.cpp:1400
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
Definition: iTime.h:126
bool hasKernels(Pvl &lab)
Returns true if the kernel group has kernel files.
Definition: Spice.cpp:1526
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
int toInt(const QString &string)
Global function to convert from a string to an integer.
Definition: IString.cpp:93
@ SpiceByteCodeType
SpiceByteCode type.
Definition: Spice.h:352
SpiceDouble m_uB[3]
This contains the sun position (u) in the bodyfixed reference frame (B).
Definition: Spice.h:369
SpiceInt naifBodyFrameCode() const
This returns the NAIF body frame code.
Definition: Spice.cpp:989
@ SpiceStringType
SpiceString type.
Definition: Spice.h:350
virtual iTime cacheStartTime() const
Accessor method for the cache start time.
Definition: Spice.cpp:743
nlohmann::json json
Definition: PvlObject.cpp:22
SpiceDouble m_BJ[3][3]
This contains the transformation matrix from J2000 (J) to Body fixed (B).
Definition: Spice.h:374
virtual SpiceRotation * bodyRotation() const
Accessor method for the body rotation.
Definition: Spice.cpp:1611
IO Handler for Isis Cubes.
Definition: Cube.h:167
virtual ~Spice()
Destroys the Spice object.
Definition: Spice.cpp:511
Isis exception class.
Definition: IException.h:91
Target * m_target
Target of the observation.
Definition: Spice.h:381
QVariant getStoredResult(QString name, SpiceValueType type)
Definition: Spice.cpp:1169
Obtain SPICE information for a spacecraft.
Definition: Spice.h:283
virtual double resolution()
Virtual method that returns the pixel resolution of the sensor in meters/pix.
Definition: Spice.cpp:1009
SpiceInt naifSclkCode() const
This returns the NAIF SCLK code to use when reading from instrument kernels.
Definition: Spice.cpp:978
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Namespace for the standard library.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
SpiceInt naifCkCode() const
This returns the NAIF CK code to use when reading from CK kernels.
Definition: Spice.cpp:959
void storeResult(QString name, SpiceValueType type, QVariant value)
Definition: Spice.cpp:1154
Byte swapper.
Definition: EndianSwapper.h:38
int size() const
Returns the number of values stored in this keyword.
Definition: PvlKeyword.h:125
virtual void instrumentBodyFixedPosition(double p[3]) const
Returns the spacecraft position in body-fixed frame km units.
Definition: Spice.cpp:835
bool isTimeSet()
Returns true if time has been initialized.
Definition: Spice.cpp:1577
Spice(Cube &cube)
Constructs a Spice object and loads SPICE kernels using information from the label object.
Definition: Spice.cpp:64
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1039
QString targetName() const
Returns the QString name of the target.
Definition: Spice.cpp:1378
SpiceInt naifSpkCode() const
This returns the NAIF SPK code to use when reading from SPK kernels.
Definition: Spice.cpp:950
QVariant readValue(QString key, SpiceValueType type, int index=0)
This should be used for reading ALL text naif kernel values.
Definition: Spice.cpp:1093
Longitude * m_solarLongitude
Body rotation solar longitude value.
Definition: Spice.h:383
Longitude force360Domain() const
This returns a longitude that is constricted to 0-360 degrees.
Definition: Longitude.cpp:267
double Double(void *buf)
Swaps a double precision value.
Definition: EndianSwapper.cpp:55
This class is used to create and store valid Isis targets.
Definition: Target.h:63
SpiceValueType
NAIF value primitive type.
Definition: Spice.h:348
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
PvlObject getStoredNaifKeywords() const
This returns the PvlObject that stores all of the requested Naif data and can be a replacement for fu...
Definition: Spice.cpp:998
QString name() const
Return target name.
Definition: Target.cpp:516
Obtain SPICE rotation information for a body.
Definition: SpiceRotation.h:209