Isis Developer Reference
|
Class for computing sensor ground coordinates. More...
#include <Sensor.h>
Public Member Functions | |
Sensor (Cube &cube) | |
Constructs a Sensor object and loads SPICE kernels using information from the label object. | |
virtual | ~Sensor () |
Destroys the Sensor. | |
void | setTime (const iTime &time) |
By setting the time you essential set the position of the spacecraft and body as indicated in the class Spice. | |
bool | SetLookDirection (const double v[3]) |
Sets the look direction of the spacecraft. | |
bool | SetRightAscensionDeclination (const double ra, const double dec) |
Given the ra/dec compute the look direction. | |
bool | SetUniversalGround (const double latitude, const double longitude, bool backCheck=true) |
This is the opposite routine for SetLookDirection. | |
bool | SetUniversalGround (const double latitude, const double longitude, const double radius, bool backCheck=true) |
This overloaded method has the opposite function as SetLookDirection. | |
bool | SetGround (const SurfacePoint &surfacePt, bool backCheck=true) |
This overloaded method has the opposite function as SetLookDirection. | |
bool | HasSurfaceIntersection () const |
Returns if the last call to either SetLookDirection or SetUniversalGround had a valid intersection with the target. | |
void | Coordinate (double p[3]) const |
Returns the x,y,z of the surface intersection in BodyFixed km. | |
virtual double | UniversalLatitude () const |
Returns the planetocentric latitude, in degrees, at the surface intersection point in the body fixed coordinate system. | |
Latitude | GetLatitude () const |
Returns a planetocentric latitude object at the surface intersection point in body fixed. | |
virtual double | UniversalLongitude () const |
Returns the positive east, 0-360 domain longitude, in degrees, at the surface intersection point in the body fixed coordinate system. | |
Longitude | GetLongitude () const |
Returns a positive east, 0-360 domain longitude object at the surface intersection point in the body fixed coordinate system. | |
virtual SurfacePoint | GetSurfacePoint () const |
Returns the surface point (most efficient accessor). | |
Distance | LocalRadius () const |
Returns the local radius at the intersection point. | |
Distance | LocalRadius (Latitude lat, Longitude lon) |
Returns the local radius at the intersection point. | |
Distance | LocalRadius (double lat, double lon) |
Returns the local radius at the intersection point. | |
virtual double | PhaseAngle () const |
Returns the phase angle in degrees. | |
virtual double | EmissionAngle () const |
Returns the emission angle in degrees. | |
virtual double | IncidenceAngle () const |
Returns the incidence angle in degrees. | |
void | LookDirection (double v[3]) const |
Returns the look direction in the camera coordinate system. | |
virtual std::vector< double > | lookDirectionJ2000 () const |
Returns the look direction in the camera coordinate system. | |
virtual std::vector< double > | lookDirectionBodyFixed () const |
Returns the look direction in the body fixed coordinate system. | |
virtual double | RightAscension () |
Returns the right ascension angle (sky longitude). | |
virtual double | Declination () |
Returns the declination angle (sky latitude). | |
void | SpacecraftSurfaceVector (double scSurfaceVector[3]) const |
Sets the vector between the spacecraft and surface point in body-fixed. | |
virtual double | SlantDistance () const |
Return the distance between the spacecraft and surface point in kmv. | |
double | LocalSolarTime () |
Return the local solar time in hours. | |
virtual double | SolarDistance () const |
Returns the distance between the sun and surface point in AU. | |
double | SpacecraftAltitude () |
Returns the distance from the spacecraft to the subspacecraft point in km. | |
virtual double | resolution () |
Virtual method that returns the pixel resolution of the sensor in meters/pix. | |
void | IgnoreElevationModel (bool ignore) |
This allows you to ignore the cube elevation model and use the ellipse. | |
virtual QList< QPointF > | PixelIfovOffsets () |
This method is implemented in Camera which defaults to the (pixel pitch * summing mode ) / 2. | |
virtual QString | instrumentNameLong () const =0 |
virtual QString | instrumentNameShort () const =0 |
virtual QString | spacecraftNameLong () const =0 |
virtual QString | spacecraftNameShort () const =0 |
void | instrumentPosition (double p[3]) const |
Returns the spacecraft position in body-fixed frame km units. | |
virtual SpicePosition * | instrumentPosition () const |
Accessor method for the instrument position. | |
virtual void | instrumentBodyFixedPosition (double p[3]) const |
Returns the spacecraft position in body-fixed frame km units. | |
virtual void | sunPosition (double p[3]) const |
Fills the input vector with sun position information, in either body-fixed or J2000 reference frame and km units. | |
virtual SpicePosition * | sunPosition () const |
Accessor method for the sun position. | |
virtual double | targetCenterDistance () const |
Calculates and returns the distance from the spacecraft to the target center. | |
virtual double | sunToBodyDist () const |
virtual Longitude | solarLongitude () |
Returns the solar longitude. | |
virtual void | instrumentBodyFixedVelocity (double v[3]) const |
Returns the spacecraft velocity in body-fixed frame km/sec units. | |
virtual iTime | time () const |
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions. | |
void | radii (Distance r[3]) const |
Returns the radii of the body in km. | |
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. | |
virtual iTime | cacheStartTime () const |
Accessor method for the cache start time. | |
virtual iTime | cacheEndTime () const |
Accessor method for the cache end time. | |
virtual void | subSpacecraftPoint (double &lat, double &lon) |
Returns the sub-spacecraft latitude/longitude in universal coordinates (0-360 positive east, ocentric) | |
virtual void | subSolarPoint (double &lat, double &lon) |
Returns the sub-solar latitude/longitude in universal coordinates (0-360 positive east, ocentric) | |
virtual Target * | target () const |
Returns a pointer to the target object. | |
QString | targetName () const |
Returns the QString name of the target. | |
virtual iTime | getClockTime (QString clockValue, int sclkCode=-1, bool clockTicks=false) |
This converts the spacecraft clock ticks value (clockValue) to an iTime. | |
SpiceDouble | getDouble (const QString &key, int index=0) |
This returns a value from the NAIF text pool. | |
SpiceInt | getInteger (const QString &key, int index=0) |
This returns a value from the NAIF text pool. | |
QString | getString (const QString &key, int index=0) |
This returns a value from the NAIF text pool. | |
virtual SpiceRotation * | bodyRotation () const |
Accessor method for the body rotation. | |
virtual SpiceRotation * | instrumentRotation () const |
Accessor method for the instrument rotation. | |
bool | isUsingAle () |
bool | hasKernels (Pvl &lab) |
Returns true if the kernel group has kernel files. | |
bool | isTimeSet () |
Returns true if time has been initialized. | |
SpiceInt | naifBodyCode () const |
This returns the NAIF body code of the target indicated in the labels. | |
SpiceInt | naifSpkCode () const |
This returns the NAIF SPK code to use when reading from SPK kernels. | |
SpiceInt | naifCkCode () const |
This returns the NAIF CK code to use when reading from CK kernels. | |
SpiceInt | naifIkCode () const |
This returns the NAIF IK code to use when reading from instrument kernels. | |
SpiceInt | naifSclkCode () const |
This returns the NAIF SCLK code to use when reading from instrument kernels. | |
SpiceInt | naifBodyFrameCode () const |
This returns the NAIF body frame code. | |
PvlObject | getStoredNaifKeywords () const |
This returns the PvlObject that stores all of the requested Naif data and can be a replacement for furnishing text kernels. | |
Protected Types | |
enum | SpiceValueType { SpiceDoubleType , SpiceStringType , SpiceIntType , SpiceByteCodeType } |
NAIF value primitive type. More... | |
Protected Member Functions | |
QVariant | readValue (QString key, SpiceValueType type, int index=0) |
This should be used for reading ALL text naif kernel values. | |
void | storeResult (QString name, SpiceValueType type, QVariant value) |
QVariant | getStoredResult (QString name, SpiceValueType type) |
void | storeValue (QString key, int index, SpiceValueType type, QVariant value) |
QVariant | readStoredValue (QString key, SpiceValueType type, int index) |
virtual void | computeSolarLongitude (iTime et) |
Computes the solar longitude for the given ephemeris time. | |
Protected Attributes | |
SpiceDouble | m_lookB [3] |
Look direction in body fixed. | |
bool | m_newLookB |
flag to indicate we need to recompute ra/dec | |
SpiceDouble | m_uB [3] |
This contains the sun position (u) in the bodyfixed reference frame (B). | |
SpiceDouble | m_BJ [3][3] |
This contains the transformation matrix from J2000 (J) to Body fixed (B). | |
Target * | m_target |
Target of the observation. | |
iTime * | m_et |
Ephemeris time (read NAIF documentation for a detailed description) | |
Longitude * | m_solarLongitude |
Body rotation solar longitude value. | |
Class for computing sensor ground coordinates.
The sensor class allows for the computation of parameters related to orbiting instruments. In particular, a time and look direction can be set and from those the ground coordinate (latitude/longitude) along with phase, incidence, and emission angles can be computed. Likewise, a ground point can be set and look direction can be computed. This class is derived from the Spice class.
An important capability of this class is the ability to use a surface model other than an ellipsoid when intersecting the look direction of the sensor with the planetary body. This allows for the generation of othrorectified products. The file containing the surface model is a cube and is obtained from the labels in the follow form:
|
protectedinherited |
Isis::Sensor::Sensor | ( | Cube & | cube | ) |
|
virtual |
Destroys the Sensor.
|
virtualinherited |
Accessor method for the body rotation.
Reimplemented in Isis::CSMCamera.
Referenced by Isis::Cube::attachSpiceFromIsd(), EmissionAngle(), Isis::Target::frameType(), Isis::CameraGroundMap::GetdXYdPoint(), Isis::RadarGroundMap::GetdXYdPosition(), Isis::CameraGroundMap::GetdXYdTOrientation(), Isis::RadarGroundMap::GetXY(), Isis::CameraGroundMap::GetXY(), lookDirectionJ2000(), Isis::MiniRF::MiniRF(), Isis::Target::pmCoefs(), Isis::Target::pmNutPrecCoefs(), Isis::Target::poleDecCoefs(), Isis::Target::poleDecNutPrecCoefs(), Isis::Target::poleRaCoefs(), Isis::Target::poleRaNutPrecCoefs(), Isis::RadarGroundMap::SetFocalPlane(), Isis::RadarGroundMap::SetGround(), SetGround(), SetLookDirection(), SetUniversalGround(), SetUniversalGround(), Isis::Spice::sunToBodyDist(), Isis::Target::sysNutPrecCoefs(), and Isis::Target::sysNutPrecConstants().
|
virtualinherited |
Accessor method for the cache end time.
|
virtualinherited |
Accessor method for the cache start time.
|
protectedvirtualinherited |
Computes the solar longitude for the given ephemeris time.
If the target is sky, the longitude is set to -999.0.
et | Ephemeris time |
Reimplemented in Isis::CSMCamera.
References Isis::NaifStatus::CheckErrors(), Isis::SpicePosition::Coordinate(), Isis::SpiceRotation::EphemerisTime(), Isis::iTime::Et(), Isis::Longitude::force360Domain(), Isis::SpiceRotation::IsCached(), Isis::Target::isSky(), Isis::Spice::m_solarLongitude, Isis::Spice::m_target, Isis::SpiceRotation::Matrix(), Isis::Angle::Radians, Isis::SpicePosition::SetEphemerisTime(), Isis::SpiceRotation::SetEphemerisTime(), and Isis::SpicePosition::Velocity().
Referenced by Isis::Spice::createCache(), Isis::Spice::setTime(), and Isis::Spice::solarLongitude().
void Isis::Sensor::Coordinate | ( | double | p[3] | ) | const |
Returns the x,y,z of the surface intersection in BodyFixed km.
p[] | The coordinate of the surface intersection. |
References Isis::ShapeModel::surfaceIntersection(), and Isis::Spice::target().
Referenced by Isis::Camera::DetectorResolution(), EmissionAngle(), Isis::VimsGroundMap::Init(), Isis::Camera::OffNadirAngle(), PhaseAngle(), SetGround(), SetLookDirection(), SetUniversalGround(), and SetUniversalGround().
|
virtualinherited |
This method creates an internal cache of spacecraft and sun positions over a specified time range.
The SPICE kernels are then immediately unloaded. This allows multiple instances of the Spice object to be created as the NAIF toolkit can clash if multiple sets of SPICE kernels are loaded. Note that the cache size is specified as an argument. Therefore, times requested via setTime() which are not directly loaded in the cache will be interpolated. If the instrument position is not cached and cacheSize is greater than 3, the tolerance is passed to the SpicePosition Memcache2HermiteCache() method.
Note: Before this method is called, the private variables m_cacheSize, m_startTime and m_endTime must be set. This is done in the Camera classes using the methods SetCacheSize() and SetStartEndEphemerisTime().
startTime | Starting ephemeris time to cache |
endTime | Ending ephemeris time to cache |
size | Size of the cache. |
tol | Tolerance. |
Isis::IException::Programmer | - "Argument cacheSize must be greater than zero" |
Isis::IException::Programmer | - "Argument startTime must be less than or equal to endTime" |
Isis::IException::User | - "This instrument does not support time padding" |
References _FILEINFO_, Isis::SpicePosition::cacheSize(), Isis::NaifStatus::CheckErrors(), Isis::Spice::computeSolarLongitude(), Isis::iTime::Et(), Isis::SpicePosition::GetSource(), Isis::SpiceRotation::GetSource(), Isis::SpicePosition::HasVelocity(), Isis::Spice::instrumentPosition(), Isis::SpicePosition::IsCached(), Isis::SpiceRotation::IsCached(), Isis::Spice::isUsingAle(), Isis::SpicePosition::LoadCache(), Isis::SpiceRotation::LoadCache(), Isis::Spice::m_et, Isis::SpicePosition::Memcache, Isis::SpiceRotation::Memcache, Isis::SpicePosition::Memcache2HermiteCache(), Isis::SpiceRotation::MinimizeCache(), Isis::IException::Programmer, Isis::IException::User, and Isis::SpiceRotation::Yes.
Referenced by Isis::CrismCamera::CrismCamera(), Isis::Camera::LoadCache(), and Isis::MiniRF::MiniRF().
|
virtual |
Returns the declination angle (sky latitude).
Reimplemented in Isis::CSMCamera.
References m_newLookB.
Referenced by Isis::Camera::CelestialNorthClockAngle(), Isis::VimsSkyMap::Init(), Isis::Camera::RaDecRange(), and Isis::Camera::RaDecResolution().
|
virtual |
Returns the emission angle in degrees.
Reimplemented in Isis::CSMCamera.
References Isis::Spice::bodyRotation(), Coordinate(), Isis::Spice::instrumentPosition(), and Isis::Spice::target().
Referenced by Isis::PhotometricFunction::compute(), Isis::InterestOperator::InterestByMeasure(), Isis::Camera::ObliqueDetectorResolution(), and Isis::Camera::OffNadirAngle().
|
virtualinherited |
This converts the spacecraft clock ticks value (clockValue) to an iTime.
If the clock ticks value is provided directly, rather than the spacecraft clock string, set clockTicks=true.
Use this when possible because naif calls (such as scs2e_c) cannot be called when not using naif.
References Isis::NaifStatus::CheckErrors(), Isis::Spice::getStoredResult(), Isis::Spice::naifSclkCode(), Isis::Spice::SpiceDoubleType, Isis::Spice::storeResult(), and Isis::toString().
Referenced by Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::CTXCamera::CTXCamera(), Isis::DawnFcCamera::DawnFcCamera(), Isis::HayabusaAmicaCamera::HayabusaAmicaCamera(), Isis::HayabusaNirsCamera::HayabusaNirsCamera(), Isis::HiriseCamera::HiriseCamera(), Isis::Hyb2OncCamera::Hyb2OncCamera(), Isis::VimsGroundMap::Init(), Isis::VimsSkyMap::Init(), Isis::JunoCamera::JunoCamera(), Isis::KaguyaTcCamera::KaguyaTcCamera(), Isis::LroNarrowAngleCamera::LroNarrowAngleCamera(), Isis::LroWideAngleCamera::LroWideAngleCamera(), Isis::MarciCamera::MarciCamera(), Isis::MdisCamera::MdisCamera(), Isis::MocNarrowAngleCamera::MocNarrowAngleCamera(), Isis::MocWideAngleCamera::MocWideAngleCamera(), Isis::MsiCamera::MsiCamera(), Isis::NewHorizonsLeisaCamera::NewHorizonsLeisaCamera(), Isis::NewHorizonsLorriCamera::NewHorizonsLorriCamera(), Isis::NewHorizonsMvicFrameCamera::NewHorizonsMvicFrameCamera(), Isis::NewHorizonsMvicTdiCamera::NewHorizonsMvicTdiCamera(), Isis::OsirisRexOcamsCamera::OsirisRexOcamsCamera(), Isis::RosettaOsirisCamera::RosettaOsirisCamera(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::ThemisVisCamera::ThemisVisCamera(), Isis::VikingCamera::VikingCamera(), and Isis::VimsCamera::VimsCamera().
|
inherited |
This returns a value from the NAIF text pool.
It is a static convience method
key | Name of NAIF keyword to obtain from the pool |
index | If the keyword is an array, the element to obtain. Defaults to 0 |
Isis::iException::Io | - "Can not find key in instrument kernels." |
References Isis::Spice::readValue(), and Isis::Spice::SpiceDoubleType.
Referenced by Isis::LroWideAngleCameraDistortionMap::addFilter(), Isis::LroWideAngleCameraFocalPlaneMap::addFilter(), Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperPushBroomCamera::ClipperPushBroomCamera(), Isis::CrismCamera::CrismCamera(), Isis::CTXCamera::CTXCamera(), Isis::DawnFcCamera::DawnFcCamera(), Isis::DawnVirCamera::DawnVirCamera(), Isis::HayabusaAmicaCamera::HayabusaAmicaCamera(), Isis::HayabusaNirsCamera::HayabusaNirsCamera(), Isis::HiresCamera::HiresCamera(), Isis::HrscCamera::HrscCamera(), Isis::Hyb2OncCamera::Hyb2OncCamera(), Isis::RosettaOsirisCamera::initDistortion(), Isis::IssNACamera::IssNACamera(), Isis::IssWACamera::IssWACamera(), Isis::JunoCamera::JunoCamera(), Isis::KaguyaMiCamera::KaguyaMiCamera(), Isis::KaguyaTcCamera::KaguyaTcCamera(), Isis::KaguyaTcCameraDistortionMap::KaguyaTcCameraDistortionMap(), Isis::LroNarrowAngleCamera::LroNarrowAngleCamera(), Isis::LroWideAngleCamera::LroWideAngleCamera(), Isis::LwirCamera::LwirCamera(), Isis::MarciCamera::MarciCamera(), Isis::MarciDistortionMap::MarciDistortionMap(), Isis::Mariner10Camera::Mariner10Camera(), Isis::MdisCamera::MdisCamera(), Isis::MexHrscSrcCamera::MexHrscSrcCamera(), Isis::MsiCamera::MsiCamera(), Isis::NewHorizonsLorriCamera::NewHorizonsLorriCamera(), Isis::NewHorizonsMvicFrameCamera::NewHorizonsMvicFrameCamera(), Isis::NewHorizonsMvicTdiCamera::NewHorizonsMvicTdiCamera(), Isis::NirCamera::NirCamera(), Isis::OsirisRexOcamsCamera::OsirisRexOcamsCamera(), Isis::RosettaOsirisCamera::RosettaOsirisCamera(), Isis::RosettaVirtisCamera::RosettaVirtisCamera(), Isis::KaguyaMiCameraDistortionMap::SetDistortion(), Isis::LroNarrowAngleDistortionMap::SetDistortion(), Isis::TaylorCameraDistortionMap::SetDistortion(), Isis::Camera::SetFocalLength(), Isis::Camera::SetPixelPitch(), Isis::SsiCamera::SsiCamera(), Isis::TgoCassisCamera::TgoCassisCamera(), Isis::TgoCassisDistortionMap::TgoCassisDistortionMap(), and Isis::UvvisCamera::UvvisCamera().
|
inherited |
This returns a value from the NAIF text pool.
It is a static convience
key | Name of NAIF keyword to obtain from the pool |
index | If the keyword is an array, the element to obtain. Defaults to 0 |
Isis::iException::Io | - "Can not find key in instrument kernels |
References Isis::Spice::readValue(), and Isis::Spice::SpiceIntType.
Referenced by Isis::IssNACamera::IssNACamera(), Isis::IssWACamera::IssWACamera(), and Isis::LroWideAngleCamera::LroWideAngleCamera().
Latitude Isis::Sensor::GetLatitude | ( | ) | const |
Returns a planetocentric latitude object at the surface intersection point in body fixed.
References Isis::Spice::target().
Referenced by Isis::ControlNetFilter::PointLatLonFilter(), and UniversalLatitude().
Longitude Isis::Sensor::GetLongitude | ( | ) | const |
Returns a positive east, 0-360 domain longitude object at the surface intersection point in the body fixed coordinate system.
References Isis::Spice::target().
Referenced by UniversalLongitude().
|
inherited |
This returns the PvlObject that stores all of the requested Naif data and can be a replacement for furnishing text kernels.
Referenced by Isis::Cube::attachSpiceFromIsd().
|
protectedinherited |
References Isis::Spice::readStoredValue(), Isis::Spice::SpiceByteCodeType, and Isis::Spice::SpiceDoubleType.
Referenced by Isis::Spice::getClockTime().
|
inherited |
This returns a value from the NAIF text pool.
It is a static convience method
key | Name of NAIF keyword to obtain from the pool |
index | If the keyword is an array, the element to obtain. Defaults to 0 |
Isis::IException::Io | - "Can not find key in instrument kernels." |
References Isis::Spice::readValue(), and Isis::Spice::SpiceStringType.
Referenced by Isis::LightTimeCorrectionState::checkAberrationCorrection(), Isis::LightTimeCorrectionState::checkLightTimeToSurfaceCorrect(), Isis::LightTimeCorrectionState::checkObserverTargetSwap(), Isis::MdisCamera::MdisCamera(), and Isis::NewHorizonsLorriCamera::NewHorizonsLorriCamera().
|
virtual |
Returns the surface point (most efficient accessor).
References Isis::Spice::target().
Referenced by Isis::Camera::GetLocalNormal(), Isis::IsisSensor::getState(), Isis::CSMCamera::GroundPartials(), Isis::CSMCamera::IncidenceAngle(), Isis::Camera::LocalPhotometricAngles(), Isis::CSMCamera::PhaseAngle(), and Isis::CSMCamera::SlantDistance().
|
inherited |
Returns true if the kernel group has kernel files.
lab | Label containing Instrument and Kernels groups. |
References Isis::PvlContainer::hasKeyword(), Isis::PvlKeyword::size(), and Isis::PvlObject::Traverse.
bool Isis::Sensor::HasSurfaceIntersection | ( | ) | const |
Returns if the last call to either SetLookDirection or SetUniversalGround had a valid intersection with the target.
If so then other methods such as Coordinate, UniversalLatitude, UniversalLongitude, etc can be used with confidence.
References Isis::Spice::target().
Referenced by Isis::Camera::DetectorResolution(), Isis::CSMCamera::DetectorResolution(), Isis::CSMCamera::LineResolution(), Isis::Camera::ObliqueDetectorResolution(), Isis::CSMCamera::SampleResolution(), and Isis::VimsGroundMap::SetGround().
void Isis::Sensor::IgnoreElevationModel | ( | bool | ignore | ) |
This allows you to ignore the cube elevation model and use the ellipse.
ignore | Indicates whether the elevation model is ignored. |
References Isis::Spice::target().
Referenced by Isis::ImagePolygon::Create(), and Isis::ImagePolygon::initCube().
|
virtual |
Returns the incidence angle in degrees.
This does not use the surface model.
Reimplemented in Isis::CSMCamera.
References Isis::Spice::m_uB, and Isis::Spice::target().
Referenced by Isis::PhotometricFunction::compute(), and Isis::InterestOperator::InterestByMeasure().
|
virtualinherited |
Returns the spacecraft position in body-fixed frame km units.
p[] | Spacecraft position |
Isis::iException::Programmer | - "You must call SetTime first" |
Reimplemented in Isis::CSMCamera.
References _FILEINFO_, Isis::SpicePosition::Coordinate(), Isis::Spice::m_et, Isis::IException::Programmer, and Isis::SpiceRotation::ReferenceVector().
Referenced by Isis::IsisSensor::getState(), Isis::IsisSensor::getState(), Isis::Spice::instrumentPosition(), Isis::Camera::LocalPhotometricAngles(), PhaseAngle(), and SlantDistance().
|
virtualinherited |
Returns the spacecraft velocity in body-fixed frame km/sec units.
v[] | Spacecraft velocity |
References _FILEINFO_, Isis::SpicePosition::Coordinate(), Isis::Spice::m_et, Isis::IException::Programmer, Isis::SpiceRotation::ReferenceVector(), and Isis::SpicePosition::Velocity().
|
pure virtual |
Implemented in Isis::Camera, and Isis::IdealCamera.
|
pure virtual |
Implemented in Isis::Camera, and Isis::IdealCamera.
|
virtualinherited |
Accessor method for the instrument position.
Reimplemented in Isis::CSMCamera.
Referenced by Isis::Spice::createCache(), Isis::Camera::DetectorResolution(), EmissionAngle(), Isis::LoHighCamera::LoHighCamera(), Isis::LoMediumCamera::LoMediumCamera(), Isis::Mariner10Camera::Mariner10Camera(), Isis::MiniRF::MiniRF(), Isis::Camera::OffNadirAngle(), SetGround(), SetLookDirection(), Isis::Spice::setTime(), SetUniversalGround(), SetUniversalGround(), and SpacecraftAltitude().
|
inherited |
Returns the spacecraft position in body-fixed frame km units.
p[] | Spacecraft position |
Isis::iException::Programmer | - "You must call SetTime first" |
References Isis::Spice::instrumentBodyFixedPosition().
Referenced by Isis::Cube::attachSpiceFromIsd(), Isis::CameraGroundMap::GetdXYdPosition(), Isis::RadarGroundMap::GetdXYdPosition(), Isis::RadarGroundMap::GetXY(), Isis::CameraGroundMap::GetXY(), Isis::RadarGroundMap::SetFocalPlane(), and Isis::RadarGroundMap::SetGround().
|
virtualinherited |
Accessor method for the instrument rotation.
Reimplemented in Isis::CSMCamera.
Referenced by Isis::Cube::attachSpiceFromIsd(), Isis::DawnVirCamera::DawnVirCamera(), Isis::CameraGroundMap::GetdXYdOrientation(), Isis::CameraGroundMap::GetdXYdPoint(), Isis::CameraGroundMap::GetdXYdPosition(), Isis::CameraGroundMap::GetdXYdTOrientation(), Isis::CameraGroundMap::GetXY(), Isis::HiriseCamera::HiriseCamera(), Isis::HrscCamera::HrscCamera(), Isis::IssNACamera::IssNACamera(), Isis::IssWACamera::IssWACamera(), Isis::JunoCamera::JunoCamera(), LookDirection(), Isis::LroWideAngleCamera::LroWideAngleCamera(), Isis::Mariner10Camera::Mariner10Camera(), Isis::MocNarrowAngleCamera::MocNarrowAngleCamera(), Isis::MocWideAngleCamera::MocWideAngleCamera(), Isis::RosettaVirtisCamera::RosettaVirtisCamera(), Isis::RadarGroundMap::SetFocalPlane(), Isis::RadarGroundMap::SetGround(), SetLookDirection(), SetRightAscensionDeclination(), and Isis::TgoCassisCamera::TgoCassisCamera().
|
inherited |
Returns true if time has been initialized.
References Isis::Spice::m_et.
Referenced by Isis::CameraDetectorMap::SetParent(), and Isis::RollingShutterCameraDetectorMap::SetParent().
|
inherited |
Referenced by Isis::Spice::createCache().
Distance Isis::Sensor::LocalRadius | ( | ) | const |
Returns the local radius at the intersection point.
This is either the radius on the ellipsoid, the radius from the surface model passed into the constructor, or the radius set with SetUniversalGround.
References Isis::Spice::target().
Referenced by Isis::QnetCubeDistanceFilter::filter(), Isis::Camera::GetLocalNormal(), Isis::ControlNetFilter::PointLatLonFilter(), Isis::CameraGroundMap::SetGround(), Isis::LineScanCameraGroundMap::SetGround(), Isis::PushFrameCameraGroundMap::SetGround(), Isis::RadarGroundMap::SetGround(), Isis::VimsGroundMap::SetGround(), Isis::Camera::SetGround(), Isis::CSMCamera::SetGround(), and SpacecraftAltitude().
Distance Isis::Sensor::LocalRadius | ( | double | lat, |
double | lon ) |
Returns the local radius at the intersection point.
This is either the radius on the ellipsoid, the radius from the surface model passed into the constructor, or the radius set with SetUniversalGround.
lat | |
lon |
References Isis::Angle::Degrees, and Isis::Spice::target().
Returns the local radius at the intersection point.
This is either the radius on the ellipsoid, the radius from the surface model passed into the constructor, or the radius set with SetUniversalGround.
lat | |
lon |
References Isis::Spice::target().
double Isis::Sensor::LocalSolarTime | ( | ) |
Return the local solar time in hours.
References Isis::Spice::subSolarPoint(), and UniversalLongitude().
void Isis::Sensor::LookDirection | ( | double | v[3] | ) | const |
Returns the look direction in the camera coordinate system.
v[] | The look vector. |
References Isis::Spice::instrumentRotation(), and lookDirectionJ2000().
|
virtual |
Returns the look direction in the body fixed coordinate system.
References m_lookB.
Referenced by Isis::IsisSensor::getState(), Isis::IsisSensor::getState(), and lookDirectionJ2000().
|
virtual |
Returns the look direction in the camera coordinate system.
References Isis::Spice::bodyRotation(), and lookDirectionBodyFixed().
Referenced by Isis::IsisSensor::getState(), Isis::IsisSensor::getState(), and LookDirection().
|
inherited |
This returns the NAIF body code of the target indicated in the labels.
References Isis::Spice::m_target, and Isis::Target::naifBodyCode().
Referenced by Isis::Camera::SpkCenterId().
|
inherited |
This returns the NAIF body frame code.
It is read from the labels, if it exists. Otherwise, it's calculated by the init() method.
|
inherited |
This returns the NAIF CK code to use when reading from CK kernels.
|
inherited |
This returns the NAIF IK code to use when reading from instrument kernels.
Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), Isis::ClipperPushBroomCamera::ClipperPushBroomCamera(), Isis::ClipperWacFcCamera::ClipperWacFcCamera(), Isis::CrismCamera::CrismCamera(), Isis::CTXCamera::CTXCamera(), Isis::DawnFcCamera::DawnFcCamera(), Isis::DawnVirCamera::DawnVirCamera(), Isis::HayabusaAmicaCamera::HayabusaAmicaCamera(), Isis::HayabusaNirsCamera::HayabusaNirsCamera(), Isis::HiresCamera::HiresCamera(), Isis::HiriseCamera::HiriseCamera(), Isis::HrscCamera::HrscCamera(), Isis::Hyb2OncCamera::Hyb2OncCamera(), Isis::IssNACamera::IssNACamera(), Isis::IssWACamera::IssWACamera(), Isis::JunoCamera::JunoCamera(), Isis::KaguyaMiCamera::KaguyaMiCamera(), Isis::KaguyaTcCamera::KaguyaTcCamera(), Isis::LoHighCamera::LoHighCamera(), Isis::LoMediumCamera::LoMediumCamera(), Isis::LroNarrowAngleCamera::LroNarrowAngleCamera(), Isis::LroWideAngleCamera::LroWideAngleCamera(), Isis::LwirCamera::LwirCamera(), Isis::MarciCamera::MarciCamera(), Isis::Mariner10Camera::Mariner10Camera(), Isis::MdisCamera::MdisCamera(), Isis::MexHrscSrcCamera::MexHrscSrcCamera(), Isis::MiniRF::MiniRF(), Isis::MocNarrowAngleCamera::MocNarrowAngleCamera(), Isis::MocWideAngleCamera::MocWideAngleCamera(), Isis::MsiCamera::MsiCamera(), Isis::NewHorizonsLeisaCamera::NewHorizonsLeisaCamera(), Isis::NewHorizonsLorriCamera::NewHorizonsLorriCamera(), Isis::NewHorizonsMvicFrameCamera::NewHorizonsMvicFrameCamera(), Isis::NewHorizonsMvicTdiCamera::NewHorizonsMvicTdiCamera(), Isis::NirCamera::NirCamera(), Isis::OsirisRexOcamsCamera::OsirisRexOcamsCamera(), Isis::RosettaOsirisCamera::RosettaOsirisCamera(), Isis::RosettaVirtisCamera::RosettaVirtisCamera(), Isis::Camera::SetFocalLength(), Isis::Camera::SetPixelPitch(), Isis::SsiCamera::SsiCamera(), Isis::TgoCassisCamera::TgoCassisCamera(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::ThemisVisCamera::ThemisVisCamera(), Isis::UvvisCamera::UvvisCamera(), Isis::VikingCamera::VikingCamera(), Isis::VimsCamera::VimsCamera(), and Isis::VoyagerCamera::VoyagerCamera().
|
inherited |
This returns the NAIF SCLK code to use when reading from instrument kernels.
Referenced by Isis::CrismCamera::CrismCamera(), and Isis::Spice::getClockTime().
|
inherited |
This returns the NAIF SPK code to use when reading from SPK kernels.
Referenced by Isis::Camera::SpkTargetId().
|
virtual |
Returns the phase angle in degrees.
This does not use the surface model.
Reimplemented in Isis::CSMCamera.
References Coordinate(), Isis::Spice::instrumentBodyFixedPosition(), Isis::Spice::m_uB, and Isis::RAD2DEG.
Referenced by Isis::PhotometricFunction::compute().
|
virtual |
This method is implemented in Camera which defaults to the (pixel pitch * summing mode ) / 2.
If the instrument has a non-square ifov, it must implement this method to return offsets from the center of the pixel.
Reimplemented in Isis::Camera, Isis::CSMCamera, Isis::VimsCamera, and Isis::HayabusaNirsCamera.
References _FILEINFO_, and Isis::IException::Programmer.
|
inherited |
Returns the radii of the body in km.
The radii are obtained from the appropriate SPICE kernel for the body specified by TargetName in the Instrument group of the labels.
r[] | Radii of the target in kilometers |
References Isis::Spice::m_target, and Isis::Target::radii().
Referenced by Isis::Camera::BasicMapping(), Isis::Camera::GroundRange(), Isis::VimsGroundMap::Init(), Isis::MiniRF::MiniRF(), Isis::RadarGroundMap::SetFocalPlane(), Isis::CSMCamera::setTarget(), Isis::Spice::subSolarPoint(), and Isis::Spice::subSpacecraftPoint().
|
protectedinherited |
References Isis::PvlObject::findKeyword(), Isis::PvlObject::hasKeyword(), Isis::Spice::SpiceByteCodeType, Isis::Spice::SpiceDoubleType, Isis::Spice::SpiceIntType, Isis::Spice::SpiceStringType, Isis::toDouble(), and Isis::toInt().
Referenced by Isis::Spice::getStoredResult(), and Isis::Spice::readValue().
|
protectedinherited |
This should be used for reading ALL text naif kernel values.
This will read it from Naif if we're using naif/not attached kernels. If we have attached kernels and a NaifKeywords label object we will grab it from there instead. This allows us to not furnish kernels after spiceinit.
key | The naif keyword,value name |
type | The naif value's primitive type |
index | The index into the naif keyword array to read |
References _FILEINFO_, Isis::NaifStatus::CheckErrors(), Isis::IException::Io, Isis::Spice::readStoredValue(), Isis::Spice::SpiceDoubleType, Isis::Spice::SpiceIntType, Isis::Spice::SpiceStringType, Isis::Spice::storeValue(), and Isis::IException::Unknown.
Referenced by Isis::Spice::getDouble(), Isis::Spice::getInteger(), Isis::Spice::getString(), and Isis::IdealCamera::IdealCamera().
|
inlinevirtual |
Virtual method that returns the pixel resolution of the sensor in meters/pix.
Reimplemented from Isis::Spice.
Reimplemented in Isis::Camera.
|
virtual |
Returns the right ascension angle (sky longitude).
Reimplemented in Isis::CSMCamera.
References m_newLookB.
Referenced by Isis::Camera::CelestialNorthClockAngle(), Isis::VimsSkyMap::Init(), Isis::Camera::RaDecRange(), and Isis::Camera::RaDecResolution().
bool Isis::Sensor::SetGround | ( | const SurfacePoint & | surfacePt, |
bool | backCheck = true ) |
This overloaded method has the opposite function as SetLookDirection.
Instead of computing a point on the target, a point is set and the look direction is computed. Other methods such as lat/lon, phase, incidence, etc. can be used if this method returns a true.
backCheck | If true this method will check the lat/lon point to see if it falls on the backside of the target (or beyond the horizon). If false this test will not occur. Defaults to true. |
References Isis::Spice::bodyRotation(), Isis::ShapeModel::clearSurfacePoint(), Coordinate(), Isis::Spice::instrumentPosition(), Isis::ShapeModel::intersectSurface(), and Isis::Spice::target().
bool Isis::Sensor::SetLookDirection | ( | const double | v[3] | ) |
Sets the look direction of the spacecraft.
This routine will then attempt to intersect the look direction with the target. If successful you can utilize the methods which return the lat/lon, phase, incidence, etc. This routine returns false if the look direction does not intersect the target.
v[] | A look vector in camera coordinates. For example, (0,0,1) is usually the look direction out of the boresight of a camera. |
References Isis::Spice::bodyRotation(), Coordinate(), Isis::Spice::instrumentPosition(), Isis::Spice::instrumentRotation(), m_lookB, m_newLookB, and Isis::Spice::target().
Referenced by Isis::CameraGroundMap::SetFocalPlane(), Isis::CameraSkyMap::SetFocalPlane(), Isis::VimsGroundMap::SetFocalPlane(), Isis::VimsSkyMap::SetFocalPlane(), and SetRightAscensionDeclination().
bool Isis::Sensor::SetRightAscensionDeclination | ( | const double | ra, |
const double | dec ) |
Given the ra/dec compute the look direction.
ra | Right ascension in degrees (sky longitude). |
dec | Declination in degrees (sky latitude). |
References Isis::DEG2RAD, Isis::Spice::instrumentRotation(), and SetLookDirection().
|
virtual |
By setting the time you essential set the position of the spacecraft and body as indicated in the class Spice.
However, after this is invoked there will be no intersection point until SetLookDirection or SetUniversalGround is invoked. (Read NAIF documentation for a detailed description of ephemeris time.)
time | Ephemeris time. |
Reimplemented from Isis::Spice.
References Isis::Spice::setTime(), Isis::Spice::target(), and Isis::Spice::time().
Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), Isis::ClipperPushBroomCamera::ClipperPushBroomCamera(), Isis::ClipperWacFcCamera::ClipperWacFcCamera(), Isis::CrismCamera::CrismCamera(), Isis::DawnFcCamera::DawnFcCamera(), Isis::DawnVirCamera::DawnVirCamera(), Isis::HayabusaAmicaCamera::HayabusaAmicaCamera(), Isis::HayabusaNirsCamera::HayabusaNirsCamera(), Isis::HiresCamera::HiresCamera(), Isis::Hyb2OncCamera::Hyb2OncCamera(), Isis::IdealCamera::IdealCamera(), Isis::VimsGroundMap::Init(), Isis::VimsSkyMap::Init(), Isis::IssNACamera::IssNACamera(), Isis::IssWACamera::IssWACamera(), Isis::JunoCamera::JunoCamera(), Isis::KaguyaMiCamera::KaguyaMiCamera(), Isis::KaguyaTcCamera::KaguyaTcCamera(), Isis::Camera::LoadCache(), Isis::LoHighCamera::LoHighCamera(), Isis::LoMediumCamera::LoMediumCamera(), Isis::LroNarrowAngleCamera::LroNarrowAngleCamera(), Isis::LwirCamera::LwirCamera(), Isis::Mariner10Camera::Mariner10Camera(), Isis::MdisCamera::MdisCamera(), Isis::MexHrscSrcCamera::MexHrscSrcCamera(), Isis::MiniRF::MiniRF(), Isis::MsiCamera::MsiCamera(), Isis::NewHorizonsLorriCamera::NewHorizonsLorriCamera(), Isis::NirCamera::NirCamera(), Isis::OsirisRexOcamsCamera::OsirisRexOcamsCamera(), Isis::RosettaOsirisCamera::RosettaOsirisCamera(), Isis::RosettaVirtisCamera::RosettaVirtisCamera(), Isis::ThemisVisCamera::SetBand(), Isis::NewHorizonsMvicFrameCamera::SetBand(), Isis::VimsGroundMap::SetFocalPlane(), Isis::VimsSkyMap::SetFocalPlane(), Isis::PushFrameCameraDetectorMap::SetFramelet(), Isis::ApolloPanoramicDetectorMap::SetParent(), Isis::RadarPulseMap::SetParent(), Isis::CameraDetectorMap::SetParent(), Isis::LineScanCameraDetectorMap::SetParent(), Isis::RollingShutterCameraDetectorMap::SetParent(), Isis::VariableLineScanCameraDetectorMap::SetParent(), Isis::SsiCamera::SsiCamera(), Isis::TgoCassisCamera::TgoCassisCamera(), Isis::UvvisCamera::UvvisCamera(), Isis::VikingCamera::VikingCamera(), and Isis::VoyagerCamera::VoyagerCamera().
bool Isis::Sensor::SetUniversalGround | ( | const double | latitude, |
const double | longitude, | ||
bool | backCheck = true ) |
This is the opposite routine for SetLookDirection.
Instead of computing a point on the target, a point is set and the look direction is computed. Other methods such as lat/lon, phase, incidence, etc. can be used if this method returns a true.
latitude | Planetocentric latitude. |
longitude | Positive east longitude. |
backCheck | If true this method will check the lat/lon point to see if it falls on the backside of the target (or beyond the horizon). If false this test will not occur. Defaults to true. |
References Isis::Spice::bodyRotation(), Isis::ShapeModel::clearSurfacePoint(), Coordinate(), Isis::Angle::Degrees, Isis::Spice::instrumentPosition(), Isis::ShapeModel::intersectSurface(), and Isis::Spice::target().
bool Isis::Sensor::SetUniversalGround | ( | const double | latitude, |
const double | longitude, | ||
const double | radius, | ||
bool | backCheck = true ) |
This overloaded method has the opposite function as SetLookDirection.
Instead of computing a point on the target, a point is set and the look direction is computed. Other methods such as lat/lon, phase, incidence, etc. can be used if this method returns a true.
latitude | Planetocentric latitude in degrees. |
longitude | Positive east longitude in degrees. |
radius | Radius in meters. |
backCheck | If true this method will check the lat/lon point to see if it falls on the backside of the target (or beyond the horizon). If false this test will not occur. Defaults to true. |
References Isis::Spice::bodyRotation(), Isis::ShapeModel::clearSurfacePoint(), Coordinate(), Isis::Angle::Degrees, Isis::Spice::instrumentPosition(), Isis::ShapeModel::intersectSurface(), Isis::Distance::Meters, and Isis::Spice::target().
|
virtual |
Return the distance between the spacecraft and surface point in kmv.
Reimplemented in Isis::CSMCamera.
References Isis::Spice::instrumentBodyFixedPosition(), and Isis::Spice::target().
Referenced by Isis::LineScanCameraGroundMap::FindSpacecraftDistance().
|
virtual |
Returns the distance between the sun and surface point in AU.
Reimplemented in Isis::CSMCamera.
References Isis::SurfacePoint::GetX(), Isis::SurfacePoint::GetY(), Isis::SurfacePoint::GetZ(), Isis::Displacement::kilometers(), Isis::Spice::sunPosition(), and Isis::Spice::target().
|
virtualinherited |
Returns the solar longitude.
References Isis::Spice::computeSolarLongitude(), Isis::Spice::m_et, and Isis::Spice::m_solarLongitude.
Referenced by Isis::Cube::attachSpiceFromIsd().
double Isis::Sensor::SpacecraftAltitude | ( | ) |
Returns the distance from the spacecraft to the subspacecraft point in km.
It uses the ellipsoid, not the shape model.
References Isis::Spice::instrumentPosition(), LocalRadius(), and Isis::Spice::subSpacecraftPoint().
Referenced by Isis::CrismCamera::CrismCamera(), Isis::Camera::LoadCache(), and Isis::MiniRF::MiniRF().
|
pure virtual |
Implemented in Isis::Camera, and Isis::IdealCamera.
|
pure virtual |
Implemented in Isis::Camera, and Isis::IdealCamera.
void Isis::Sensor::SpacecraftSurfaceVector | ( | double | scSurfaceVector[3] | ) | const |
Sets the vector between the spacecraft and surface point in body-fixed.
scSurfaceVector | The direction vector from the observer to the surface intersection. |
References m_lookB.
|
protectedinherited |
References Isis::Spice::SpiceByteCodeType, Isis::Spice::SpiceDoubleType, and Isis::Spice::storeValue().
Referenced by Isis::Spice::getClockTime().
|
protectedinherited |
References _FILEINFO_, Isis::PvlContainer::addKeyword(), Isis::PvlKeyword::addValue(), Isis::PvlObject::findKeyword(), Isis::PvlObject::hasKeyword(), Isis::Spice::SpiceByteCodeType, Isis::Spice::SpiceDoubleType, Isis::Spice::SpiceIntType, Isis::Spice::SpiceStringType, Isis::toString(), and Isis::IException::Unknown.
Referenced by Isis::IdealCamera::IdealCamera(), Isis::Spice::readValue(), and Isis::Spice::storeResult().
|
virtualinherited |
Returns the sub-solar latitude/longitude in universal coordinates (0-360 positive east, ocentric)
lat | Sub-solar latitude |
lon | Sub-solar longitude |
Isis::IException::Programmer | - "You must call SetTime first." |
Reimplemented in Isis::CSMCamera.
References _FILEINFO_, Isis::NaifStatus::CheckErrors(), Isis::Spice::m_et, Isis::Spice::m_uB, Isis::PI, Isis::IException::Programmer, Isis::Spice::radii(), and Isis::Spice::target().
Referenced by LocalSolarTime(), and Isis::Camera::SunAzimuth().
|
virtualinherited |
Returns the sub-spacecraft latitude/longitude in universal coordinates (0-360 positive east, ocentric)
lat | Sub-spacecraft latitude |
lon | Sub-spacecraft longitude |
Isis::IException::Programmer | - "You must call SetTime first." |
Reimplemented in Isis::CSMCamera.
References _FILEINFO_, Isis::NaifStatus::CheckErrors(), Isis::SpicePosition::Coordinate(), Isis::Spice::m_et, Isis::PI, Isis::IException::Programmer, Isis::Spice::radii(), Isis::SpiceRotation::ReferenceVector(), and Isis::Spice::target().
Referenced by SpacecraftAltitude(), and Isis::Camera::SpacecraftAzimuth().
|
virtualinherited |
Accessor method for the sun position.
Reimplemented in Isis::CSMCamera.
Referenced by SolarDistance(), and Isis::Spice::sunToBodyDist().
|
virtualinherited |
Fills the input vector with sun position information, in either body-fixed or J2000 reference frame and km units.
p[] | Sun position |
Reimplemented in Isis::CSMCamera.
References _FILEINFO_, Isis::Spice::m_et, Isis::Spice::m_uB, and Isis::IException::Programmer.
Referenced by Isis::Cube::attachSpiceFromIsd().
|
virtualinherited |
|
virtualinherited |
Returns a pointer to the target object.
References Isis::Spice::m_target.
Referenced by Isis::Camera::BasicMapping(), Isis::Camera::basicRingMapping(), Coordinate(), Isis::CSMCamera::EmissionAngle(), EmissionAngle(), GetLatitude(), Isis::Camera::GetLocalNormal(), GetLongitude(), GetSurfacePoint(), Isis::CameraGroundMap::GetXY(), Isis::UniversalGroundMap::GroundRange(), HasSurfaceIntersection(), IgnoreElevationModel(), Isis::CSMCamera::IncidenceAngle(), IncidenceAngle(), Isis::Camera::LoadCache(), LocalRadius(), LocalRadius(), LocalRadius(), Isis::Camera::NorthAzimuth(), Isis::CSMCamera::PhaseAngle(), Isis::CameraGroundMap::SetGround(), Isis::VimsGroundMap::SetGround(), Isis::RadarGroundMap::SetGround(), Isis::Camera::SetGround(), Isis::CSMCamera::SetGround(), SetGround(), Isis::Camera::SetGround(), Isis::CSMCamera::SetGround(), Isis::Camera::SetImage(), Isis::CSMCamera::SetImage(), Isis::Camera::SetImage(), SetLookDirection(), Isis::CSMCamera::SetLookDirection(), Isis::Camera::SetRightAscensionDeclination(), Isis::CSMCamera::setTarget(), setTime(), Isis::Camera::SetUniversalGround(), SetUniversalGround(), Isis::Camera::SetUniversalGround(), SetUniversalGround(), SlantDistance(), Isis::Camera::Slope(), SolarDistance(), Isis::Spice::subSolarPoint(), and Isis::Spice::subSpacecraftPoint().
|
virtualinherited |
Calculates and returns the distance from the spacecraft to the target center.
Reimplemented in Isis::CSMCamera.
References Isis::SpicePosition::Coordinate(), and Isis::SpiceRotation::ReferenceVector().
|
inherited |
Returns the QString name of the target.
References Isis::Spice::m_target, and Isis::Target::name().
|
virtualinherited |
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
IException::Programmer | "Unable to retrieve the time Spice::setTime must be called first." |
References _FILEINFO_, Isis::Spice::m_et, and Isis::IException::Programmer.
Referenced by Isis::LineScanCameraGroundMap::FindFocalPlane(), Isis::IsisSensor::getState(), Isis::IsisSensor::getState(), Isis::HiresCamera::HiresCamera(), Isis::KaguyaTcCamera::KaguyaTcCamera(), Isis::LoHighCamera::LoHighCamera(), Isis::LoMediumCamera::LoMediumCamera(), Isis::LwirCamera::LwirCamera(), Isis::NewHorizonsMvicFrameCamera::SetBand(), Isis::ApolloPanoramicDetectorMap::SetDetector(), Isis::LineScanCameraDetectorMap::SetDetector(), Isis::RadarPulseMap::SetDetector(), Isis::VariableLineScanCameraDetectorMap::SetDetector(), Isis::RadarSlantRangeMap::SetFocalPlane(), Isis::CameraDetectorMap::SetParent(), Isis::RollingShutterCameraDetectorMap::SetParent(), setTime(), Isis::RadarSlantRangeMap::SetUndistortedFocalPlane(), Isis::ApolloMetricCamera::ShutterOpenCloseTimes(), Isis::IssNACamera::ShutterOpenCloseTimes(), Isis::IssWACamera::ShutterOpenCloseTimes(), Isis::HiresCamera::ShutterOpenCloseTimes(), Isis::LwirCamera::ShutterOpenCloseTimes(), Isis::NirCamera::ShutterOpenCloseTimes(), Isis::UvvisCamera::ShutterOpenCloseTimes(), Isis::ClipperWacFcCamera::ShutterOpenCloseTimes(), Isis::DawnFcCamera::ShutterOpenCloseTimes(), Isis::SsiCamera::ShutterOpenCloseTimes(), Isis::HayabusaAmicaCamera::ShutterOpenCloseTimes(), Isis::HayabusaNirsCamera::ShutterOpenCloseTimes(), Isis::Hyb2OncCamera::ShutterOpenCloseTimes(), Isis::JunoCamera::ShutterOpenCloseTimes(), Isis::LoHighCamera::ShutterOpenCloseTimes(), Isis::LoMediumCamera::ShutterOpenCloseTimes(), Isis::Mariner10Camera::ShutterOpenCloseTimes(), Isis::MdisCamera::ShutterOpenCloseTimes(), Isis::MexHrscSrcCamera::ShutterOpenCloseTimes(), Isis::MsiCamera::ShutterOpenCloseTimes(), Isis::NewHorizonsLorriCamera::ShutterOpenCloseTimes(), Isis::NewHorizonsMvicFrameCamera::ShutterOpenCloseTimes(), Isis::OsirisRexOcamsCamera::ShutterOpenCloseTimes(), Isis::RosettaOsirisCamera::ShutterOpenCloseTimes(), Isis::TgoCassisCamera::ShutterOpenCloseTimes(), Isis::VikingCamera::ShutterOpenCloseTimes(), Isis::VoyagerCamera::ShutterOpenCloseTimes(), Isis::FramingCamera::ShutterOpenCloseTimes(), Isis::Camera::StartEndEphemerisTimes(), and Isis::UvvisCamera::UvvisCamera().
|
virtual |
Returns the planetocentric latitude, in degrees, at the surface intersection point in the body fixed coordinate system.
References Isis::Angle::degrees(), and GetLatitude().
Referenced by Isis::QnetCubeDistanceFilter::filter(), Isis::Camera::NorthAzimuth(), Isis::ControlNetFilter::PointLatLonFilter(), Isis::Camera::SetRightAscensionDeclination(), and Isis::UniversalGroundMap::UniversalLatitude().
|
virtual |
Returns the positive east, 0-360 domain longitude, in degrees, at the surface intersection point in the body fixed coordinate system.
References Isis::Angle::degrees(), and GetLongitude().
Referenced by LocalSolarTime(), Isis::ControlNetFilter::PointLatLonFilter(), Isis::Camera::SetRightAscensionDeclination(), and Isis::UniversalGroundMap::UniversalLongitude().
|
protectedinherited |
This contains the transformation matrix from J2000 (J) to Body fixed (B).
Recall that the transpose of this matrix JB will convert from body-fixed to J2000. It is left in protected space so that conversions between double and SpiceDouble do not have to occur in inheriting classes.
|
protectedinherited |
Ephemeris time (read NAIF documentation for a detailed description)
Referenced by Isis::Spice::createCache(), Isis::Spice::instrumentBodyFixedPosition(), Isis::Spice::instrumentBodyFixedVelocity(), Isis::Spice::isTimeSet(), Isis::CSMCamera::SetGround(), Isis::CSMCamera::SetImage(), Isis::Spice::setTime(), Isis::Spice::solarLongitude(), Isis::Spice::subSolarPoint(), Isis::Spice::subSpacecraftPoint(), Isis::Spice::sunPosition(), Isis::Spice::time(), and Isis::Spice::~Spice().
|
protected |
Look direction in body fixed.
Referenced by lookDirectionBodyFixed(), Isis::CSMCamera::SetGround(), SetLookDirection(), Isis::CSMCamera::SetLookDirection(), and SpacecraftSurfaceVector().
|
protected |
flag to indicate we need to recompute ra/dec
Referenced by Declination(), RightAscension(), Sensor(), Isis::CSMCamera::SetGround(), SetLookDirection(), and Isis::CSMCamera::SetLookDirection().
|
protectedinherited |
Body rotation solar longitude value.
Referenced by Isis::Spice::computeSolarLongitude(), Isis::Spice::solarLongitude(), and Isis::Spice::~Spice().
|
protectedinherited |
Target of the observation.
Referenced by Isis::Spice::computeSolarLongitude(), Isis::Spice::naifBodyCode(), Isis::Spice::radii(), Isis::CSMCamera::setTarget(), Isis::Spice::target(), Isis::Spice::targetName(), and Isis::Spice::~Spice().
|
protectedinherited |
This contains the sun position (u) in the bodyfixed reference frame (B).
It is left protected so that conversions between double and SpiceDouble do not have to occur in inheriting classes. Units are km
Referenced by IncidenceAngle(), Isis::Camera::LocalPhotometricAngles(), PhaseAngle(), Isis::Spice::setTime(), Isis::Spice::subSolarPoint(), and Isis::Spice::sunPosition().