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