16#include "Interpolator.h"
18#include "ProjectionFactory.h"
180 bool backCheck =
true);
182 const double radius,
bool backCheck =
true);
228 virtual QString instrumentNameLong()
const = 0;
229 virtual QString instrumentNameShort()
const = 0;
230 virtual QString spacecraftNameLong()
const = 0;
231 virtual QString spacecraftNameShort()
const = 0;
238 void CommonInitialize(
const std::string &demCube);
IO Handler for Isis Cubes.
Distance measurement, usually in meters.
This class is designed to encapsulate the concept of a Latitude.
This class is designed to encapsulate the concept of a Longitude.
Class for computing sensor ground coordinates.
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
virtual SurfacePoint GetSurfacePoint() const
Returns the surface point (most efficient accessor).
bool SetUniversalGround(const double latitude, const double longitude, bool backCheck=true)
This is the opposite routine for SetLookDirection.
double LocalSolarTime()
Return the local solar time in hours.
SpiceDouble m_lookB[3]
Look direction in body fixed.
SpiceDouble m_dec
Decliation (sky latitude)
virtual double UniversalLatitude() const
Returns the planetocentric latitude, in degrees, at the surface intersection point in the body fixed ...
virtual double RightAscension()
Returns the right ascension angle (sky longitude).
Longitude GetLongitude() const
Returns a positive east, 0-360 domain longitude object at the surface intersection point in the body ...
virtual double SolarDistance() const
Returns the distance between the sun and surface point in AU.
bool HasSurfaceIntersection() const
Returns if the last call to either SetLookDirection or SetUniversalGround had a valid intersection wi...
virtual double SlantDistance() const
Return the distance between the spacecraft and surface point in kmv.
void SpacecraftSurfaceVector(double scSurfaceVector[3]) const
Sets the vector between the spacecraft and surface point in body-fixed.
bool m_newLookB
flag to indicate we need to recompute ra/dec
virtual QList< QPointF > PixelIfovOffsets()
This method is implemented in Camera which defaults to the (pixel pitch * summing mode ) / 2.
Latitude GetLatitude() const
Returns a planetocentric latitude object at the surface intersection point in body fixed.
SpiceDouble m_ra
Right ascension (sky longitude)
double SpacecraftAltitude()
Returns the distance from the spacecraft to the subspacecraft point in km.
virtual ~Sensor()
Destroys the Sensor.
virtual std::vector< double > lookDirectionBodyFixed() const
Returns the look direction in the body fixed coordinate system.
bool SetGround(const SurfacePoint &surfacePt, bool backCheck=true)
This overloaded method has the opposite function as SetLookDirection.
bool SetGroundLocal(bool backCheck)
Computes look vector.
virtual std::vector< double > lookDirectionJ2000() const
Returns the look direction in the camera coordinate system.
void IgnoreElevationModel(bool ignore)
This allows you to ignore the cube elevation model and use the ellipse.
virtual double PhaseAngle() const
Returns the phase angle in degrees.
bool SetRightAscensionDeclination(const double ra, const double dec)
Given the ra/dec compute the look direction.
virtual double IncidenceAngle() const
Returns the incidence angle in degrees.
virtual double resolution()
Virtual method that returns the pixel resolution of the sensor in meters/pix.
virtual double UniversalLongitude() const
Returns the positive east, 0-360 domain longitude, in degrees, at the surface intersection point in t...
void Coordinate(double p[3]) const
Returns the x,y,z of the surface intersection in BodyFixed km.
Sensor(Cube &cube)
Constructs a Sensor object and loads SPICE kernels using information from the label object.
Distance LocalRadius() const
Returns the local radius at the intersection point.
virtual double Declination()
Returns the declination angle (sky latitude).
virtual double EmissionAngle() const
Returns the emission angle in degrees.
void LookDirection(double v[3]) const
Returns the look direction in the camera coordinate system.
bool SetLookDirection(const double v[3])
Sets the look direction of the spacecraft.
void computeRaDec()
Computes the ra/dec from the look direction.
Obtain SPICE information for a spacecraft.
virtual iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
This class defines a body-fixed surface point.
Parse and return pieces of a time string.
This is free and unencumbered software released into the public domain.