Isis 3 Programmer Reference
Isis::ClipperPushBroomCamera Class Reference

This is the camera model for the Europa Clipper Push Broom Camera. More...

#include <ClipperPushBroomCamera.h>

Inheritance diagram for Isis::ClipperPushBroomCamera:
Inheritance graph
Collaboration diagram for Isis::ClipperPushBroomCamera:
Collaboration graph

Public Types

enum  CameraType {
  Framing, PushFrame, LineScan, Radar,
  Point, RollingShutter, Csm
}
 This enum defines the types of cameras supported in this class. More...
 

Public Member Functions

 ClipperPushBroomCamera (Cube &cube)
 Constructs a ClipperPushBroomCamera object using the image labels. More...
 
 ~ClipperPushBroomCamera ()
 Destructor for a ClipperPushBroomCamera object. More...
 
virtual int CkFrameId () const
 CK frame ID - Instrument Code from spacit run on CK. More...
 
virtual int CkReferenceId () const
 CK Reference ID - J2000. More...
 
virtual int SpkReferenceId () const
 SPK Reference ID - J2000. More...
 
virtual CameraType GetCameraType () const
 Returns the LineScan type of camera, as enumerated in the Camera class. More...
 
LineScanCameraGroundMapGroundMap ()
 Returns a pointer to the LineScanCameraGroundMap object. More...
 
LineScanCameraSkyMapSkyMap ()
 Returns a pointer to the LineScanCameraSkyMap object. More...
 
LineScanCameraDetectorMapDetectorMap ()
 Returns a pointer to the LineScanCameraDetectorMap object. More...
 
virtual bool SetImage (const double sample, const double line)
 Sets the sample/line values of the image to get the lat/lon values. More...
 
virtual bool SetImage (const double sample, const double line, const double deltaT)
 Sets the sample/line values of the image to get the lat/lon values with a time offset of deltaT. More...
 
virtual bool SetUniversalGround (const double latitude, const double longitude)
 Sets the lat/lon values to get the sample/line values. More...
 
virtual bool SetUniversalGround (const double latitude, const double longitude, const double radius)
 Sets the lat/lon/radius values to get the sample/line values. More...
 
bool SetUniversalGround (const double latitude, const double longitude, bool backCheck=true)
 This is the opposite routine for SetLookDirection. More...
 
bool SetUniversalGround (const double latitude, const double longitude, const double radius, bool backCheck=true)
 This overloaded method has the opposite function as SetLookDirection. More...
 
virtual bool SetGround (Latitude latitude, Longitude longitude)
 Sets the lat/lon values to get the sample/line values. More...
 
virtual bool SetGround (const SurfacePoint &surfacePt)
 Sets the lat/lon/radius values to get the sample/line values. More...
 
bool SetGround (const SurfacePoint &surfacePt, bool backCheck=true)
 This overloaded method has the opposite function as SetLookDirection. More...
 
bool SetRightAscensionDeclination (const double ra, const double dec)
 Sets the right ascension declination. More...
 
void LocalPhotometricAngles (Angle &phase, Angle &incidence, Angle &emission, bool &success)
 Calculates LOCAL photometric angles using the DEM (not ellipsoid). More...
 
void GetLocalNormal (double normal[3])
 This method will find the local normal at the current (sample, line) and set it to the passed in array. More...
 
bool HasProjection ()
 Checks to see if the camera object has a projection. More...
 
virtual bool IsBandIndependent ()
 Virtual method that checks if the band is independent. More...
 
int ReferenceBand () const
 Returns the reference band. More...
 
bool HasReferenceBand () const
 Checks to see if the Camera object has a reference band. More...
 
virtual void SetBand (const int band)
 Virtual method that sets the band number. More...
 
virtual double Sample () const
 Returns the current sample number. More...
 
int Band () const
 Returns the current band. More...
 
virtual double Line () const
 Returns the current line number. More...
 
bool GroundRange (double &minlat, double &maxlat, double &minlon, double &maxlon, Pvl &pvl)
 Computes the Ground Range. More...
 
bool ringRange (double &minRingRadius, double &maxRingRadius, double &minRingLongitude, double &maxRingLongitude, Pvl &pvl)
 Analogous to the above Ground Range method. More...
 
bool IntersectsLongitudeDomain (Pvl &pvl)
 Checks whether the ground range intersects the longitude domain or not. More...
 
virtual double PixelResolution ()
 Returns the pixel resolution at the current position in meters/pixel. More...
 
virtual double LineResolution ()
 Returns the line resolution at the current position in meters. More...
 
virtual double SampleResolution ()
 Returns the sample resolution at the current position in meters. More...
 
virtual double DetectorResolution ()
 Returns the detector resolution at the current position in meters. More...
 
virtual double ObliqueDetectorResolution ()
 This method returns the Oblique Detector Resolution if the Look Vector intersects the target and if the emission angle is greater than or equal to 0, and less than 90 degrees. More...
 
virtual double ObliqueSampleResolution ()
 Returns the oblique sample resolution at the current position in m. More...
 
virtual double ObliqueLineResolution ()
 Returns the oblique line resolution at the current position in meters. More...
 
virtual double ObliquePixelResolution ()
 Returns the oblique pixel resolution at the current position in meters/pixel. More...
 
virtual double resolution ()
 Returns the resolution of the camera. More...
 
double LowestImageResolution ()
 Returns the lowest/worst resolution in the entire image. More...
 
double HighestImageResolution ()
 Returns the highest/best resolution in the entire image. More...
 
double LowestObliqueImageResolution ()
 Returns the lowest/worst oblique resolution in the entire image. More...
 
double HighestObliqueImageResolution ()
 Returns the highest/best oblique resolution in the entire image. More...
 
void BasicMapping (Pvl &map)
 Writes the basic mapping group to the specified Pvl. More...
 
void basicRingMapping (Pvl &map)
 Writes the basic mapping group for ring plane to the specified Pvl. More...
 
double FocalLength () const
 Returns the focal length. More...
 
double PixelPitch () const
 Returns the pixel pitch. More...
 
virtual double exposureDuration () const
 Return the exposure duration for the pixel that the camera is set to. More...
 
virtual double exposureDuration (const double sample, const double line, const int band=-1) const
 Return the exposure duration for the pixel at the given line, sample and band. More...
 
virtual QList< QPointF > PixelIfovOffsets ()
 Returns the pixel ifov offsets from center of pixel, which defaults to the (pixel pitch * summing mode ) / 2. More...
 
int Samples () const
 Returns the number of samples in the image. More...
 
int Lines () const
 Returns the number of lines in the image. More...
 
int Bands () const
 Returns the number of bands in the image. More...
 
int ParentLines () const
 Returns the number of lines in the parent alphacube. More...
 
int ParentSamples () const
 Returns the number of samples in the parent alphacube. More...
 
double CelestialNorthClockAngle ()
 Computes the celestial north clock angle at the current line/sample or ra/dec. More...
 
bool RaDecRange (double &minra, double &maxra, double &mindec, double &maxdec)
 Computes the RaDec range. More...
 
double RaDecResolution ()
 Returns the RaDec resolution. More...
 
CameraDistortionMapDistortionMap ()
 Returns a pointer to the CameraDistortionMap object. More...
 
CameraFocalPlaneMapFocalPlaneMap ()
 Returns a pointer to the CameraFocalPlaneMap object. More...
 
QString instrumentId ()
 This method returns the InstrumentId as it appears in the cube. More...
 
QString instrumentNameLong () const
 This method returns the full instrument name. More...
 
QString instrumentNameShort () const
 This method returns the shortened instrument name. More...
 
QString spacecraftNameLong () const
 This method returns the full spacecraft name. More...
 
QString spacecraftNameShort () const
 This method returns the shortened spacecraft name. More...
 
void SetDistortionMap (CameraDistortionMap *map, bool deleteExisting=true)
 Sets the Distortion Map. More...
 
void SetFocalPlaneMap (CameraFocalPlaneMap *map)
 Sets the Focal Plane Map. More...
 
void SetDetectorMap (CameraDetectorMap *map)
 Sets the Detector Map. More...
 
void SetGroundMap (CameraGroundMap *map)
 Sets the Ground Map. More...
 
void SetSkyMap (CameraSkyMap *map)
 Sets the Sky Map. More...
 
double NorthAzimuth ()
 Returns the North Azimuth. More...
 
double SunAzimuth ()
 Returns the Sun Azimuth. More...
 
double SpacecraftAzimuth ()
 Return the Spacecraft Azimuth. More...
 
double OffNadirAngle ()
 Return the off nadir angle in degrees. More...
 
void IgnoreProjection (bool ignore)
 Set whether or not the camera should ignore the Projection. More...
 
void LoadCache ()
 This loads the spice cache big enough for this image. More...
 
std::pair< double, double > StartEndEphemerisTimes ()
 Calculates the start and end ephemeris times. More...
 
int CacheSize (double startTime, double endTime)
 This method calculates the spice cache size. More...
 
void GetGeometricTilingHint (int &startSize, int &endSize)
 This will get the geometric tiling hint; these values are typically used for ProcessRubberSheet::SetTiling(...). More...
 
bool InCube ()
 This returns true if the current Sample() or Line() value is outside of the cube (meaning the point must have been extrapolated). More...
 
virtual int SpkTargetId () const
 Provides target code for instruments SPK NAIF kernel. More...
 
virtual int SpkCenterId () const
 Provides the center of motion body for SPK NAIF kernel. More...
 
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. More...
 
bool SetLookDirection (const double v[3])
 Sets the look direction of the spacecraft. More...
 
bool HasSurfaceIntersection () const
 Returns if the last call to either SetLookDirection or SetUniversalGround had a valid intersection with the target. More...
 
void Coordinate (double p[3]) const
 Returns the x,y,z of the surface intersection in BodyFixed km. More...
 
virtual double UniversalLatitude () const
 Returns the planetocentric latitude, in degrees, at the surface intersection point in the body fixed coordinate system. More...
 
Latitude GetLatitude () const
 Returns a planetocentric latitude object at the surface intersection point in body fixed. More...
 
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. More...
 
Longitude GetLongitude () const
 Returns a positive east, 0-360 domain longitude object at the surface intersection point in the body fixed coordinate system. More...
 
SurfacePoint GetSurfacePoint () const
 Returns the surface point (most efficient accessor). More...
 
Distance LocalRadius () const
 Returns the local radius at the intersection point. More...
 
Distance LocalRadius (Latitude lat, Longitude lon)
 Returns the local radius at the intersection point. More...
 
Distance LocalRadius (double lat, double lon)
 Returns the local radius at the intersection point. More...
 
virtual double PhaseAngle () const
 Returns the phase angle in degrees. More...
 
virtual double EmissionAngle () const
 Returns the emission angle in degrees. More...
 
virtual double IncidenceAngle () const
 Returns the incidence angle in degrees. More...
 
void LookDirection (double v[3]) const
 Returns the look direction in the camera coordinate system. More...
 
std::vector< double > lookDirectionJ2000 () const
 Returns the look direction in the camera coordinate system. More...
 
std::vector< double > lookDirectionBodyFixed () const
 Returns the look direction in the body fixed coordinate system. More...
 
virtual double RightAscension ()
 Returns the right ascension angle (sky longitude). More...
 
virtual double Declination ()
 Returns the declination angle (sky latitude). More...
 
void SpacecraftSurfaceVector (double scSurfaceVector[3]) const
 Sets the vector between the spacecraft and surface point in body-fixed. More...
 
virtual double SlantDistance () const
 Return the distance between the spacecraft and surface point in kmv. More...
 
double LocalSolarTime ()
 Return the local solar time in hours. More...
 
virtual double SolarDistance () const
 Returns the distance between the sun and surface point in AU. More...
 
double SpacecraftAltitude ()
 Returns the distance from the spacecraft to the subspacecraft point in km. More...
 
void IgnoreElevationModel (bool ignore)
 This allows you to ignore the cube elevation model and use the ellipse. More...
 
void instrumentPosition (double p[3]) const
 Returns the spacecraft position in body-fixed frame km units. More...
 
virtual SpicePositioninstrumentPosition () const
 Accessor method for the instrument position. More...
 
virtual void instrumentBodyFixedPosition (double p[3]) const
 Returns the spacecraft position in body-fixed frame km units. More...
 
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. More...
 
virtual SpicePositionsunPosition () const
 Accessor method for the sun position. More...
 
virtual double targetCenterDistance () const
 Calculates and returns the distance from the spacecraft to the target center. More...
 
virtual double sunToBodyDist () const
 
virtual Longitude solarLongitude ()
 Returns the solar longitude. More...
 
virtual void instrumentBodyFixedVelocity (double v[3]) const
 Returns the spacecraft velocity in body-fixed frame km/sec units. More...
 
iTime time () const
 Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions. More...
 
void radii (Distance r[3]) const
 Returns the radii of the body in km. More...
 
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. More...
 
virtual iTime cacheStartTime () const
 Accessor method for the cache start time. More...
 
virtual iTime cacheEndTime () const
 Accessor method for the cache end time. More...
 
virtual void subSpacecraftPoint (double &lat, double &lon)
 Returns the sub-spacecraft latitude/longitude in universal coordinates (0-360 positive east, ocentric) More...
 
virtual void subSolarPoint (double &lat, double &lon)
 Returns the sub-solar latitude/longitude in universal coordinates (0-360 positive east, ocentric) More...
 
virtual Targettarget () const
 Returns a pointer to the target object. More...
 
QString targetName () const
 Returns the QString name of the target. More...
 
virtual iTime getClockTime (QString clockValue, int sclkCode=-1, bool clockTicks=false)
 This converts the spacecraft clock ticks value (clockValue) to an iTime. More...
 
SpiceDouble getDouble (const QString &key, int index=0)
 This returns a value from the NAIF text pool. More...
 
SpiceInt getInteger (const QString &key, int index=0)
 This returns a value from the NAIF text pool. More...
 
QString getString (const QString &key, int index=0)
 This returns a value from the NAIF text pool. More...
 
virtual SpiceRotationbodyRotation () const
 Accessor method for the body rotation. More...
 
virtual SpiceRotationinstrumentRotation () const
 Accessor method for the instrument rotation. More...
 
bool isUsingAle ()
 
bool hasKernels (Pvl &lab)
 Returns true if the kernel group has kernel files. More...
 
bool isTimeSet ()
 Returns true if time has been initialized. More...
 
SpiceInt naifBodyCode () const
 This returns the NAIF body code of the target indicated in the labels. More...
 
SpiceInt naifSpkCode () const
 This returns the NAIF SPK code to use when reading from SPK kernels. More...
 
SpiceInt naifCkCode () const
 This returns the NAIF CK code to use when reading from CK kernels. More...
 
SpiceInt naifIkCode () const
 This returns the NAIF IK code to use when reading from instrument kernels. More...
 
SpiceInt naifSclkCode () const
 This returns the NAIF SCLK code to use when reading from instrument kernels. More...
 
SpiceInt naifBodyFrameCode () const
 This returns the NAIF body frame code. More...
 
PvlObject getStoredNaifKeywords () const
 This returns the PvlObject that stores all of the requested Naif data and can be a replacement for furnishing text kernels. More...
 

Static Public Member Functions

static double GroundAzimuth (double glat, double glon, double slat, double slon)
 Computes and returns the ground azimuth between the ground point and another point of interest, such as the subspacecraft point or the subsolar point. More...
 

Protected Types

enum  SpiceValueType { SpiceDoubleType, SpiceStringType, SpiceIntType, SpiceByteCodeType }
 NAIF value primitive type. More...
 

Protected Member Functions

void SetFocalLength (double v)
 Sets the focal length. More...
 
void SetFocalLength ()
 Reads the focal length from the instrument kernel. More...
 
void SetPixelPitch (double v)
 Sets the pixel pitch. More...
 
void SetPixelPitch ()
 Reads the Pixel Pitch from the instrument kernel. More...
 
void SetGeometricTilingHint (int startSize=128, int endSize=8)
 This method sets the best geometric tiling size for projecting from this camera model. More...
 
QVariant readValue (QString key, SpiceValueType type, int index=0)
 This should be used for reading ALL text naif kernel values. More...
 
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. More...
 

Protected Attributes

QString m_instrumentId
 The InstrumentId as it appears on the cube. More...
 
QString m_instrumentNameLong
 Full instrument name. More...
 
QString m_instrumentNameShort
 Shortened instrument name. More...
 
QString m_spacecraftNameLong
 Full spacecraft name. More...
 
QString m_spacecraftNameShort
 Shortened spacecraft name. More...
 
double p_childSample
 Sample value for child. More...
 
double p_childLine
 Line value for child. More...
 
AlphaCubep_alphaCube
 A pointer to the AlphaCube. More...
 
bool p_pointComputed
 Flag showing if Sample/Line has been computed. More...
 
SpiceDouble m_lookB [3]
 Look direction in body fixed. More...
 
bool m_newLookB
 flag to indicate we need to recompute ra/dec More...
 
SpiceDouble m_uB [3]
 This contains the sun position (u) in the bodyfixed reference frame (B). More...
 
SpiceDouble m_BJ [3][3]
 This contains the transformation matrix from J2000 (J) to Body fixed (B). More...
 
Targetm_target
 Target of the observation. More...
 
iTimem_et
 Ephemeris time (read NAIF documentation for a detailed description) More...
 
Longitudem_solarLongitude
 Body rotation solar longitude value. More...
 

Private Member Functions

void ReadLineRates (QString filename)
 
void GroundRangeResolution ()
 Computes the ground range and min/max resolution. More...
 
void ringRangeResolution ()
 Analogous to above GroundRangeResolution method. More...
 
double ComputeAzimuth (const double lat, const double lon)
 Computes the image azimuth value from your current position (origin) to a point of interest specified by the lat/lon input to this method. More...
 
bool RawFocalPlanetoImage ()
 Computes the image coordinate for the current universal ground point. More...
 
bool SetImageMapProjection (const double sample, const double line, ShapeModel *shape)
 Sets the sample/line values of the image to get the lat/lon values for a Map Projected image. More...
 
bool SetImageSkyMapProjection (const double sample, const double line, ShapeModel *shape)
 Sets the sample/line values of the image to get the lat/lon values for a Skymap Projected image. More...
 
void CommonInitialize (const std::string &demCube)
 
void computeRaDec ()
 Computes the ra/dec from the look direction. More...
 
bool SetGroundLocal (bool backCheck)
 Computes look vector. More...
 
void init (Pvl &pvl, bool noTables, nlohmann::json isd=NULL)
 Initialization of Spice object. More...
 
void csmInit (Cube &cube, Pvl label)
 Initialize the Spice object for a CSMCamera. More...
 
void defaultInit ()
 Default initialize the members of the SPICE object. More...
 
void load (PvlKeyword &key, bool notab)
 Loads/furnishes NAIF kernel(s) More...
 

Private Attributes

std::vector< LineRateChangep_lineRates
 Vector of the variable line rates for this camera model. More...
 
double p_focalLength
 The focal length, in units of millimeters. More...
 
double p_pixelPitch
 The pixel pitch, in millimeters per pixel. More...
 
double p_minlat
 The minimum latitude. More...
 
double p_maxlat
 The maximum latitude. More...
 
double p_minlon
 The minimum longitude. More...
 
double p_maxlon
 The maximum longitude. More...
 
double p_minres
 The minimum resolution. More...
 
double p_maxres
 The maximum resolution. More...
 
double p_minobliqueres
 The minimum oblique resolution. More...
 
double p_maxobliqueres
 The maximum oblique resolution. More...
 
double p_minlon180
 The minimum longitude in the 180 domain. More...
 
double p_maxlon180
 The maximum longitude in the 180 domain. More...
 
bool p_groundRangeComputed
 Flag showing if ground range was computed successfully. More...
 
int p_samples
 The number of samples in the image. More...
 
int p_lines
 The number of lines in the image. More...
 
int p_bands
 The number of bands in the image. More...
 
int p_referenceBand
 The reference band. More...
 
Projectionp_projection
 A pointer to the Projection. More...
 
bool p_ignoreProjection
 Whether or no to ignore the Projection. More...
 
double p_mindec
 The minimum declination. More...
 
double p_maxdec
 The maximum declination. More...
 
double p_minra
 The minimum right ascension. More...
 
double p_maxra
 The maxumum right ascension. More...
 
double p_minra180
 The minimum right ascension in the 180 domain. More...
 
double p_maxra180
 The maximum right ascension in the 180 domain. More...
 
bool p_raDecRangeComputed
 Flag showing if the raDec range has been computed successfully. More...
 
double p_minRingRadius
 The minimum ring radius. More...
 
double p_maxRingRadius
 The maximum ring radius. More...
 
double p_minRingLongitude
 The minimum ring longitude (azimuth) More...
 
double p_maxRingLongitude
 The maximum ring longitude (azimuth) More...
 
double p_minRingLongitude180
 The minimum ring longitude in the 180 domain. More...
 
double p_maxRingLongitude180
 The maximum ring longitude in the 180 domain. More...
 
bool p_ringRangeComputed
 Flag showing if ring range was computed successfully. More...
 
int p_childBand
 Band value for child. More...
 
CameraDistortionMapp_distortionMap
 A pointer to the DistortionMap. More...
 
CameraFocalPlaneMapp_focalPlaneMap
 A pointer to the FocalPlaneMap. More...
 
CameraDetectorMapp_detectorMap
 A pointer to the DetectorMap. More...
 
CameraGroundMapp_groundMap
 A pointer to the GroundMap. More...
 
CameraSkyMapp_skyMap
 A pointer to the SkyMap. More...
 
int p_geometricTilingStartSize
 The ideal geometric tile size to start with when projecting. More...
 
int p_geometricTilingEndSize
 The ideal geometric tile size to end with when projecting. More...
 
SpiceDouble m_ra
 Right ascension (sky longitude) More...
 
SpiceDouble m_dec
 Decliation (sky latitude) More...
 
QVector< QString > * m_kernels
 Vector containing kernels filenames. More...
 
iTimem_startTime
 Corrected start (shutter open) time of the observation. More...
 
iTimem_endTime
 Corrected end (shutter close) time of the observation. More...
 
SpiceDouble * m_cacheSize
 Cache size. Note: This value is 1 for Framing cameras. More...
 
SpiceDouble * m_startTimePadding
 Kernels pvl group StartPadding keyword value. More...
 
SpiceDouble * m_endTimePadding
 Kernels pvl group EndPadding keyword value. More...
 
SpicePositionm_instrumentPosition
 Instrument spice position. More...
 
SpiceRotationm_instrumentRotation
 Instrument spice rotation. More...
 
SpicePositionm_sunPosition
 Sun spice position. More...
 
SpiceRotationm_bodyRotation
 Body spice rotation. More...
 
bool m_allowDownsizing
 Indicates whether to allow downsizing. More...
 
SpiceInt * m_spkCode
 Spacecraft and planet ephemeris kernel (SPK) code. More...
 
SpiceInt * m_ckCode
 Camera kernel (CK) code. More...
 
SpiceInt * m_ikCode
 Instrument kernel (IK) code. More...
 
SpiceInt * m_sclkCode
 Spacecraft clock correlation kernel (SCLK) code. More...
 
SpiceInt * m_spkBodyCode
 Spacecraft and planet ephemeris kernel (SPK) body code. More...
 
SpiceInt * m_bodyFrameCode
 Naif's BODY_FRAME_CODE value. More...
 
PvlObjectm_naifKeywords
 NaifKeywords PvlObject from cube. More...
 
bool m_usingNaif
 Indicates whether we are reading values from the NaifKeywords PvlObject in cube. More...
 
bool m_usingAle
 Indicate whether we are reading values from an ISD returned from ALE. More...
 

Detailed Description

This is the camera model for the Europa Clipper Push Broom Camera.

Definition at line 20 of file ClipperPushBroomCamera.h.

Member Enumeration Documentation

◆ CameraType

enum Isis::Camera::CameraType
inherited

This enum defines the types of cameras supported in this class.

Enumerator
Framing 

Framing Camera.

PushFrame 

Push Frame Camera.

LineScan 

Line Scan Camera.

Radar 

Radar Camera.

Point 

Point Camera.

RollingShutter 

RollingShutter.

Csm 

Community Sensor Model Camera.

Definition at line 357 of file Camera.h.

◆ SpiceValueType

enum Isis::Spice::SpiceValueType
protectedinherited

NAIF value primitive type.

Enumerator
SpiceDoubleType 

SpiceDouble type.

SpiceStringType 

SpiceString type.

SpiceIntType 

SpiceInt type.

SpiceByteCodeType 

SpiceByteCode type.

Definition at line 348 of file Spice.h.

Constructor & Destructor Documentation

◆ ClipperPushBroomCamera()

◆ ~ClipperPushBroomCamera()

Isis::ClipperPushBroomCamera::~ClipperPushBroomCamera ( )

Destructor for a ClipperPushBroomCamera object.

Definition at line 83 of file ClipperPushBroomCamera.cpp.

Member Function Documentation

◆ Band()

int Isis::Camera::Band ( ) const
inherited

Returns the current band.

Returns
int Band

Definition at line 2700 of file Camera.cpp.

References Isis::Camera::p_childBand.

Referenced by Isis::Camera::GroundRangeResolution(), Isis::Camera::RaDecRange(), Isis::Camera::RaDecResolution(), and Isis::Camera::ringRangeResolution().

◆ Bands()

int Isis::Camera::Bands ( ) const
inherited

Returns the number of bands in the image.

Returns
int Number of Bands

Definition at line 2796 of file Camera.cpp.

References Isis::Camera::p_bands.

Referenced by Isis::ProjectionFactory::CreateForCube(), Isis::CameraStatistics::init(), Isis::ProjectionFactory::RingsCreateForCube(), and Isis::Camera::StartEndEphemerisTimes().

◆ BasicMapping()

void Isis::Camera::BasicMapping ( Pvl pvl)
inherited

◆ basicRingMapping()

void Isis::Camera::basicRingMapping ( Pvl pvl)
inherited

◆ bodyRotation()

◆ cacheEndTime()

iTime Isis::Spice::cacheEndTime ( ) const
virtualinherited

Accessor method for the cache end time.

Returns
iTime End time for the image.
Author
Steven Lambright
History:
2011-02-09 Steven Lambright - Original version.

Definition at line 758 of file Spice.cpp.

◆ CacheSize()

int Isis::Camera::CacheSize ( double  startTime,
double  endTime 
)
inherited

This method calculates the spice cache size.

This method finds the number of lines in the beta cube and adds 1, since we need at least 2 points for interpolation. This method must be called before a call to the Spice::createCache() method. It is called in the LoadCache() method.

Parameters
startTimeStarting ephemeris time to cache
endTimeEnding ephemeris time to cache
Returns
int The calculated spice cache size
Exceptions
iException::Programmer- "A cache has already been created."
See also
createCache()
LoadCache()
Author
2011-02-02 Jeannie Walldren
History:
2011-02-02 Jeannie Walldren - Original version.

Definition at line 2527 of file Camera.cpp.

References Isis::AlphaCube::BetaLines(), and Isis::Camera::p_alphaCube.

Referenced by Isis::Camera::LoadCache().

◆ cacheStartTime()

iTime Isis::Spice::cacheStartTime ( ) const
virtualinherited

Accessor method for the cache start time.

Returns
iTime Start time for the image.
Author
Steven Lambright
History:
2011-02-09 Steven Lambright - Original version.

Definition at line 743 of file Spice.cpp.

◆ CelestialNorthClockAngle()

double Isis::Camera::CelestialNorthClockAngle ( )
inherited

Computes the celestial north clock angle at the current line/sample or ra/dec.

The reference vector is a vecor from the current pixel pointed directly "upward". Celetial North is a vector from the current pixel poiting towards celetial north. The Celestial North Clock Angle is the angle between these two vectors on the image.

Returns
double The resultant Celestial North Clock Angle

Definition at line 3037 of file Camera.cpp.

References Isis::Sensor::Declination(), Isis::Camera::Line(), Isis::PI, Isis::Camera::RaDecResolution(), Isis::Sensor::RightAscension(), Isis::Camera::Sample(), Isis::Camera::SetImage(), and Isis::Camera::SetRightAscensionDeclination().

◆ CkFrameId()

int Isis::ClipperPushBroomCamera::CkFrameId ( ) const
virtual

CK frame ID - Instrument Code from spacit run on CK.

Returns
int The appropriate instrument code for the "Camera-matrix" Kernel Frame ID

Implements Isis::Camera.

Definition at line 93 of file ClipperPushBroomCamera.cpp.

◆ CkReferenceId()

int Isis::ClipperPushBroomCamera::CkReferenceId ( ) const
virtual

CK Reference ID - J2000.

Returns
int The appropriate instrument code for the "Camera-matrix" Kernel Reference ID

Implements Isis::Camera.

Definition at line 104 of file ClipperPushBroomCamera.cpp.

◆ ComputeAzimuth()

double Isis::Camera::ComputeAzimuth ( const double  lat,
const double  lon 
)
privateinherited

Computes the image azimuth value from your current position (origin) to a point of interest specified by the lat/lon input to this method.

(NOTE: This azimuth is different from a Ground Azimuth)

All azimuths are measured the same way regardless of the image level (level1 or level2) and the shape model being used.

The azimuth is an angle formed by a reference vector and a point of interest vector. The current position is the vertex of the angle, i.e. the origin of the coordinate system on which this angle will be measured. The azimuth is measured in a positive clockwise direction from the reference vector (i.e. the initial ray of the angle) to the point of interest vector (i.e. the terminal ray of the angle).

The azimuth is measured in a positive clockwise direction because images have lines that increase downward. If lines increased upward, then the azimuth would be measure in a positive counterclockwise direction.

The reference vector is the vector from the origin to the right side of the image. This is usually called the 3 o'clock reference vector because the image can be viewed as a clock face and the origin point as the center of the clock face with the hand of the clock pointing at 3 o'clock.

The point of interest vector is the vector along the surface of the body from the origin to the point of interest. In order to calculate the azimuth, this vector is projected into the reference plane (the plane containing the reference vector that is tangent to the surface). The point of interest vector is also unitzed to 1 km in length and then scaled even further to within a pixel of the azimuth's origin.

The algorithm works by

  1. Getting the body-fixed (x,y,z) of the azimuth's origin point and the body-fixed (x,y,z) of the point of interest. These coordinate also represent vectors from the center of the body-fixed system to the coordinate.
  2. The vector from the origin point to the point of interest is then determined by vector subtraction.
  3. The perpendicular component of this new vector to the origin vector is determined by vector subtraction. This gives a vector that is tangent to the planet surface at the origin point and that is in the direction of the point of interest.
  4. The tangent vector is then unitized so that we may use pixel resolution to scale the point of interest vector to be within a pixel in size. This is done so that when we determine the new sample/line values, the original local radius can be used and the image coordinates are not thrown off by the curvature of the body
  5. A new body-fixed vector from the center of the planet to the head of the tangent vector is determined.
  6. The body-fixed (x,y,z) of the new vector is used to get ground coordinates (lat,lon) of the tail of the adjusted point of interest vector.
  7. The (lat, lon) is used to get a (line,sample) for the tail of the adjusted point of interest vector. So, we now have the line,sample of the origin point and the line,sample of a point in the direction of the point of interest and within a pixel's distance from the origin point.
  8. The arctangent of (newline-originline)/ (newsample-originsample) is used to acquire the azimuth value.

NOTE: All vectors in this method are body-fixed and use the radius of the shape model at the origin point for doing calculations. By using the radius of the shape model at the origin, we avoid problems where the DEM does not completely cover the planet.

Note: This image azimuth algorithm is different from the ground azimuth algorithm used in GroundAzimuth(). For ground azimuths, the initial ray of the angle is the vector from the selected ground point to the north pole. For image azimuths, the initial ray is the vector from the selected image location to the right, horizontally. *

Parameters
latThe Latitude
lonThe Longitude
Returns
double Azimuth value
History:
2009-09-23 Tracie Sucharski - Convert negative longitudes coming out of reclat.
History:
2010-09-28 Janet Barrett - Added Randy's updated method for calculating the azimuth.
History:
2011-02-11 Janet Barrett - Added documentation.
History:
2011_02-11 Janet Barrett - There were some problems with calculating azimuths when a DEM shape model was specified. One problem occurred when the DEM did not cover the poles. The LocalRadius was returning a NULL for the radius value in places that the DEM did not cover (such as the poles). This was fixed by using the radius of the origin point when determining the x,y,z location of the point of interest. The radius is not important because we just need to know the direction of the point of interest from the origin point. Another problem was also found with the call to SetUniversalGround when the new point (new point = point within a pixel of the origin point and in the direction of the point of interest) was being determined. The new point should be at the same radius as the origin point, but this was not happening. The call to SetUniversalGround was changed to use the radius of the origin point when determining the line,sample of the new point. Another problem was that the vector pointing from the origin point to the point of interest was being unitized before its perpendicular component was being calculated. This has been fixed.
History:
2012-06-04 Janet Barrett - Removed redundant calls to Sample(), Line(), and SetImage().
History:
2014-04-17 Jeannie Backer - Modified ComputeAzimuth() to return an Isis::Null if the method fails (instead of -1.0). Add a check in ComputeAzimuth() to make sure the "SetUniversalGround()" call succeeds, if not, reset to the original sample/line and return Null.
Todo:
Write PushState and PopState method to ensure the internals of the class are set based on SetImage or SetGround

Definition at line 2040 of file Camera.cpp.

References Isis::NaifStatus::CheckErrors(), Isis::Sensor::Coordinate(), Isis::Sensor::HasSurfaceIntersection(), Isis::Distance::isValid(), Isis::Distance::kilometers(), Isis::Camera::Line(), Isis::Sensor::LocalRadius(), Isis::Distance::meters(), Isis::Null, Isis::Camera::p_pointComputed, Isis::PI, Isis::Camera::PixelResolution(), Isis::Camera::Sample(), Isis::Camera::SetImage(), and Isis::Camera::SetUniversalGround().

Referenced by Isis::Camera::NorthAzimuth(), Isis::Camera::SpacecraftAzimuth(), and Isis::Camera::SunAzimuth().

◆ computeRaDec()

void Isis::Sensor::computeRaDec ( )
privateinherited

Computes the ra/dec from the look direction.

Protected method which computes the ra/dec of the current look direction.

Definition at line 585 of file Sensor.cpp.

References Isis::Spice::bodyRotation(), Isis::SpiceRotation::J2000Vector(), Isis::Sensor::m_dec, Isis::Sensor::m_lookB, Isis::Sensor::m_newLookB, Isis::Sensor::m_ra, and Isis::PI.

Referenced by Isis::Sensor::Declination(), and Isis::Sensor::RightAscension().

◆ computeSolarLongitude()

void Isis::Spice::computeSolarLongitude ( iTime  et)
protectedvirtualinherited

Computes the solar longitude for the given ephemeris time.

If the target is sky, the longitude is set to -999.0.

Parameters
etEphemeris time

Reimplemented in Isis::CSMCamera.

Definition at line 1400 of file Spice.cpp.

References Isis::iTime::Et(), and Isis::Longitude::force360Domain().

◆ Coordinate()

◆ createCache()

void Isis::Spice::createCache ( iTime  startTime,
iTime  endTime,
const int  size,
double  tol 
)
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().

Parameters
startTimeStarting ephemeris time to cache
endTimeEnding ephemeris time to cache
sizeSize of the cache.
tolTolerance.
Exceptions
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"
History:
2011-04-10 Debbie A. Cook - Updated to only create cache for instrumentPosition if type is Spice.

Definition at line 649 of file Spice.cpp.

References Isis::iTime::Et(), and Isis::FileName::expanded().

Referenced by Isis::CrismCamera::CrismCamera(), Isis::Camera::LoadCache(), and Isis::MiniRF::MiniRF().

◆ csmInit()

void Isis::Spice::csmInit ( Cube cube,
Pvl  label 
)
privateinherited

Initialize the Spice object for a CSMCamera.

This sets up the Spice/Sensor/Camera object to not have any SPICE dependent members initialized.

Parameters
cubeThe Cube containing image data for the camera
labelThe label containing information for the camera

Definition at line 97 of file Spice.cpp.

◆ Declination()

double Isis::Sensor::Declination ( )
virtualinherited

◆ defaultInit()

void Isis::Spice::defaultInit ( )
privateinherited

Default initialize the members of the SPICE object.

Definition at line 107 of file Spice.cpp.

◆ DetectorMap()

LineScanCameraDetectorMap* Isis::LineScanCamera::DetectorMap ( )
inlineinherited

◆ DetectorResolution()

double Isis::Camera::DetectorResolution ( )
virtualinherited

Returns the detector resolution at the current position in meters.

Returns
double The detector resolution

Reimplemented in Isis::CSMCamera.

Definition at line 608 of file Camera.cpp.

References Isis::Sensor::Coordinate(), Isis::Sensor::HasSurfaceIntersection(), Isis::Spice::instrumentPosition(), Isis::Null, Isis::Camera::p_focalLength, and Isis::Camera::p_pixelPitch.

Referenced by Isis::Camera::LineResolution(), Isis::Camera::ObliqueDetectorResolution(), and Isis::Camera::SampleResolution().

◆ DistortionMap()

◆ EmissionAngle()

◆ exposureDuration() [1/2]

double Isis::Camera::exposureDuration ( ) const
virtualinherited

Return the exposure duration for the pixel that the camera is set to.

Returns
double The exposure duration in seconds for the pixel that the camera is set to.

Definition at line 3063 of file Camera.cpp.

References Isis::CameraDetectorMap::exposureDuration(), Isis::Camera::p_childBand, Isis::Camera::p_childLine, Isis::Camera::p_childSample, and Isis::Camera::p_detectorMap.

Referenced by Isis::DawnFcCamera::DawnFcCamera(), Isis::HayabusaAmicaCamera::HayabusaAmicaCamera(), Isis::HayabusaNirsCamera::HayabusaNirsCamera(), Isis::HiresCamera::HiresCamera(), Isis::Hyb2OncCamera::Hyb2OncCamera(), Isis::IdealCamera::IdealCamera(), Isis::IssNACamera::IssNACamera(), Isis::IssWACamera::IssWACamera(), Isis::PixelFOV::latLonVertices(), Isis::LwirCamera::LwirCamera(), Isis::MdisCamera::MdisCamera(), Isis::MexHrscSrcCamera::MexHrscSrcCamera(), Isis::MsiCamera::MsiCamera(), Isis::NewHorizonsLorriCamera::NewHorizonsLorriCamera(), Isis::NirCamera::NirCamera(), Isis::OsirisRexOcamsCamera::OsirisRexOcamsCamera(), 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::SsiCamera::SsiCamera(), Isis::UvvisCamera::UvvisCamera(), Isis::VikingCamera::VikingCamera(), and Isis::VoyagerCamera::VoyagerCamera().

◆ exposureDuration() [2/2]

double Isis::Camera::exposureDuration ( const double  sample,
const double  line,
const int  band = -1 
) const
virtualinherited

Return the exposure duration for the pixel at the given line, sample and band.

Parameters
sampleThe sample of the desired pixel.
lineThe line of the desired pixel.
bandThe band of the desired pixel. Defaults to 1.
Returns
double The exposure duration for the desired pixel in seconds.

Definition at line 3077 of file Camera.cpp.

References Isis::CameraDetectorMap::exposureDuration(), Isis::Camera::p_childBand, and Isis::Camera::p_detectorMap.

◆ FocalLength()

◆ FocalPlaneMap()

◆ GetCameraType()

virtual CameraType Isis::LineScanCamera::GetCameraType ( ) const
inlinevirtualinherited

Returns the LineScan type of camera, as enumerated in the Camera class.

Returns
CameraType LineScan camera type.

Implements Isis::Camera.

Definition at line 45 of file LineScanCamera.h.

References Isis::Camera::LineScan.

◆ getClockTime()

iTime Isis::Spice::getClockTime ( QString  clockValue,
int  sclkCode = -1,
bool  clockTicks = false 
)
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.

Definition at line 1053 of file Spice.cpp.

References 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::MexHrscSrcCamera::MexHrscSrcCamera(), Isis::MocNarrowAngleCamera::MocNarrowAngleCamera(), Isis::MocWideAngleCamera::MocWideAngleCamera(), Isis::NewHorizonsLeisaCamera::NewHorizonsLeisaCamera(), Isis::NewHorizonsLorriCamera::NewHorizonsLorriCamera(), Isis::NewHorizonsMvicFrameCamera::NewHorizonsMvicFrameCamera(), Isis::NewHorizonsMvicTdiCamera::NewHorizonsMvicTdiCamera(), Isis::OsirisRexOcamsCamera::OsirisRexOcamsCamera(), Isis::DawnVirCamera::readHouseKeeping(), Isis::RosettaVirtisCamera::readHouseKeeping(), Isis::RosettaVirtisCamera::readSCET(), Isis::RosettaOsirisCamera::RosettaOsirisCamera(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::ThemisVisCamera::ThemisVisCamera(), Isis::VikingCamera::VikingCamera(), and Isis::VimsCamera::VimsCamera().

◆ getDouble()

SpiceDouble Isis::Spice::getDouble ( const QString &  key,
int  index = 0 
)
inherited

This returns a value from the NAIF text pool.

It is a static convience method

Parameters
keyName of NAIF keyword to obtain from the pool
indexIf the keyword is an array, the element to obtain. Defaults to 0
Returns
SpiceDouble Spice double from NAIF text pool
Exceptions
Isis::iException::Io- "Can not find key in instrument kernels."

Definition at line 1039 of file Spice.cpp.

Referenced by Isis::LroWideAngleCameraDistortionMap::addFilter(), Isis::LroWideAngleCameraFocalPlaneMap::addFilter(), Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::MdisCamera::computeFocalLength(), 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::CameraFocalPlaneMap::Init(), 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().

◆ GetGeometricTilingHint()

void Isis::Camera::GetGeometricTilingHint ( int &  startSize,
int &  endSize 
)
inherited

This will get the geometric tiling hint; these values are typically used for ProcessRubberSheet::SetTiling(...).

Parameters
startSizeTiling start size
endSizeTiling end size

Definition at line 2605 of file Camera.cpp.

References Isis::Camera::p_geometricTilingEndSize, and Isis::Camera::p_geometricTilingStartSize.

◆ getInteger()

SpiceInt Isis::Spice::getInteger ( const QString &  key,
int  index = 0 
)
inherited

This returns a value from the NAIF text pool.

It is a static convience

Parameters
keyName of NAIF keyword to obtain from the pool
indexIf the keyword is an array, the element to obtain. Defaults to 0
Returns
SpiceInt Spice integer from NAIF text pool
Exceptions
Isis::iException::Io- "Can not find key in instrument kernels

Definition at line 1025 of file Spice.cpp.

Referenced by Isis::DawnVirCamera::getPointingTable(), Isis::RosettaVirtisCamera::getPointingTable(), Isis::LroWideAngleCamera::GetVector(), Isis::IssNACamera::IssNACamera(), Isis::IssWACamera::IssWACamera(), and Isis::LroWideAngleCamera::LroWideAngleCamera().

◆ GetLatitude()

Latitude Isis::Sensor::GetLatitude ( ) const
inherited

Returns a planetocentric latitude object at the surface intersection point in body fixed.

Returns
Latidude Universal latitude object.

Definition at line 221 of file Sensor.cpp.

References Isis::SurfacePoint::GetLatitude(), Isis::Target::shape(), Isis::ShapeModel::surfaceIntersection(), and Isis::Spice::target().

Referenced by Isis::StereoTool::calculateElevation(), and Isis::Sensor::UniversalLatitude().

◆ GetLocalNormal()

void Isis::Camera::GetLocalNormal ( double  normal[3])
inherited

◆ GetLongitude()

Longitude Isis::Sensor::GetLongitude ( ) const
inherited

Returns a positive east, 0-360 domain longitude object at the surface intersection point in the body fixed coordinate system.

Returns
Longitude Universal longitude object.

Definition at line 245 of file Sensor.cpp.

References Isis::SurfacePoint::GetLongitude(), Isis::Target::shape(), Isis::ShapeModel::surfaceIntersection(), and Isis::Spice::target().

Referenced by Isis::StereoTool::calculateElevation(), and Isis::Sensor::UniversalLongitude().

◆ getStoredNaifKeywords()

PvlObject Isis::Spice::getStoredNaifKeywords ( ) const
inherited

This returns the PvlObject that stores all of the requested Naif data and can be a replacement for furnishing text kernels.

Definition at line 998 of file Spice.cpp.

◆ getString()

QString Isis::Spice::getString ( const QString &  key,
int  index = 0 
)
inherited

This returns a value from the NAIF text pool.

It is a static convience method

Parameters
keyName of NAIF keyword to obtain from the pool
indexIf the keyword is an array, the element to obtain. Defaults to 0
Returns
QString Value from the NAIF text pool
Exceptions
Isis::IException::Io- "Can not find key in instrument kernels."

Definition at line 1261 of file Spice.cpp.

Referenced by Isis::LightTimeCorrectionState::checkAberrationCorrection(), Isis::LightTimeCorrectionState::checkLightTimeToSurfaceCorrect(), Isis::LightTimeCorrectionState::checkObserverTargetSwap(), Isis::MdisCamera::computeFocalLength(), Isis::MdisCamera::MdisCamera(), and Isis::NewHorizonsLorriCamera::NewHorizonsLorriCamera().

◆ GetSurfacePoint()

◆ GroundAzimuth()

double Isis::Camera::GroundAzimuth ( double  glat,
double  glon,
double  slat,
double  slon 
)
staticinherited

Computes and returns the ground azimuth between the ground point and another point of interest, such as the subspacecraft point or the subsolar point.

The ground azimuth is the clockwise angle on the ground between a line drawn from the ground point to the North pole of the body and a line drawn from the selected point on the surface to some point of interest on the surface (such as the subsolar point or the subspacecraft point).

Note: This is different from the image azimuth algorithm used in ComputeAzimuth(). For ground azimuths, the initial ray of the angle is the vector from the selected ground point to the north pole. For image azimuths, the initial ray is the vector from the selected image location to the right, horizontally.

Parameters
glatThe latitude of the ground point
glonThe longitude of the ground point
slatThe latitude of the subspacecraft or subsolar point
slonThe longitude of the subspacecraft or subsolar point
Returns
double The azimuth in degrees

Definition at line 2237 of file Camera.cpp.

References Isis::PI.

◆ GroundMap()

LineScanCameraGroundMap* Isis::LineScanCamera::GroundMap ( )
inlineinherited

Returns a pointer to the LineScanCameraGroundMap object.

Returns
LineScanCameraGroundMap*

Definition at line 54 of file LineScanCamera.h.

References Isis::Camera::GroundMap().

◆ GroundRange()

bool Isis::Camera::GroundRange ( double &  minlat,
double &  maxlat,
double &  minlon,
double &  maxlon,
Pvl pvl 
)
inherited

Computes the Ground Range.

Parameters
minlatThe minimum latitude
maxlatThe maximum latitude
minlonThe minimum longitude
maxlonThe maximum longitude
pvlThe pvl file used for ground range calculations
Returns
bool Returns true if it crosses the longitude domain boundary and false if it does not

Definition at line 1182 of file Camera.cpp.

References Isis::PvlObject::findGroup(), Isis::Camera::GroundRangeResolution(), Isis::PvlContainer::hasKeyword(), Isis::Distance::Meters, Isis::Camera::p_maxlat, Isis::Camera::p_maxlon, Isis::Camera::p_maxlon180, Isis::Camera::p_minlat, Isis::Camera::p_minlon, Isis::Camera::p_minlon180, Isis::PI, Isis::Spice::radii(), Isis::toDouble(), and Isis::PvlObject::Traverse.

Referenced by Isis::UniversalGroundMap::GroundRange(), and Isis::Camera::IntersectsLongitudeDomain().

◆ GroundRangeResolution()

◆ hasKernels()

bool Isis::Spice::hasKernels ( Pvl lab)
inherited

Returns true if the kernel group has kernel files.

Parameters
labLabel containing Instrument and Kernels groups.
Returns
bool status of kernel files in the kernel group

Definition at line 1526 of file Spice.cpp.

References Isis::PvlObject::findGroup(), Isis::PvlContainer::hasKeyword(), and Isis::PvlKeyword::size().

◆ HasProjection()

bool Isis::Camera::HasProjection ( )
inherited

Checks to see if the camera object has a projection.

Returns
bool Returns true if it has a projection and false if it does not

Definition at line 2638 of file Camera.cpp.

References Isis::Camera::p_projection.

Referenced by Isis::CubeViewport::CubeViewport(), and Isis::ImagePolygon::initCube().

◆ HasReferenceBand()

bool Isis::Camera::HasReferenceBand ( ) const
inherited

Checks to see if the Camera object has a reference band.

Returns
bool Returns true if it has a reference band, and false if it does not

Definition at line 2670 of file Camera.cpp.

References Isis::Camera::p_referenceBand.

Referenced by Isis::ThemisVisCamera::BandEphemerisTimeOffset(), and Isis::ThemisIrCamera::SetBand().

◆ HasSurfaceIntersection()

bool Isis::Sensor::HasSurfaceIntersection ( ) const
inherited

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.

Returns
bool True if the look direction intersects with the target.

Definition at line 186 of file Sensor.cpp.

References Isis::ShapeModel::hasIntersection(), Isis::Target::shape(), and Isis::Spice::target().

Referenced by Isis::CameraStatistics::addStats(), Isis::Camera::ComputeAzimuth(), Isis::Camera::DetectorResolution(), Isis::Chip::Load(), Isis::Camera::ObliqueDetectorResolution(), Isis::VimsGroundMap::SetGround(), and Isis::Camera::SetImageSkyMapProjection().

◆ HighestImageResolution()

double Isis::Camera::HighestImageResolution ( )
inherited

Returns the highest/best resolution in the entire image.

Returns
double The highest/best resolution in the entire image

Definition at line 710 of file Camera.cpp.

References Isis::Camera::GroundRangeResolution(), and Isis::Camera::p_minres.

◆ HighestObliqueImageResolution()

double Isis::Camera::HighestObliqueImageResolution ( )
inherited

Returns the highest/best oblique resolution in the entire image.

Returns
double The highest/best oblique resolution in the entire image

Definition at line 732 of file Camera.cpp.

References Isis::Camera::GroundRangeResolution(), and Isis::Camera::p_maxobliqueres.

◆ IgnoreElevationModel()

void Isis::Sensor::IgnoreElevationModel ( bool  ignore)
inherited

This allows you to ignore the cube elevation model and use the ellipse.

Parameters
ignoreIndicates whether the elevation model is ignored.

Definition at line 60 of file Sensor.cpp.

References Isis::Target::restoreShape(), Isis::Target::setShapeEllipsoid(), and Isis::Spice::target().

Referenced by Isis::StereoTool::calculateElevation(), Isis::ImagePolygon::Create(), and Isis::ImagePolygon::initCube().

◆ IgnoreProjection()

void Isis::Camera::IgnoreProjection ( bool  ignore)
inherited

Set whether or not the camera should ignore the Projection.

Parameters
ignore

Definition at line 2925 of file Camera.cpp.

References Isis::Camera::p_ignoreProjection.

Referenced by Isis::VimsGroundMap::Init(), Isis::VimsSkyMap::Init(), Isis::VimsGroundMap::SetGround(), Isis::VimsSkyMap::SetSky(), and Isis::VimsCamera::VimsCamera().

◆ IncidenceAngle()

double Isis::Sensor::IncidenceAngle ( ) const
virtualinherited

◆ InCube()

bool Isis::Camera::InCube ( )
inherited

This returns true if the current Sample() or Line() value is outside of the cube (meaning the point must have been extrapolated).

Returns
bool Point was extrapolated

Definition at line 2619 of file Camera.cpp.

References Isis::Camera::Line(), Isis::Camera::Lines(), Isis::Camera::Sample(), and Isis::Camera::Samples().

Referenced by Isis::MosaicSceneItem::drawImage(), Isis::InterestOperator::FindCnetRef(), Isis::SmtkMatcher::getLineSample(), Isis::UniversalGroundMap::SetGround(), Isis::UniversalGroundMap::SetUnboundGround(), and Isis::UniversalGroundMap::SetUniversalGround().

◆ init()

void Isis::Spice::init ( Pvl lab,
bool  noTables,
nlohmann::json  isd = NULL 
)
privateinherited

Initialization of Spice object.

Parameters
labPvl labels
noTablesIndicates the use of tables.
Exceptions
Isis::IException::Io- "Can not find NAIF code for NAIF target"
Isis::IException::Camera- "No camera pointing available"
Isis::IException::Camera- "No instrument position available"
History:
2011-02-08 Jeannie Walldren - Initialize pointers to null.

Definition at line 154 of file Spice.cpp.

References Isis::LightTimeCorrectionState::checkSpkKernelsForAberrationCorrection(), Isis::PvlContainer::fileName(), Isis::PvlObject::findGroup(), Isis::PvlObject::findObject(), Isis::PvlObject::hasKeyword(), Isis::PvlContainer::hasKeyword(), Isis::PvlObject::hasObject(), Isis::Table::Label(), Isis::toDouble(), Isis::toInt(), and Isis::toString().

◆ instrumentBodyFixedPosition()

void Isis::Spice::instrumentBodyFixedPosition ( double  p[3]) const
virtualinherited

Returns the spacecraft position in body-fixed frame km units.

Parameters
p[]Spacecraft position
See also
setTime()
Exceptions
Isis::iException::Programmer- "You must call SetTime first"

Reimplemented in Isis::CSMCamera.

Definition at line 835 of file Spice.cpp.

Referenced by Isis::Camera::LocalPhotometricAngles().

◆ instrumentBodyFixedVelocity()

void Isis::Spice::instrumentBodyFixedVelocity ( double  v[3]) const
virtualinherited

Returns the spacecraft velocity in body-fixed frame km/sec units.

Parameters
v[]Spacecraft velocity

Definition at line 853 of file Spice.cpp.

◆ instrumentId()

QString Isis::Camera::instrumentId ( )
inherited

This method returns the InstrumentId as it appears in the cube.

Returns
QString Returns m_instrumentId

Definition at line 2876 of file Camera.cpp.

References Isis::Camera::m_instrumentId.

Referenced by Isis::GuiCamera::GuiCamera(), and Isis::RosettaVirtisCamera::RosettaVirtisCamera().

◆ instrumentNameLong()

QString Isis::Camera::instrumentNameLong ( ) const
virtualinherited

This method returns the full instrument name.

Returns
QString

Implements Isis::Sensor.

Reimplemented in Isis::IdealCamera.

Definition at line 2886 of file Camera.cpp.

References Isis::Camera::m_instrumentNameLong.

Referenced by Isis::GuiCamera::GuiCamera().

◆ instrumentNameShort()

QString Isis::Camera::instrumentNameShort ( ) const
virtualinherited

This method returns the shortened instrument name.

Returns
QString

Implements Isis::Sensor.

Reimplemented in Isis::IdealCamera.

Definition at line 2896 of file Camera.cpp.

References Isis::Camera::m_instrumentNameShort.

Referenced by Isis::GuiCamera::GuiCamera().

◆ instrumentPosition() [1/2]

◆ instrumentPosition() [2/2]

void Isis::Spice::instrumentPosition ( double  p[3]) const
inherited

Returns the spacecraft position in body-fixed frame km units.

Parameters
p[]Spacecraft position
See also
setTime()
Exceptions
Isis::iException::Programmer- "You must call SetTime first"

Definition at line 822 of file Spice.cpp.

Referenced by Isis::RadarGroundMap::GetdXYdPosition(), Isis::RadarGroundMap::GetXY(), Isis::RadarGroundMap::SetFocalPlane(), Isis::RadarGroundMap::SetGround(), and Isis::AdvancedTrackTool::updateRow().

◆ instrumentRotation()

◆ IntersectsLongitudeDomain()

bool Isis::Camera::IntersectsLongitudeDomain ( Pvl pvl)
inherited

Checks whether the ground range intersects the longitude domain or not.

Parameters
pvlThe pvl file used to set the ground range
Returns
bool Returns true if the range intersects the longitude domain, and false if it does not

Definition at line 1165 of file Camera.cpp.

References Isis::Camera::GroundRange().

◆ IsBandIndependent()

bool Isis::Camera::IsBandIndependent ( )
virtualinherited

◆ isTimeSet()

bool Isis::Spice::isTimeSet ( )
inherited

Returns true if time has been initialized.

Author
2016-10-19 Kristin Berry
Returns
bool true if time has been set

Definition at line 1577 of file Spice.cpp.

Referenced by Isis::CameraDetectorMap::SetParent(), and Isis::RollingShutterCameraDetectorMap::SetParent().

◆ Line()

◆ LineResolution()

double Isis::Camera::LineResolution ( )
virtualinherited

Returns the line resolution at the current position in meters.

Returns
double The line resolution

Reimplemented in Isis::CSMCamera.

Definition at line 649 of file Camera.cpp.

References Isis::Camera::DetectorResolution(), Isis::CameraDetectorMap::LineScaleFactor(), and Isis::Camera::p_detectorMap.

Referenced by Isis::CameraStatistics::addStats(), and Isis::Camera::PixelResolution().

◆ Lines()

◆ load()

void Isis::Spice::load ( PvlKeyword key,
bool  noTables 
)
privateinherited

Loads/furnishes NAIF kernel(s)

Parameters
keyPvlKeyword
noTablesIndicates the use of tables.
Exceptions
Isis::IException::Io- "Spice file does not exist."

Definition at line 486 of file Spice.cpp.

References Isis::FileName::expanded(), Isis::FileName::fileExists(), and Isis::PvlKeyword::size().

◆ LoadCache()

void Isis::Camera::LoadCache ( )
inherited

This loads the spice cache big enough for this image.

The default cache size is the number of lines in the cube if the ephemeris time changes in the image, one otherwise.

History:
2011-02-08 Jeannie Walldren - Removed unused input parameter. Moved calculations of cache size and start/end ephemeris times to their own methods.

Definition at line 2420 of file Camera.cpp.

References Isis::AlphaCube::BetaLines(), Isis::AlphaCube::BetaSamples(), Isis::Camera::CacheSize(), Isis::Spice::createCache(), Isis::Camera::FocalLength(), Isis::Camera::p_alphaCube, Isis::Camera::p_ignoreProjection, Isis::Camera::PixelPitch(), Isis::Camera::PixelResolution(), Isis::Camera::SetBand(), Isis::Camera::SetImage(), Isis::Sensor::setTime(), Isis::Sensor::SpacecraftAltitude(), Isis::Camera::StartEndEphemerisTimes(), and Isis::Spice::target().

Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), 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::IdealCamera::IdealCamera(), 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::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::SsiCamera::SsiCamera(), Isis::TgoCassisCamera::TgoCassisCamera(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::ThemisVisCamera::ThemisVisCamera(), Isis::UvvisCamera::UvvisCamera(), Isis::VikingCamera::VikingCamera(), Isis::VimsCamera::VimsCamera(), and Isis::VoyagerCamera::VoyagerCamera().

◆ LocalPhotometricAngles()

void Isis::Camera::LocalPhotometricAngles ( Angle phase,
Angle incidence,
Angle emission,
bool &  success 
)
inherited

Calculates LOCAL photometric angles using the DEM (not ellipsoid).

These calculations are more expensive computationally than Sensor's angle getter methods. Furthermore, this cost is mostly in calculating the local normal vector, which can be done only once for all angles using this method.

Parameters
phaseThe local phase angle to be calculated
incidenceThe local incidence angle to be calculated
emissionThe local emission angle to be calculated
successA boolean to keep track of whether normal is valid

Definition at line 1642 of file Camera.cpp.

References Isis::Camera::GetLocalNormal(), Isis::Sensor::GetSurfacePoint(), Isis::Spice::instrumentBodyFixedPosition(), Isis::Displacement::kilometers(), Isis::Spice::m_uB, Isis::Null, and Isis::Angle::Radians.

Referenced by Isis::AdvancedTrackTool::updateRow().

◆ LocalRadius() [1/3]

◆ LocalRadius() [2/3]

Distance Isis::Sensor::LocalRadius ( double  lat,
double  lon 
)
inherited

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.

Parameters
lat
lon
Returns
Distance The distance from the center of the planet to this lat,lon in meters.

Definition at line 301 of file Sensor.cpp.

References Isis::Angle::Degrees, Isis::Target::shape(), and Isis::Spice::target().

◆ LocalRadius() [3/3]

Distance Isis::Sensor::LocalRadius ( Latitude  lat,
Longitude  lon 
)
inherited

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.

Parameters
lat
lon
Returns
Distance The distance from the center of the planet to this lat,lon in meters.

Definition at line 285 of file Sensor.cpp.

References Isis::Target::shape(), and Isis::Spice::target().

◆ LocalSolarTime()

double Isis::Sensor::LocalSolarTime ( )
inherited

Return the local solar time in hours.

Returns
double Local solar time, in hours.

Definition at line 660 of file Sensor.cpp.

References Isis::Spice::subSolarPoint(), and Isis::Sensor::UniversalLongitude().

Referenced by Isis::CameraStatistics::addStats(), and Isis::AdvancedTrackTool::updateRow().

◆ LookDirection()

void Isis::Sensor::LookDirection ( double  v[3]) const
inherited

Returns the look direction in the camera coordinate system.

Parameters
v[]The look vector.

Definition at line 523 of file Sensor.cpp.

References Isis::Spice::instrumentRotation(), Isis::Sensor::lookDirectionJ2000(), and Isis::SpiceRotation::ReferenceVector().

Referenced by Isis::PixelFOV::instantaneousFov().

◆ lookDirectionBodyFixed()

vector< double > Isis::Sensor::lookDirectionBodyFixed ( ) const
inherited

Returns the look direction in the body fixed coordinate system.

Returns
vector<double> Look direction in body fixed coordinate system.

Definition at line 535 of file Sensor.cpp.

References Isis::Sensor::m_lookB.

Referenced by Isis::Sensor::lookDirectionJ2000(), and Isis::Sensor::SetGroundLocal().

◆ lookDirectionJ2000()

vector< double > Isis::Sensor::lookDirectionJ2000 ( ) const
inherited

Returns the look direction in the camera coordinate system.

Returns
vector<double> Look direction in J2000 cooridinate system.

Definition at line 549 of file Sensor.cpp.

References Isis::Spice::bodyRotation(), Isis::SpiceRotation::J2000Vector(), and Isis::Sensor::lookDirectionBodyFixed().

Referenced by Isis::Sensor::LookDirection().

◆ LowestImageResolution()

double Isis::Camera::LowestImageResolution ( )
inherited

Returns the lowest/worst resolution in the entire image.

Returns
double The lowest/worst resolution in the image

Definition at line 699 of file Camera.cpp.

References Isis::Camera::GroundRangeResolution(), and Isis::Camera::p_maxres.

◆ LowestObliqueImageResolution()

double Isis::Camera::LowestObliqueImageResolution ( )
inherited

Returns the lowest/worst oblique resolution in the entire image.

Returns
double The lowest/worst oblique resolution in the image

Definition at line 721 of file Camera.cpp.

References Isis::Camera::GroundRangeResolution(), and Isis::Camera::p_minobliqueres.

◆ naifBodyCode()

SpiceInt Isis::Spice::naifBodyCode ( ) const
inherited

This returns the NAIF body code of the target indicated in the labels.

Returns
SpiceInt NAIF body code

Definition at line 941 of file Spice.cpp.

Referenced by Isis::Camera::SpkCenterId().

◆ naifBodyFrameCode()

SpiceInt Isis::Spice::naifBodyFrameCode ( ) const
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.

Returns
SpiceInt NAIF body frame code

Definition at line 989 of file Spice.cpp.

◆ naifCkCode()

SpiceInt Isis::Spice::naifCkCode ( ) const
inherited

This returns the NAIF CK code to use when reading from CK kernels.

Returns
SpiceInt NAIF CK code

Definition at line 959 of file Spice.cpp.

◆ naifIkCode()

SpiceInt Isis::Spice::naifIkCode ( ) const
inherited

This returns the NAIF IK code to use when reading from instrument kernels.

Returns
SpiceInt NAIF IK code

Definition at line 968 of file Spice.cpp.

Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), 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().

◆ naifSclkCode()

SpiceInt Isis::Spice::naifSclkCode ( ) const
inherited

This returns the NAIF SCLK code to use when reading from instrument kernels.

Returns
SpiceInt NAIF SCLK code

Definition at line 978 of file Spice.cpp.

Referenced by Isis::CrismCamera::CrismCamera().

◆ naifSpkCode()

SpiceInt Isis::Spice::naifSpkCode ( ) const
inherited

This returns the NAIF SPK code to use when reading from SPK kernels.

Returns
SpiceInt NAIF SPK code

Definition at line 950 of file Spice.cpp.

Referenced by Isis::DawnVirCamera::readHouseKeeping(), Isis::RosettaVirtisCamera::readHouseKeeping(), Isis::RosettaVirtisCamera::readSCET(), and Isis::Camera::SpkTargetId().

◆ NorthAzimuth()

double Isis::Camera::NorthAzimuth ( )
inherited

Returns the North Azimuth.

Returns
double North Azimuth

Definition at line 1893 of file Camera.cpp.

References Isis::Camera::ComputeAzimuth(), Isis::IException::Programmer, Isis::Spice::target(), and Isis::Sensor::UniversalLatitude().

Referenced by Isis::CameraStatistics::addStats(), and Isis::AdvancedTrackTool::updateRow().

◆ ObliqueDetectorResolution()

double Isis::Camera::ObliqueDetectorResolution ( )
virtualinherited

This method returns the Oblique Detector Resolution if the Look Vector intersects the target and if the emission angle is greater than or equal to 0, and less than 90 degrees.

Otherwise, it returns -1.0. This formula provides an improved estimate to the detector resolution for images near the limb:

\[ \text{Oblique\;\;Detector\;\; Resolution} = \frac{n}{cos(\theta)} \]

The equation is derived two separate ways. A geometric argument is presented in Reference 2, while a matrix algebra based argument is presented in Theorem 2.1 of Reference 1.

Reference 1: J-M Morel and G. Yu, "Asift: A new framework for fully affine invariant image comparison," SIAM Journal on Imaging Sciences 2(2), pp. 438-469, 2009

Reference 2: Handwritten notes by Orrin Thomas which can be found in the Glossary under the entry for Oblique Detector Resolution.

Returns
double

Reimplemented in Isis::CSMCamera.

Definition at line 582 of file Camera.cpp.

References Isis::DEG2RAD, Isis::Camera::DetectorResolution(), Isis::Sensor::EmissionAngle(), Isis::HALFPI, Isis::Sensor::HasSurfaceIntersection(), and Isis::Null.

Referenced by Isis::Camera::ObliqueLineResolution(), and Isis::Camera::ObliqueSampleResolution().

◆ ObliqueLineResolution()

double Isis::Camera::ObliqueLineResolution ( )
virtualinherited

Returns the oblique line resolution at the current position in meters.

This provides a more accurate estimate of the line resolution at oblique angles.

Returns
double The line resolution

Reimplemented in Isis::CSMCamera.

Definition at line 661 of file Camera.cpp.

References Isis::CameraDetectorMap::LineScaleFactor(), Isis::Camera::ObliqueDetectorResolution(), and Isis::Camera::p_detectorMap.

Referenced by Isis::CameraStatistics::addStats(), and Isis::Camera::ObliquePixelResolution().

◆ ObliquePixelResolution()

double Isis::Camera::ObliquePixelResolution ( )
virtualinherited

Returns the oblique pixel resolution at the current position in meters/pixel.

This provides a more accurate estimate of the pixel resolution at oblique angles.

Returns
double The pixel resolution

Definition at line 685 of file Camera.cpp.

References Isis::Null, Isis::Camera::ObliqueLineResolution(), and Isis::Camera::ObliqueSampleResolution().

Referenced by Isis::CameraStatistics::addStats(), Isis::Camera::GroundRangeResolution(), and Isis::AdvancedTrackTool::updateRow().

◆ ObliqueSampleResolution()

double Isis::Camera::ObliqueSampleResolution ( )
virtualinherited

Returns the oblique sample resolution at the current position in m.

This gives a more accurate estimate of the sample resolution at oblique angles.

Returns
double The sample resolution

Reimplemented in Isis::CSMCamera.

Definition at line 639 of file Camera.cpp.

References Isis::Camera::ObliqueDetectorResolution(), Isis::Camera::p_detectorMap, and Isis::CameraDetectorMap::SampleScaleFactor().

Referenced by Isis::CameraStatistics::addStats(), and Isis::Camera::ObliquePixelResolution().

◆ OffNadirAngle()

double Isis::Camera::OffNadirAngle ( )
inherited

Return the off nadir angle in degrees.

Returns
double Off Nadir Angle

Definition at line 2195 of file Camera.cpp.

References Isis::NaifStatus::CheckErrors(), Isis::Sensor::Coordinate(), Isis::Sensor::EmissionAngle(), Isis::Spice::instrumentPosition(), and Isis::PI.

◆ ParentLines()

◆ ParentSamples()

int Isis::Camera::ParentSamples ( ) const
inherited

◆ PhaseAngle()

double Isis::Sensor::PhaseAngle ( ) const
virtualinherited

Returns the phase angle in degrees.

This does not use the surface model.

Returns
double Phase angle, in degrees.

Reimplemented in Isis::CSMCamera.

Definition at line 312 of file Sensor.cpp.

References Isis::Spice::bodyRotation(), Isis::Sensor::Coordinate(), Isis::Spice::instrumentPosition(), Isis::Spice::m_uB, Isis::ShapeModel::phaseAngle(), Isis::Target::shape(), and Isis::Spice::target().

Referenced by Isis::CameraStatistics::addStats(), and Isis::AdvancedTrackTool::updateRow().

◆ PixelIfovOffsets()

QList< QPointF > Isis::Camera::PixelIfovOffsets ( )
virtualinherited

Returns the pixel ifov offsets from center of pixel, which defaults to the (pixel pitch * summing mode ) / 2.

If an instrument has a non-square ifov, it must implement this method to return the offsets from the center of the pixel.

Returns
QList<QPointF> A list of offsets

Reimplemented from Isis::Sensor.

Reimplemented in Isis::HayabusaNirsCamera, Isis::VimsCamera, and Isis::CSMCamera.

Definition at line 2755 of file Camera.cpp.

References Isis::Camera::DetectorMap(), and Isis::Camera::PixelPitch().

Referenced by Isis::PixelFOV::instantaneousFov().

◆ PixelPitch()

◆ PixelResolution()

◆ RaDecRange()

bool Isis::Camera::RaDecRange ( double &  minra,
double &  maxra,
double &  mindec,
double &  maxdec 
)
inherited

Computes the RaDec range.

Parameters
minraMinimum right ascension value
maxraMaximum right ascension value
mindecMinimum declination value
maxdecMaximum declination value
Returns
bool Returns true if the range computation was successful and false if it was not

Definition at line 1707 of file Camera.cpp.

References Isis::Camera::Band(), Isis::Sensor::Declination(), Isis::Camera::IsBandIndependent(), Isis::Camera::Line(), Isis::Camera::p_bands, Isis::Camera::p_lines, Isis::Camera::p_maxdec, Isis::Camera::p_maxra, Isis::Camera::p_maxra180, Isis::Camera::p_mindec, Isis::Camera::p_minra, Isis::Camera::p_minra180, Isis::Camera::p_pointComputed, Isis::Camera::p_raDecRangeComputed, Isis::Camera::p_samples, Isis::Sensor::RightAscension(), Isis::Camera::Sample(), Isis::Camera::SetBand(), Isis::Camera::SetImage(), and Isis::Camera::SetRightAscensionDeclination().

◆ RaDecResolution()

double Isis::Camera::RaDecResolution ( )
inherited

◆ radii()

void Isis::Spice::radii ( Distance  r[3]) const
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.

Parameters
r[]Radii of the target in kilometers

Definition at line 930 of file Spice.cpp.

Referenced by Isis::Camera::BasicMapping(), Isis::Camera::GroundRange(), Isis::VimsGroundMap::Init(), Isis::MiniRF::MiniRF(), Isis::ControlPointEditWidget::openReferenceRadius(), Isis::QnetTool::openReferenceRadius(), Isis::SunShadowTool::recalculateShadowHeight(), Isis::RadarGroundMap::SetFocalPlane(), Isis::CSMCamera::setTarget(), and Isis::AdvancedTrackTool::updateRow().

◆ RawFocalPlanetoImage()

bool Isis::Camera::RawFocalPlanetoImage ( )
privateinherited

Computes the image coordinate for the current universal ground point.

Returns
bool Returns true if image coordinate was computed successfully and false if it was not

Definition at line 455 of file Camera.cpp.

References Isis::AlphaCube::BetaLine(), Isis::AlphaCube::BetaSample(), Isis::ShapeModel::clearSurfacePoint(), Isis::Sensor::Declination(), Isis::CameraFocalPlaneMap::DetectorLine(), Isis::CameraFocalPlaneMap::DetectorSample(), Isis::CameraDistortionMap::FocalPlaneX(), Isis::CameraGroundMap::FocalPlaneX(), Isis::CameraDistortionMap::FocalPlaneY(), Isis::CameraGroundMap::FocalPlaneY(), Isis::Projection::IsSky(), Isis::Sensor::LocalRadius(), Isis::Camera::p_alphaCube, Isis::Camera::p_childLine, Isis::Camera::p_childSample, Isis::Camera::p_detectorMap, Isis::Camera::p_distortionMap, Isis::Camera::p_focalPlaneMap, Isis::Camera::p_groundMap, Isis::Camera::p_ignoreProjection, Isis::Camera::p_pointComputed, Isis::Camera::p_projection, Isis::CameraDetectorMap::ParentLine(), Isis::CameraDetectorMap::ParentSample(), Isis::Projection::projectionType(), Isis::Sensor::RightAscension(), Isis::CameraDetectorMap::SetDetector(), Isis::CameraFocalPlaneMap::SetFocalPlane(), Isis::ShapeModel::setHasIntersection(), Isis::CameraDistortionMap::SetUndistortedFocalPlane(), Isis::Projection::SetUniversalGround(), Isis::Target::shape(), Isis::Spice::target(), Isis::Projection::Triaxial, Isis::Sensor::UniversalLatitude(), Isis::Sensor::UniversalLongitude(), Isis::Projection::WorldX(), and Isis::Projection::WorldY().

Referenced by Isis::Camera::SetGround(), and Isis::Camera::SetUniversalGround().

◆ ReadLineRates()

void Isis::ClipperPushBroomCamera::ReadLineRates ( QString  filename)
private
Parameters
filename

Definition at line 122 of file ClipperPushBroomCamera.cpp.

References p_lineRates, Isis::Table::Records(), and Isis::IException::Unknown.

Referenced by ClipperPushBroomCamera().

◆ readValue()

QVariant Isis::Spice::readValue ( QString  key,
SpiceValueType  type,
int  index = 0 
)
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.

Parameters
keyThe naif keyword,value name
typeThe naif value's primitive type
indexThe index into the naif keyword array to read

Definition at line 1093 of file Spice.cpp.

Referenced by Isis::IdealCamera::IdealCamera().

◆ ReferenceBand()

int Isis::Camera::ReferenceBand ( ) const
inherited

Returns the reference band.

Returns
int Reference Band

Definition at line 2659 of file Camera.cpp.

References Isis::Camera::p_referenceBand.

Referenced by Isis::ThemisVisCamera::BandEphemerisTimeOffset(), and Isis::ThemisIrCamera::SetBand().

◆ resolution()

double Isis::Camera::resolution ( )
virtualinherited

Returns the resolution of the camera.

Returns
double pixel resolution

Reimplemented from Isis::Sensor.

Definition at line 2720 of file Camera.cpp.

References Isis::Camera::PixelResolution().

◆ RightAscension()

double Isis::Sensor::RightAscension ( )
virtualinherited

Returns the right ascension angle (sky longitude).

Returns
double The angle of right ascension, in degrees.

Reimplemented in Isis::CSMCamera.

Definition at line 561 of file Sensor.cpp.

References Isis::Sensor::computeRaDec(), Isis::Sensor::m_newLookB, and Isis::Sensor::m_ra.

Referenced by Isis::Camera::CelestialNorthClockAngle(), Isis::VimsSkyMap::Init(), Isis::Camera::RaDecRange(), Isis::Camera::RaDecResolution(), Isis::Camera::RawFocalPlanetoImage(), and Isis::AdvancedTrackTool::updateRow().

◆ ringRange()

bool Isis::Camera::ringRange ( double &  minRingRadius,
double &  maxRingRadius,
double &  minRingLongitude,
double &  maxRingLongitude,
Pvl pvl 
)
inherited

Analogous to the above Ground Range method.

Computes Range on the ring plane

Parameters
minRingRadiusThe minimum ring radius
maxRingRadiusThe maximum ring radius
minRingLongitudeThe minimum ring longitude
maxRingLongitudeThe maximum ring longitude
pvlThe pvl file used for ring range calculations
Returns
bool Returns true if it crosses the longitude domain boundary and false if it does not

Definition at line 1286 of file Camera.cpp.

References Isis::PvlObject::findGroup(), Isis::PvlContainer::hasKeyword(), Isis::Camera::p_maxRingLongitude, Isis::Camera::p_maxRingLongitude180, Isis::Camera::p_maxRingRadius, Isis::Camera::p_minRingLongitude, Isis::Camera::p_minRingLongitude180, Isis::Camera::p_minRingRadius, Isis::Camera::ringRangeResolution(), and Isis::PvlObject::Traverse.

◆ ringRangeResolution()

◆ Sample()

◆ SampleResolution()

double Isis::Camera::SampleResolution ( )
virtualinherited

Returns the sample resolution at the current position in meters.

Returns
double The sample resolution

Reimplemented in Isis::CSMCamera.

Definition at line 629 of file Camera.cpp.

References Isis::Camera::DetectorResolution(), Isis::Camera::p_detectorMap, and Isis::CameraDetectorMap::SampleScaleFactor().

Referenced by Isis::CameraStatistics::addStats(), and Isis::Camera::PixelResolution().

◆ Samples()

◆ SetBand()

◆ SetDetectorMap()

void Isis::Camera::SetDetectorMap ( CameraDetectorMap map)
inherited

Sets the Detector Map.

This object will take ownership of the detector map pointer.

Parameters
*mapPointer to a CameraDetectorMap object

Definition at line 2372 of file Camera.cpp.

References Isis::Camera::p_detectorMap.

Referenced by Isis::CameraDetectorMap::CameraDetectorMap().

◆ SetDistortionMap()

void Isis::Camera::SetDistortionMap ( CameraDistortionMap map,
bool  deleteExisting = true 
)
inherited

Sets the Distortion Map.

This object will take ownership of the distortion map pointer.

Parameters
*mapPointer to a CameraDistortionMap object

Definition at line 2342 of file Camera.cpp.

References Isis::Camera::p_distortionMap.

Referenced by Isis::CameraDistortionMap::CameraDistortionMap(), and Isis::TgoCassisCamera::TgoCassisCamera().

◆ SetFocalLength() [1/2]

void Isis::Camera::SetFocalLength ( )
protectedinherited

Reads the focal length from the instrument kernel.

Definition at line 1411 of file Camera.cpp.

References Isis::Spice::getDouble(), Isis::Spice::naifIkCode(), and Isis::toString().

Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), 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::IdealCamera::IdealCamera(), 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::LroWideAngleCamera::SetBand(), 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().

◆ SetFocalLength() [2/2]

void Isis::Camera::SetFocalLength ( double  v)
protectedinherited

Sets the focal length.

Parameters
vFocal Length

Definition at line 3014 of file Camera.cpp.

References Isis::Camera::p_focalLength.

Referenced by Isis::RadarSlantRangeMap::SetFocalPlane(), and Isis::RadarGroundMap::SetGround().

◆ SetFocalPlaneMap()

void Isis::Camera::SetFocalPlaneMap ( CameraFocalPlaneMap map)
inherited

Sets the Focal Plane Map.

This object will take ownership of the focal plane map pointer.

Parameters
*mapPointer to a CameraFocalPlaneMap object

Definition at line 2357 of file Camera.cpp.

References Isis::Camera::p_focalPlaneMap.

Referenced by Isis::CameraFocalPlaneMap::CameraFocalPlaneMap(), and Isis::CameraFocalPlaneMap::Init().

◆ SetGeometricTilingHint()

void Isis::Camera::SetGeometricTilingHint ( int  startSize = 128,
int  endSize = 8 
)
protectedinherited

This method sets the best geometric tiling size for projecting from this camera model.

This is used by cam2map/ProcessRubberSheet. When cubes are projected, an attempt is made to use linear equations to take large, square chunks of data at a time to cull the amount of SetUniversalGround(...) calls necessary to project a cube. If the chunk of data fails to be linear, then it will be split up into 4 corners and each of the new chunks (corners) are reconsidered up until endSize is reached - the endsize size will be considered, it is inclusive. The startSize must be a power of 2 greater than 2, and the endSize must be a power of 2 equal to or less than the start size but greater than 2. If both the startSize and endSize are set to 2 then no geometric tiling will be enabled.

Parameters
startSizeThe tile size to start with; default 128
endSizeThe tile size to give up at; default 8

Definition at line 2554 of file Camera.cpp.

References Isis::Camera::p_geometricTilingEndSize, Isis::Camera::p_geometricTilingStartSize, and Isis::IException::Programmer.

Referenced by Isis::Camera::Camera(), Isis::LroWideAngleCamera::LroWideAngleCamera(), and Isis::MarciCamera::MarciCamera().

◆ SetGround() [1/3]

bool Isis::Camera::SetGround ( const SurfacePoint surfacePt)
virtualinherited

Sets the lat/lon/radius values to get the sample/line values.

Parameters
surfacePtThe point used for calculation
Returns
bool Returns true if the Universal Ground was set successfully and false if it was not

Reimplemented in Isis::CSMCamera.

Definition at line 431 of file Camera.cpp.

References Isis::ShapeModel::clearSurfacePoint(), Isis::Camera::p_groundMap, Isis::Camera::RawFocalPlanetoImage(), Isis::CameraGroundMap::SetGround(), Isis::Target::shape(), and Isis::Spice::target().

◆ SetGround() [2/3]

bool Isis::Sensor::SetGround ( const SurfacePoint surfacePt,
bool  backCheck = true 
)
inherited

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.

Parameters
backCheckIf 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.
Returns
bool
History:
2017-03-23 Kris Becker - Added support for occlusion test

Definition at line 443 of file Sensor.cpp.

References Isis::Spice::bodyRotation(), Isis::ShapeModel::clearSurfacePoint(), Isis::Sensor::Coordinate(), Isis::Spice::instrumentPosition(), Isis::Sensor::SetGroundLocal(), Isis::Target::shape(), and Isis::Spice::target().

◆ SetGround() [3/3]

bool Isis::Camera::SetGround ( Latitude  latitude,
Longitude  longitude 
)
virtualinherited

◆ SetGroundLocal()

bool Isis::Sensor::SetGroundLocal ( bool  backCheck)
privateinherited

Computes look vector.

This method handles the common functions for the overloaded SetUniversalGround methods.

Instead of computing a point on the target, a point is set (lat,lon,radius) and the look direction is computed.

Parameters
backCheckIf 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.
Returns
bool True if the look direction intersects the target.
History:
2017-03-23 Kris Becker - Added formal occlusion callback

Definition at line 475 of file Sensor.cpp.

References Isis::Spice::bodyRotation(), Isis::ShapeModel::clearSurfacePoint(), Isis::Sensor::Coordinate(), Isis::ShapeModel::hasIntersection(), Isis::Spice::instrumentPosition(), Isis::ShapeModel::isVisibleFrom(), Isis::Displacement::kilometers(), Isis::Sensor::lookDirectionBodyFixed(), Isis::Sensor::m_lookB, Isis::Sensor::m_newLookB, Isis::SpiceRotation::ReferenceVector(), Isis::ShapeModel::setHasIntersection(), Isis::Target::shape(), Isis::ShapeModel::surfaceIntersection(), and Isis::Spice::target().

Referenced by Isis::Sensor::SetGround(), and Isis::Sensor::SetUniversalGround().

◆ SetGroundMap()

void Isis::Camera::SetGroundMap ( CameraGroundMap map)
inherited

Sets the Ground Map.

This object will take ownership of the ground map pointer.

Parameters
*mapPointer to a CameraGroundMap object

Definition at line 2387 of file Camera.cpp.

References Isis::Camera::p_groundMap.

Referenced by Isis::CameraGroundMap::CameraGroundMap().

◆ SetImage() [1/2]

bool Isis::Camera::SetImage ( const double  sample,
const double  line 
)
virtualinherited

Sets the sample/line values of the image to get the lat/lon values.

Parameters
sampleSample coordinate of the cube.
lineLine coordinate of the cube.
Returns
bool Returns True if the image was set successfully and False if it was not.

Reimplemented in Isis::CSMCamera.

Definition at line 154 of file Camera.cpp.

References Isis::AlphaCube::AlphaLine(), Isis::AlphaCube::AlphaSample(), Isis::ShapeModel::clearSurfacePoint(), Isis::CameraDetectorMap::DetectorLine(), Isis::CameraDetectorMap::DetectorSample(), Isis::CameraFocalPlaneMap::FocalPlaneX(), Isis::CameraFocalPlaneMap::FocalPlaneY(), Isis::Projection::IsSky(), Isis::Camera::p_alphaCube, Isis::Camera::p_childLine, Isis::Camera::p_childSample, Isis::Camera::p_detectorMap, Isis::Camera::p_distortionMap, Isis::Camera::p_focalPlaneMap, Isis::Camera::p_groundMap, Isis::Camera::p_ignoreProjection, Isis::Camera::p_pointComputed, Isis::Camera::p_projection, Isis::CameraFocalPlaneMap::SetDetector(), Isis::CameraGroundMap::SetFocalPlane(), Isis::CameraDistortionMap::SetFocalPlane(), Isis::Camera::SetImageMapProjection(), Isis::Camera::SetImageSkyMapProjection(), Isis::CameraDetectorMap::SetParent(), Isis::Target::shape(), Isis::Spice::target(), Isis::CameraDistortionMap::UndistortedFocalPlaneX(), Isis::CameraDistortionMap::UndistortedFocalPlaneY(), and Isis::CameraDistortionMap::UndistortedFocalPlaneZ().

Referenced by Isis::QnetTool::addMeasure(), Isis::CameraStatistics::addStats(), Isis::StereoTool::calculateElevation(), Isis::Camera::CelestialNorthClockAngle(), Isis::ControlPoint::ComputeApriori(), Isis::Camera::ComputeAzimuth(), Isis::BundleAdjust::computePartials(), Isis::ControlPoint::ComputeResiduals(), Isis::ControlPoint::ComputeResiduals_Millimeters(), Isis::ProjectionFactory::CreateForCube(), Isis::ControlPointEditWidget::createTemporaryGroundMeasure(), Isis::ControlNetFilter::CubeDistanceFilter(), Isis::QnetSetAprioriDialog::fillAverageAprioriLineEdits(), Isis::QnetSetAprioriDialog::fillReferenceAprioriLineEdits(), Isis::QnetCubeDistanceFilter::filter(), Isis::QnetPointDistanceFilter::filter(), Isis::InterestOperator::FindCnetRef(), Isis::QnetTool::findPointLocation(), Isis::SmtkMatcher::getLatLon(), Isis::Camera::GetLocalNormal(), Isis::Camera::GroundRangeResolution(), Isis::VimsGroundMap::Init(), Isis::VimsSkyMap::Init(), Isis::InterestOperator::InterestByMeasure(), Isis::Cube::latLonRange(), Isis::PixelFOV::latLonVertices(), Isis::Chip::Load(), Isis::Camera::LoadCache(), Isis::ControlNetValidMeasure::MetersFromEdge(), Isis::SunShadowTool::mouseButtonPress(), Isis::ControlNetFilter::PointDistanceFilter(), Isis::ControlNetFilter::PointLatLonFilter(), Isis::Camera::RaDecRange(), Isis::Camera::RaDecResolution(), Isis::SunShadowTool::recalculateShadowHeight(), Isis::Camera::ringRangeResolution(), Isis::ProjectionFactory::RingsCreateForCube(), Isis::VimsGroundMap::SetGround(), Isis::UniversalGroundMap::SetImage(), Isis::ControlPointEditWidget::setShapesForPoint(), Isis::VimsSkyMap::SetSky(), Isis::Camera::StartEndEphemerisTimes(), Isis::MeasureTool::updateDist(), Isis::TrackTool::updateLabels(), Isis::AdvancedTrackTool::updateRow(), and Isis::VimsCamera::VimsCamera().

◆ SetImage() [2/2]

bool Isis::Camera::SetImage ( const double  sample,
const double  line,
const double  deltaT 
)
virtualinherited

Sets the sample/line values of the image to get the lat/lon values with a time offset of deltaT.

Warning: The deltaT parameter was added specifically for pixel2map to use for the Dawn VIR camera. It is used to adjust the pointing to its location at specific times like the times at the beginning, middle, and end of exposure for a specific pixel, when the correct deltaT can be determined to achieve these results.

Do not use this verstion of SetImage with a deltaT unless you understand exactly what this does.

Parameters
sampleSample coordinate of the cube.
lineLine coordinate of the cube.
deltaTseconds from the center exposure time
Returns
bool Returns True if the image was set successfully and False if it was not.

Definition at line 228 of file Camera.cpp.

References Isis::AlphaCube::AlphaLine(), Isis::AlphaCube::AlphaSample(), Isis::ShapeModel::clearSurfacePoint(), Isis::CameraDetectorMap::DetectorLine(), Isis::CameraDetectorMap::DetectorSample(), Isis::CameraFocalPlaneMap::FocalPlaneX(), Isis::CameraFocalPlaneMap::FocalPlaneY(), Isis::Projection::IsSky(), Isis::Camera::p_alphaCube, Isis::Camera::p_childLine, Isis::Camera::p_childSample, Isis::Camera::p_detectorMap, Isis::Camera::p_distortionMap, Isis::Camera::p_focalPlaneMap, Isis::Camera::p_groundMap, Isis::Camera::p_ignoreProjection, Isis::Camera::p_pointComputed, Isis::Camera::p_projection, Isis::CameraFocalPlaneMap::SetDetector(), Isis::CameraGroundMap::SetFocalPlane(), Isis::CameraDistortionMap::SetFocalPlane(), Isis::Camera::SetImageMapProjection(), Isis::Camera::SetImageSkyMapProjection(), Isis::CameraDetectorMap::SetParent(), Isis::Target::shape(), Isis::Spice::target(), Isis::CameraDistortionMap::UndistortedFocalPlaneX(), Isis::CameraDistortionMap::UndistortedFocalPlaneY(), and Isis::CameraDistortionMap::UndistortedFocalPlaneZ().

◆ SetImageMapProjection()

bool Isis::Camera::SetImageMapProjection ( const double  sample,
const double  line,
ShapeModel shape 
)
privateinherited

Sets the sample/line values of the image to get the lat/lon values for a Map Projected image.

Parameters
sampleSample coordinate of the cube
lineLine coordinate of the cube
shapeshape of the target
Returns
bool Returns True if the image was set successfully and False if it was not.

Definition at line 294 of file Camera.cpp.

References Isis::ShapeModel::clearSurfacePoint(), Isis::Angle::Degrees, Isis::Distance::isValid(), Isis::Sensor::LocalRadius(), Isis::Distance::Meters, Isis::ShapeModel::name(), Isis::Camera::p_childLine, Isis::Camera::p_childSample, Isis::Camera::p_projection, Isis::Camera::SetGround(), Isis::ShapeModel::setHasIntersection(), Isis::Projection::SetWorld(), Isis::TProjection::UniversalLatitude(), Isis::TProjection::UniversalLongitude(), Isis::RingPlaneProjection::UniversalRingLongitude(), and Isis::RingPlaneProjection::UniversalRingRadius().

Referenced by Isis::Camera::SetImage().

◆ SetImageSkyMapProjection()

bool Isis::Camera::SetImageSkyMapProjection ( const double  sample,
const double  line,
ShapeModel shape 
)
privateinherited

Sets the sample/line values of the image to get the lat/lon values for a Skymap Projected image.

Parameters
sampleSample coordinate of the cube
lineLine coordinate of the cube
shapeshape of the target
Returns
bool Returns True if the image was set successfully and False if it was not.

Definition at line 355 of file Camera.cpp.

References Isis::ShapeModel::clearSurfacePoint(), Isis::Sensor::HasSurfaceIntersection(), Isis::TProjection::Longitude(), Isis::Camera::p_childLine, Isis::Camera::p_childSample, Isis::Camera::p_projection, Isis::Camera::SetRightAscensionDeclination(), Isis::Projection::SetWorld(), and Isis::TProjection::UniversalLatitude().

Referenced by Isis::Camera::SetImage().

◆ SetLookDirection()

bool Isis::Sensor::SetLookDirection ( const double  v[3])
inherited

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.

Parameters
v[]A look vector in camera coordinates. For example, (0,0,1) is usually the look direction out of the boresight of a camera.
Returns
bool Indicates whether the given look direction intersects the target.
History:
2009-09-23 Tracie Sucharski - Convert negative longitudes returned my reclat.
History:
2010-09-15 Janet Barrett - Modified this method to use a new algorithm for finding the intersection of a ray with the DEM. This was required to take care of problems that were encountered at the poles of global DEM files. The algorithm that is being used was taken from "Intersection between spacecraft viewing vectors and digital elevation models" by N.A. Teanby. This algorithm only works on Equatorial Cylindrical projections. Other projections still use the previous algorithm.
History:
2010-10-26 Janet Barrett - The tolerance value of 1E-5 was too small and was causing a divide by zero error when the current and last intersections were virtually the same. The tolerance was changed to 3E-8 * a (where a is the equatorial radius of the planet we are dealing with).
History:
2011-01-24 Janet Barrett - Got rid of extra loop that wasn't needed for the new ray tracing algorithm.
History:
2011-08-16 Jeff Anderson - Fixed a problem with an infinite loop in the ray tracing algorithm. The problem was first exposed when trying to intersect the Vesta DEM on the limb.

Definition at line 141 of file Sensor.cpp.

References Isis::Spice::bodyRotation(), Isis::Sensor::Coordinate(), Isis::Spice::instrumentPosition(), Isis::Spice::instrumentRotation(), Isis::SpiceRotation::J2000Vector(), Isis::Sensor::m_lookB, Isis::Sensor::m_newLookB, Isis::SpiceRotation::ReferenceVector(), Isis::ShapeModel::setHasIntersection(), Isis::Target::shape(), and Isis::Spice::target().

Referenced by Isis::PixelFOV::instantaneousFov(), Isis::CameraSkyMap::SetFocalPlane(), Isis::VimsGroundMap::SetFocalPlane(), Isis::VimsSkyMap::SetFocalPlane(), and Isis::Sensor::SetRightAscensionDeclination().

◆ SetPixelPitch() [1/2]

void Isis::Camera::SetPixelPitch ( )
protectedinherited

Reads the Pixel Pitch from the instrument kernel.

Definition at line 1418 of file Camera.cpp.

References Isis::Spice::getDouble(), Isis::Spice::naifIkCode(), and Isis::toString().

Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), 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::IdealCamera::IdealCamera(), 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::SsiCamera::SsiCamera(), Isis::TgoCassisCamera::TgoCassisCamera(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::ThemisVisCamera::ThemisVisCamera(), Isis::UvvisCamera::UvvisCamera(), Isis::VikingCamera::VikingCamera(), Isis::VimsCamera::VimsCamera(), and Isis::VoyagerCamera::VoyagerCamera().

◆ SetPixelPitch() [2/2]

void Isis::Camera::SetPixelPitch ( double  v)
protectedinherited

Sets the pixel pitch.

Parameters
vPixel Pitch

Definition at line 3023 of file Camera.cpp.

References Isis::Camera::p_pixelPitch.

◆ SetRightAscensionDeclination()

bool Isis::Camera::SetRightAscensionDeclination ( const double  ra,
const double  dec 
)
inherited

◆ SetSkyMap()

void Isis::Camera::SetSkyMap ( CameraSkyMap map)
inherited

Sets the Sky Map.

This object will take ownership of the sky map pointer.

Parameters
*mapPointer to a CameraSkyMap object

Definition at line 2401 of file Camera.cpp.

References Isis::Camera::p_skyMap.

Referenced by Isis::CameraSkyMap::CameraSkyMap().

◆ setTime()

void Isis::Sensor::setTime ( const iTime time)
virtualinherited

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.)

Parameters
timeEphemeris time.

Reimplemented from Isis::Spice.

Definition at line 97 of file Sensor.cpp.

References Isis::ShapeModel::clearSurfacePoint(), Isis::Spice::setTime(), Isis::Target::shape(), Isis::Spice::target(), and Isis::Spice::time().

Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), 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::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().

◆ SetUniversalGround() [1/4]

bool Isis::Camera::SetUniversalGround ( const double  latitude,
const double  longitude 
)
virtualinherited

◆ SetUniversalGround() [2/4]

bool Isis::Sensor::SetUniversalGround ( const double  latitude,
const double  longitude,
bool  backCheck = true 
)
inherited

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.

Parameters
latitudePlanetocentric latitude.
longitudePositive east longitude.
backCheckIf 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.
Returns
bool True if the look direction intersects the target.
History:
2017-03-23 Kris Becker - Added support for occlusion tests

Definition at line 359 of file Sensor.cpp.

References Isis::Spice::bodyRotation(), Isis::ShapeModel::clearSurfacePoint(), Isis::Sensor::Coordinate(), Isis::Angle::Degrees, Isis::Spice::instrumentPosition(), Isis::Sensor::SetGroundLocal(), Isis::Target::shape(), and Isis::Spice::target().

◆ SetUniversalGround() [3/4]

bool Isis::Camera::SetUniversalGround ( const double  latitude,
const double  longitude,
const double  radius 
)
virtualinherited

Sets the lat/lon/radius values to get the sample/line values.

Parameters
latitudeLatitude coordinate of the cube
longitudeLongitude coordinate of the cube
radiusRadius coordinate of the cube
Returns
bool Returns True if the Universal Ground was set successfully and False if it was not

Reimplemented in Isis::CSMCamera.

Definition at line 542 of file Camera.cpp.

References Isis::ShapeModel::clearSurfacePoint(), Isis::Angle::Degrees, Isis::Distance::Meters, Isis::Camera::p_groundMap, Isis::Camera::RawFocalPlanetoImage(), Isis::CameraGroundMap::SetGround(), Isis::Target::shape(), and Isis::Spice::target().

◆ SetUniversalGround() [4/4]

bool Isis::Sensor::SetUniversalGround ( const double  latitude,
const double  longitude,
const double  radius,
bool  backCheck = true 
)
inherited

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.

Parameters
latitudePlanetocentric latitude in degrees.
longitudePositive east longitude in degrees.
radiusRadius in meters.
backCheckIf 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.
Returns
bool True if the look direction intersects the target.
History:
2017-03-23 Kris Becker - Added support for occlusion test

Definition at line 401 of file Sensor.cpp.

References Isis::Spice::bodyRotation(), Isis::ShapeModel::clearSurfacePoint(), Isis::Sensor::Coordinate(), Isis::Angle::Degrees, Isis::Spice::instrumentPosition(), Isis::Distance::Meters, Isis::Sensor::SetGroundLocal(), Isis::Target::shape(), and Isis::Spice::target().

◆ SkyMap()

LineScanCameraSkyMap* Isis::LineScanCamera::SkyMap ( )
inlineinherited

Returns a pointer to the LineScanCameraSkyMap object.

Returns
LineScanCameraSkyMap*

Definition at line 63 of file LineScanCamera.h.

References Isis::Camera::SkyMap().

◆ SlantDistance()

double Isis::Sensor::SlantDistance ( ) const
virtualinherited

◆ SolarDistance()

double Isis::Sensor::SolarDistance ( ) const
virtualinherited

Returns the distance between the sun and surface point in AU.

Returns
double Solar distance.

Reimplemented in Isis::CSMCamera.

Definition at line 677 of file Sensor.cpp.

References Isis::Displacement::kilometers(), Isis::Target::shape(), Isis::Spice::sunPosition(), Isis::ShapeModel::surfaceIntersection(), and Isis::Spice::target().

◆ solarLongitude()

Longitude Isis::Spice::solarLongitude ( )
virtualinherited

Returns the solar longitude.

Returns
double The Solar Longitude

Definition at line 1509 of file Spice.cpp.

Referenced by Isis::AdvancedTrackTool::updateRow().

◆ SpacecraftAltitude()

double Isis::Sensor::SpacecraftAltitude ( )
inherited

Returns the distance from the spacecraft to the subspacecraft point in km.

It uses the ellipsoid, not the shape model.

Returns
double Spacecraft altitude.

Definition at line 701 of file Sensor.cpp.

References Isis::Spice::instrumentPosition(), Isis::Distance::kilometers(), Isis::Sensor::LocalRadius(), Isis::PI, and Isis::Spice::subSpacecraftPoint().

Referenced by Isis::CrismCamera::CrismCamera(), Isis::Camera::LoadCache(), and Isis::MiniRF::MiniRF().

◆ SpacecraftAzimuth()

double Isis::Camera::SpacecraftAzimuth ( )
inherited

Return the Spacecraft Azimuth.

Returns
double Spacecraft Azimuth
Todo:
Get appropriate radius at the subscraft point

Definition at line 1934 of file Camera.cpp.

References Isis::Camera::ComputeAzimuth(), and Isis::Spice::subSpacecraftPoint().

Referenced by Isis::AdvancedTrackTool::updateRow().

◆ spacecraftNameLong()

QString Isis::Camera::spacecraftNameLong ( ) const
virtualinherited

This method returns the full spacecraft name.

Returns
QString

Implements Isis::Sensor.

Reimplemented in Isis::IdealCamera.

Definition at line 2906 of file Camera.cpp.

References Isis::Camera::m_spacecraftNameLong.

Referenced by Isis::GuiCamera::GuiCamera().

◆ spacecraftNameShort()

QString Isis::Camera::spacecraftNameShort ( ) const
virtualinherited

This method returns the shortened spacecraft name.

Returns
QString

Implements Isis::Sensor.

Reimplemented in Isis::IdealCamera.

Definition at line 2916 of file Camera.cpp.

References Isis::Camera::m_spacecraftNameShort.

Referenced by Isis::GuiCamera::GuiCamera().

◆ SpacecraftSurfaceVector()

void Isis::Sensor::SpacecraftSurfaceVector ( double  scSurfaceVector[3]) const
inherited

Sets the vector between the spacecraft and surface point in body-fixed.

Parameters
scSurfaceVectorThe direction vector from the observer to the surface intersection.
Author
2011-12-20 Tracie Sucharski

Definition at line 625 of file Sensor.cpp.

References Isis::Sensor::m_lookB.

◆ SpkCenterId()

int Isis::Camera::SpkCenterId ( ) const
virtualinherited

Provides the center of motion body for SPK NAIF kernel.

This virtual method may need to be implemented in each camera model providing the NAIF integer code for the center of motion of the object identified by the SpkTargetId() code. This is typically the targeted body for a particular image observation, but may be unique depending upon the design of the SPK mission kernels.

This value can be easily determined by using the NAIF spacit application that sumarizes binary kernels on the SPK kernel used for a particular instrument on a spacecraft. spacit will additionally require a leap seconds kernel (LSK). For example, the output of the MESSENGER SPK camera supporting the MDIS camera below indicates it is Venus.

Segment ID : msgr_20050903_20061125_recon002.nio
Target Body : Body -236, MESSENGER
Center Body : Body 2, VENUS BARYCENTER
Reference frame: Frame 1, J2000
SPK Data Type : Type 1
Description : Modified Difference Array
UTC Start Time : 2006 OCT 16 19:25:41.111
UTC Stop Time : 2006 OCT 31 22:14:24.040
ET Start Time : 2006 OCT 16 19:26:46.293
ET Stop time : 2006 OCT 31 22:15:29.222

The SpkCenterId value is found in the "Center Body" entry (2). The center of motion is most likely the targeted body for the image and this is provided by the naifBodyCode() method (in the Spice class). If this is not consistently the case for a particular mission, then camera models will need to reimplement this method.

Returns
int NAIF code for SPK center of motion body for an instrument

Reimplemented in Isis::VimsCamera, Isis::IssWACamera, Isis::IssNACamera, Isis::IdealCamera, and Isis::CSMCamera.

Definition at line 3005 of file Camera.cpp.

References Isis::Spice::naifBodyCode().

◆ SpkReferenceId()

int Isis::ClipperPushBroomCamera::SpkReferenceId ( ) const
virtual

SPK Reference ID - J2000.

Returns
int The appropriate instrument code for the Spacecraft Kernel Reference ID

Implements Isis::Camera.

Definition at line 115 of file ClipperPushBroomCamera.cpp.

◆ SpkTargetId()

int Isis::Camera::SpkTargetId ( ) const
virtualinherited

Provides target code for instruments SPK NAIF kernel.

This virtual method may need to be implemented in each camera model providing the target NAIF ID code found in the mission SPK kernel. This is typically the spacecraft ID code.

This value can be easily determined by using the NAIF spacit application that sumarizes binary kernels on the SPK kernel used for a particular instrument on a spacecraft. spacit will additionally require a leap seconds kernel (LSK). For example, the output of the MESSENGER SPK camera supporting the MDIS camera below indicates it is indeed the MESSENGER spacecraft:

Segment ID : msgr_20050903_20061125_recon002.nio
Target Body : Body -236, MESSENGER
Center Body : Body 2, VENUS BARYCENTER
Reference frame: Frame 1, J2000
SPK Data Type : Type 1
Description : Modified Difference Array
UTC Start Time : 2006 OCT 16 19:25:41.111
UTC Stop Time : 2006 OCT 31 22:14:24.040
ET Start Time : 2006 OCT 16 19:26:46.293
ET Stop time : 2006 OCT 31 22:15:29.222

The SpkTargetId value is found in the "Target Body" entry (-236).

For most cases, this is the NAIF SPK code returned by the naifSpkCode() method (in the Spice class). Some instrument camera models may need to override this method if this is not case.

Returns
int NAIF code for the SPK target for an instrument

Reimplemented in Isis::VoyagerCamera, Isis::VikingCamera, Isis::TgoCassisCamera, Isis::MdisCamera, Isis::MiniRF, Isis::JunoCamera, Isis::IdealCamera, and Isis::ApolloMetricCamera.

Definition at line 2963 of file Camera.cpp.

References Isis::Spice::naifSpkCode().

◆ StartEndEphemerisTimes()

pair< double, double > Isis::Camera::StartEndEphemerisTimes ( )
inherited

Calculates the start and end ephemeris times.

These times are found by looping through the bands and finding the ephemeris times for the upper left and bottom right pixels in the image. The start time (shutter open time) is the minimum value of those ephemeris times. The end time (shutter close time) is the maximum value of those ephemeris times. This method must be called before a call to the Spice::createCache() method. It is called in the LoadCache() method.

Returns
pair<double, double> A pair containing the start and end ephemeris times
Exceptions
iException::Programmer- "Unable to find time range for the spice kernels."
See also
createCache()
LoadCache()
Author
2011-02-02 Jeannie Walldren
History:
2011-02-02 Jeannie Walldren - Original version.

Definition at line 2479 of file Camera.cpp.

References Isis::Camera::Bands(), Isis::AlphaCube::BetaLines(), Isis::AlphaCube::BetaSamples(), Isis::iTime::Et(), Isis::Camera::p_alphaCube, Isis::IException::Programmer, Isis::Camera::SetBand(), Isis::Camera::SetImage(), and Isis::Spice::time().

Referenced by Isis::Camera::LoadCache().

◆ subSolarPoint()

void Isis::Spice::subSolarPoint ( double &  lat,
double &  lon 
)
virtualinherited

Returns the sub-solar latitude/longitude in universal coordinates (0-360 positive east, ocentric)

Parameters
latSub-solar latitude
lonSub-solar longitude
See also
setTime()
Exceptions
Isis::IException::Programmer- "You must call SetTime first."

Reimplemented in Isis::CSMCamera.

Definition at line 1329 of file Spice.cpp.

References Isis::PI.

Referenced by Isis::Sensor::LocalSolarTime(), and Isis::Camera::SunAzimuth().

◆ subSpacecraftPoint()

void Isis::Spice::subSpacecraftPoint ( double &  lat,
double &  lon 
)
virtualinherited

Returns the sub-spacecraft latitude/longitude in universal coordinates (0-360 positive east, ocentric)

Parameters
latSub-spacecraft latitude
lonSub-spacecraft longitude
See also
setTime()
Exceptions
Isis::IException::Programmer- "You must call SetTime first."

Reimplemented in Isis::CSMCamera.

Definition at line 1278 of file Spice.cpp.

References Isis::PI.

Referenced by Isis::Camera::GroundRangeResolution(), Isis::Sensor::SpacecraftAltitude(), and Isis::Camera::SpacecraftAzimuth().

◆ SunAzimuth()

double Isis::Camera::SunAzimuth ( )
inherited

Returns the Sun Azimuth.

Returns
double Sun Azimuth
Todo:
Get appropriate radius at the subsolar point

Definition at line 1920 of file Camera.cpp.

References Isis::Camera::ComputeAzimuth(), and Isis::Spice::subSolarPoint().

Referenced by Isis::SunShadowTool::mouseButtonPress(), and Isis::AdvancedTrackTool::updateRow().

◆ sunPosition() [1/2]

SpicePosition * Isis::Spice::sunPosition ( ) const
virtualinherited

Accessor method for the sun position.

Returns
iTime Sun position for the image.
Author
Steven Lambright
History:
2011-02-09 Steven Lambright - Original version.

Reimplemented in Isis::CSMCamera.

Definition at line 1589 of file Spice.cpp.

Referenced by Isis::Sensor::SolarDistance().

◆ sunPosition() [2/2]

void Isis::Spice::sunPosition ( double  p[3]) const
virtualinherited

Fills the input vector with sun position information, in either body-fixed or J2000 reference frame and km units.

Parameters
p[]Sun position
See also
setTime()

Reimplemented in Isis::CSMCamera.

Definition at line 902 of file Spice.cpp.

Referenced by Isis::SunShadowTool::recalculateShadowHeight().

◆ target()

Target * Isis::Spice::target ( ) const
virtualinherited

◆ targetCenterDistance()

double Isis::Spice::targetCenterDistance ( ) const
virtualinherited

Calculates and returns the distance from the spacecraft to the target center.

Returns
double Distance to the center of the target from the spacecraft

Reimplemented in Isis::CSMCamera.

Definition at line 918 of file Spice.cpp.

◆ targetName()

QString Isis::Spice::targetName ( ) const
inherited

Returns the QString name of the target.

Returns
QString

Definition at line 1378 of file Spice.cpp.

References Isis::Target::name().

◆ time()

iTime Isis::Spice::time ( ) const
inherited

Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.

Returns
iTime the currently set ephemeris time
Exceptions
IException::Programmer"Unable to retrieve the time Spice::setTime must be called first."

Definition at line 884 of file Spice.cpp.

Referenced by Isis::RadarSlantRangeMap::ComputeA(), Isis::HiresCamera::HiresCamera(), Isis::KaguyaTcCamera::KaguyaTcCamera(), Isis::LoHighCamera::LoHighCamera(), Isis::LoMediumCamera::LoMediumCamera(), Isis::LwirCamera::LwirCamera(), Isis::NewHorizonsMvicFrameCamera::SetBand(), Isis::LineScanCameraDetectorMap::SetDetector(), Isis::RadarPulseMap::SetDetector(), Isis::VariableLineScanCameraDetectorMap::SetDetector(), Isis::RadarSlantRangeMap::SetFocalPlane(), Isis::CameraDetectorMap::SetParent(), Isis::RollingShutterCameraDetectorMap::SetParent(), Isis::Sensor::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(), Isis::AdvancedTrackTool::updateRow(), and Isis::UvvisCamera::UvvisCamera().

◆ UniversalLatitude()

◆ UniversalLongitude()

Member Data Documentation

◆ m_allowDownsizing

bool Isis::Spice::m_allowDownsizing
privateinherited

Indicates whether to allow downsizing.

Definition at line 411 of file Spice.h.

◆ m_BJ

SpiceDouble Isis::Spice::m_BJ[3][3]
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.

Definition at line 374 of file Spice.h.

◆ m_bodyFrameCode

SpiceInt* Isis::Spice::m_bodyFrameCode
privateinherited

Naif's BODY_FRAME_CODE value.

It is read from the labels, if it exists. Otherwise, it's calculated by the init() method.

Definition at line 423 of file Spice.h.

◆ m_bodyRotation

SpiceRotation* Isis::Spice::m_bodyRotation
privateinherited

Body spice rotation.

Definition at line 409 of file Spice.h.

◆ m_cacheSize

SpiceDouble* Isis::Spice::m_cacheSize
privateinherited

Cache size. Note: This value is 1 for Framing cameras.

Definition at line 401 of file Spice.h.

◆ m_ckCode

SpiceInt* Isis::Spice::m_ckCode
privateinherited

Camera kernel (CK) code.

Definition at line 419 of file Spice.h.

◆ m_dec

SpiceDouble Isis::Sensor::m_dec
privateinherited

Decliation (sky latitude)

Definition at line 250 of file Sensor.h.

Referenced by Isis::Sensor::computeRaDec(), and Isis::Sensor::Declination().

◆ m_endTime

iTime* Isis::Spice::m_endTime
privateinherited

Corrected end (shutter close) time of the observation.

Definition at line 400 of file Spice.h.

◆ m_endTimePadding

SpiceDouble* Isis::Spice::m_endTimePadding
privateinherited

Kernels pvl group EndPadding keyword value.

Definition at line 404 of file Spice.h.

◆ m_et

iTime* Isis::Spice::m_et
protectedinherited

Ephemeris time (read NAIF documentation for a detailed description)

Definition at line 382 of file Spice.h.

Referenced by Isis::CSMCamera::SetGround(), and Isis::CSMCamera::SetImage().

◆ m_ikCode

SpiceInt* Isis::Spice::m_ikCode
privateinherited

Instrument kernel (IK) code.

Definition at line 420 of file Spice.h.

◆ m_instrumentId

QString Isis::Camera::m_instrumentId
protectedinherited

The InstrumentId as it appears on the cube.

Definition at line 494 of file Camera.h.

Referenced by Isis::Camera::Camera(), and Isis::Camera::instrumentId().

◆ m_instrumentNameLong

QString Isis::Camera::m_instrumentNameLong
protectedinherited

Full instrument name.

Definition at line 496 of file Camera.h.

Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Camera::Camera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), 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::CSMCamera::init(), Isis::Camera::instrumentNameLong(), 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::SsiCamera::SsiCamera(), Isis::TgoCassisCamera::TgoCassisCamera(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::ThemisVisCamera::ThemisVisCamera(), Isis::UvvisCamera::UvvisCamera(), Isis::VikingCamera::VikingCamera(), Isis::VimsCamera::VimsCamera(), and Isis::VoyagerCamera::VoyagerCamera().

◆ m_instrumentNameShort

QString Isis::Camera::m_instrumentNameShort
protectedinherited

Shortened instrument name.

Definition at line 497 of file Camera.h.

Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Camera::Camera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), 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::CSMCamera::init(), Isis::Camera::instrumentNameShort(), 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::SsiCamera::SsiCamera(), Isis::TgoCassisCamera::TgoCassisCamera(), Isis::ThemisIrCamera::ThemisIrCamera(), Isis::ThemisVisCamera::ThemisVisCamera(), Isis::UvvisCamera::UvvisCamera(), Isis::VikingCamera::VikingCamera(), Isis::VimsCamera::VimsCamera(), and Isis::VoyagerCamera::VoyagerCamera().

◆ m_instrumentPosition

SpicePosition* Isis::Spice::m_instrumentPosition
privateinherited

Instrument spice position.

Definition at line 406 of file Spice.h.

◆ m_instrumentRotation

SpiceRotation* Isis::Spice::m_instrumentRotation
privateinherited

Instrument spice rotation.

Definition at line 407 of file Spice.h.

◆ m_kernels

QVector<QString>* Isis::Spice::m_kernels
privateinherited

Vector containing kernels filenames.

Definition at line 396 of file Spice.h.

◆ m_lookB

◆ m_naifKeywords

PvlObject* Isis::Spice::m_naifKeywords
privateinherited

NaifKeywords PvlObject from cube.

Definition at line 427 of file Spice.h.

◆ m_newLookB

bool Isis::Sensor::m_newLookB
protectedinherited

◆ m_ra

SpiceDouble Isis::Sensor::m_ra
privateinherited

Right ascension (sky longitude)

Definition at line 249 of file Sensor.h.

Referenced by Isis::Sensor::computeRaDec(), and Isis::Sensor::RightAscension().

◆ m_sclkCode

SpiceInt* Isis::Spice::m_sclkCode
privateinherited

Spacecraft clock correlation kernel (SCLK) code.

Definition at line 421 of file Spice.h.

◆ m_solarLongitude

Longitude* Isis::Spice::m_solarLongitude
protectedinherited

Body rotation solar longitude value.

Definition at line 383 of file Spice.h.

◆ m_spacecraftNameLong

QString Isis::Camera::m_spacecraftNameLong
protectedinherited

Full spacecraft name.

Definition at line 498 of file Camera.h.

Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Camera::Camera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), 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::CSMCamera::init(), 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::spacecraftNameLong(), 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().

◆ m_spacecraftNameShort

QString Isis::Camera::m_spacecraftNameShort
protectedinherited

Shortened spacecraft name.

Definition at line 499 of file Camera.h.

Referenced by Isis::ApolloMetricCamera::ApolloMetricCamera(), Isis::ApolloPanoramicCamera::ApolloPanoramicCamera(), Isis::Camera::Camera(), Isis::Chandrayaan1M3Camera::Chandrayaan1M3Camera(), Isis::ClipperNacRollingShutterCamera::ClipperNacRollingShutterCamera(), 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::CSMCamera::init(), 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::spacecraftNameShort(), 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().

◆ m_spkBodyCode

SpiceInt* Isis::Spice::m_spkBodyCode
privateinherited

Spacecraft and planet ephemeris kernel (SPK) body code.

Definition at line 422 of file Spice.h.

◆ m_spkCode

SpiceInt* Isis::Spice::m_spkCode
privateinherited

Spacecraft and planet ephemeris kernel (SPK) code.

Definition at line 418 of file Spice.h.

◆ m_startTime

iTime* Isis::Spice::m_startTime
privateinherited

Corrected start (shutter open) time of the observation.

Definition at line 399 of file Spice.h.

◆ m_startTimePadding

SpiceDouble* Isis::Spice::m_startTimePadding
privateinherited

Kernels pvl group StartPadding keyword value.

Definition at line 403 of file Spice.h.

◆ m_sunPosition

SpicePosition* Isis::Spice::m_sunPosition
privateinherited

Sun spice position.

Definition at line 408 of file Spice.h.

◆ m_target

Target* Isis::Spice::m_target
protectedinherited

Target of the observation.

Definition at line 381 of file Spice.h.

Referenced by Isis::CSMCamera::setTarget().

◆ m_uB

SpiceDouble Isis::Spice::m_uB[3]
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

Definition at line 369 of file Spice.h.

Referenced by Isis::Sensor::IncidenceAngle(), Isis::Camera::LocalPhotometricAngles(), and Isis::Sensor::PhaseAngle().

◆ m_usingAle

bool Isis::Spice::m_usingAle
privateinherited

Indicate whether we are reading values from an ISD returned from ALE.

Definition at line 432 of file Spice.h.

◆ m_usingNaif

bool Isis::Spice::m_usingNaif
privateinherited

Indicates whether we are reading values from the NaifKeywords PvlObject in cube.

Definition at line 429 of file Spice.h.

◆ p_alphaCube

◆ p_bands

int Isis::Camera::p_bands
privateinherited

◆ p_childBand

int Isis::Camera::p_childBand
privateinherited

Band value for child.

Definition at line 563 of file Camera.h.

Referenced by Isis::Camera::Band(), Isis::Camera::Camera(), Isis::Camera::exposureDuration(), and Isis::Camera::SetBand().

◆ p_childLine

◆ p_childSample

◆ p_detectorMap

◆ p_distortionMap

◆ p_focalLength

double Isis::Camera::p_focalLength
privateinherited

The focal length, in units of millimeters.

Definition at line 518 of file Camera.h.

Referenced by Isis::Camera::Camera(), Isis::Camera::DetectorResolution(), Isis::Camera::FocalLength(), and Isis::Camera::SetFocalLength().

◆ p_focalPlaneMap

◆ p_geometricTilingEndSize

int Isis::Camera::p_geometricTilingEndSize
privateinherited

The ideal geometric tile size to end with when projecting.

Definition at line 573 of file Camera.h.

Referenced by Isis::Camera::GetGeometricTilingHint(), and Isis::Camera::SetGeometricTilingHint().

◆ p_geometricTilingStartSize

int Isis::Camera::p_geometricTilingStartSize
privateinherited

The ideal geometric tile size to start with when projecting.

Definition at line 571 of file Camera.h.

Referenced by Isis::Camera::GetGeometricTilingHint(), and Isis::Camera::SetGeometricTilingHint().

◆ p_groundMap

◆ p_groundRangeComputed

bool Isis::Camera::p_groundRangeComputed
privateinherited

Flag showing if ground range was computed successfully.

Definition at line 532 of file Camera.h.

Referenced by Isis::Camera::Camera(), and Isis::Camera::GroundRangeResolution().

◆ p_ignoreProjection

bool Isis::Camera::p_ignoreProjection
privateinherited

◆ p_lineRates

std::vector<LineRateChange> Isis::ClipperPushBroomCamera::p_lineRates
private

Vector of the variable line rates for this camera model.

Definition at line 33 of file ClipperPushBroomCamera.h.

Referenced by ClipperPushBroomCamera(), and ReadLineRates().

◆ p_lines

int Isis::Camera::p_lines
privateinherited

◆ p_maxdec

double Isis::Camera::p_maxdec
privateinherited

The maximum declination.

Definition at line 545 of file Camera.h.

Referenced by Isis::Camera::RaDecRange().

◆ p_maxlat

double Isis::Camera::p_maxlat
privateinherited

The maximum latitude.

Definition at line 522 of file Camera.h.

Referenced by Isis::Camera::BasicMapping(), Isis::Camera::GroundRange(), and Isis::Camera::GroundRangeResolution().

◆ p_maxlon

double Isis::Camera::p_maxlon
privateinherited

The maximum longitude.

Definition at line 524 of file Camera.h.

Referenced by Isis::Camera::BasicMapping(), Isis::Camera::GroundRange(), and Isis::Camera::GroundRangeResolution().

◆ p_maxlon180

double Isis::Camera::p_maxlon180
privateinherited

The maximum longitude in the 180 domain.

Definition at line 530 of file Camera.h.

Referenced by Isis::Camera::GroundRange(), and Isis::Camera::GroundRangeResolution().

◆ p_maxobliqueres

double Isis::Camera::p_maxobliqueres
privateinherited

The maximum oblique resolution.

Definition at line 528 of file Camera.h.

Referenced by Isis::Camera::GroundRangeResolution(), and Isis::Camera::HighestObliqueImageResolution().

◆ p_maxra

double Isis::Camera::p_maxra
privateinherited

The maxumum right ascension.

Definition at line 547 of file Camera.h.

Referenced by Isis::Camera::RaDecRange().

◆ p_maxra180

double Isis::Camera::p_maxra180
privateinherited

The maximum right ascension in the 180 domain.

Definition at line 549 of file Camera.h.

Referenced by Isis::Camera::RaDecRange().

◆ p_maxres

double Isis::Camera::p_maxres
privateinherited

◆ p_maxRingLongitude

double Isis::Camera::p_maxRingLongitude
privateinherited

The maximum ring longitude (azimuth)

Definition at line 556 of file Camera.h.

Referenced by Isis::Camera::basicRingMapping(), Isis::Camera::ringRange(), and Isis::Camera::ringRangeResolution().

◆ p_maxRingLongitude180

double Isis::Camera::p_maxRingLongitude180
privateinherited

The maximum ring longitude in the 180 domain.

Definition at line 558 of file Camera.h.

Referenced by Isis::Camera::ringRange(), and Isis::Camera::ringRangeResolution().

◆ p_maxRingRadius

double Isis::Camera::p_maxRingRadius
privateinherited

The maximum ring radius.

Definition at line 554 of file Camera.h.

Referenced by Isis::Camera::basicRingMapping(), Isis::Camera::ringRange(), and Isis::Camera::ringRangeResolution().

◆ p_mindec

double Isis::Camera::p_mindec
privateinherited

The minimum declination.

Definition at line 544 of file Camera.h.

Referenced by Isis::Camera::RaDecRange().

◆ p_minlat

double Isis::Camera::p_minlat
privateinherited

The minimum latitude.

Definition at line 521 of file Camera.h.

Referenced by Isis::Camera::BasicMapping(), Isis::Camera::GroundRange(), and Isis::Camera::GroundRangeResolution().

◆ p_minlon

double Isis::Camera::p_minlon
privateinherited

The minimum longitude.

Definition at line 523 of file Camera.h.

Referenced by Isis::Camera::BasicMapping(), Isis::Camera::GroundRange(), and Isis::Camera::GroundRangeResolution().

◆ p_minlon180

double Isis::Camera::p_minlon180
privateinherited

The minimum longitude in the 180 domain.

Definition at line 529 of file Camera.h.

Referenced by Isis::Camera::GroundRange(), and Isis::Camera::GroundRangeResolution().

◆ p_minobliqueres

double Isis::Camera::p_minobliqueres
privateinherited

The minimum oblique resolution.

Definition at line 527 of file Camera.h.

Referenced by Isis::Camera::GroundRangeResolution(), and Isis::Camera::LowestObliqueImageResolution().

◆ p_minra

double Isis::Camera::p_minra
privateinherited

The minimum right ascension.

Definition at line 546 of file Camera.h.

Referenced by Isis::Camera::RaDecRange().

◆ p_minra180

double Isis::Camera::p_minra180
privateinherited

The minimum right ascension in the 180 domain.

Definition at line 548 of file Camera.h.

Referenced by Isis::Camera::RaDecRange().

◆ p_minres

double Isis::Camera::p_minres
privateinherited

◆ p_minRingLongitude

double Isis::Camera::p_minRingLongitude
privateinherited

The minimum ring longitude (azimuth)

Definition at line 555 of file Camera.h.

Referenced by Isis::Camera::basicRingMapping(), Isis::Camera::ringRange(), and Isis::Camera::ringRangeResolution().

◆ p_minRingLongitude180

double Isis::Camera::p_minRingLongitude180
privateinherited

The minimum ring longitude in the 180 domain.

Definition at line 557 of file Camera.h.

Referenced by Isis::Camera::ringRange(), and Isis::Camera::ringRangeResolution().

◆ p_minRingRadius

double Isis::Camera::p_minRingRadius
privateinherited

The minimum ring radius.

Definition at line 553 of file Camera.h.

Referenced by Isis::Camera::basicRingMapping(), Isis::Camera::ringRange(), and Isis::Camera::ringRangeResolution().

◆ p_pixelPitch

double Isis::Camera::p_pixelPitch
privateinherited

The pixel pitch, in millimeters per pixel.

Definition at line 519 of file Camera.h.

Referenced by Isis::Camera::Camera(), Isis::Camera::DetectorResolution(), Isis::Camera::PixelPitch(), and Isis::Camera::SetPixelPitch().

◆ p_pointComputed

◆ p_projection

◆ p_raDecRangeComputed

bool Isis::Camera::p_raDecRangeComputed
privateinherited

Flag showing if the raDec range has been computed successfully.

Definition at line 551 of file Camera.h.

Referenced by Isis::Camera::Camera(), and Isis::Camera::RaDecRange().

◆ p_referenceBand

int Isis::Camera::p_referenceBand
privateinherited

The reference band.

Definition at line 539 of file Camera.h.

Referenced by Isis::Camera::Camera(), Isis::Camera::HasReferenceBand(), and Isis::Camera::ReferenceBand().

◆ p_ringRangeComputed

bool Isis::Camera::p_ringRangeComputed
privateinherited

Flag showing if ring range was computed successfully.

Definition at line 560 of file Camera.h.

Referenced by Isis::Camera::Camera(), and Isis::Camera::ringRangeResolution().

◆ p_samples

int Isis::Camera::p_samples
privateinherited

◆ p_skyMap

CameraSkyMap* Isis::Camera::p_skyMap
privateinherited

The documentation for this class was generated from the following files:
Isis::Spice::time
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
Definition: Spice.cpp:884