|
Isis Developer Reference
|
Go to the documentation of this file.
180 bool backCheck =
true);
182 const double radius,
bool backCheck =
true);
246 void CommonInitialize(
const std::string &demCube);
252 bool SetGroundLocal(
bool backCheck);
double kilometers() const
Get the distance in kilometers.
Definition: Distance.cpp:106
@ Degrees
Degrees are generally considered more human readable, 0-360 is one circle, however most math does not...
Definition: Angle.h:56
virtual void setTime(const iTime &time)
Sets the ephemeris time and reads the spacecraft and sun position from the kernels at that instant in...
Definition: Spice.cpp:780
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
Definition: Spice.cpp:884
virtual double emissionAngle(const std::vector< double > &sB)
Computes and returns emission angle, in degrees, given the observer position.
Definition: ShapeModel.cpp:185
void setShapeEllipsoid()
Set the shape to the ellipsoid and save the original shape.
Definition: Target.cpp:603
void SpacecraftSurfaceVector(double scSurfaceVector[3]) const
Sets the vector between the spacecraft and surface point in body-fixed.
Definition: Sensor.cpp:625
ShapeModel * shape() const
Return the shape.
Definition: Target.cpp:655
virtual void subSolarPoint(double &lat, double &lon)
Returns the sub-solar latitude/longitude in universal coordinates (0-360 positive east,...
Definition: Spice.cpp:1329
virtual void clearSurfacePoint()
Clears or resets the current surface point.
Definition: ShapeModel.cpp:386
virtual QString instrumentNameShort() const =0
virtual void subSpacecraftPoint(double &lat, double &lon)
Returns the sub-spacecraft latitude/longitude in universal coordinates (0-360 positive east,...
Definition: Spice.cpp:1278
Displacement GetX() const
Definition: SurfacePoint.cpp:1436
virtual SpicePosition * instrumentPosition() const
Accessor method for the instrument position.
Definition: Spice.cpp:1600
virtual ~Sensor()
Destroys the Sensor.
Definition: Sensor.cpp:51
const double PI
The mathematical constant PI.
Definition: Constants.h:40
double SpacecraftAltitude()
Returns the distance from the spacecraft to the subspacecraft point in km.
Definition: Sensor.cpp:701
bool SetUniversalGround(const double latitude, const double longitude, bool backCheck=true)
This is the opposite routine for SetLookDirection.
Definition: Sensor.cpp:359
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:51
SurfacePoint * surfaceIntersection() const
Returns the surface intersection for this ShapeModel.
Definition: ShapeModel.cpp:358
bool HasSurfaceIntersection() const
Returns if the last call to either SetLookDirection or SetUniversalGround had a valid intersection wi...
Definition: Sensor.cpp:186
Parse and return pieces of a time string.
Definition: iTime.h:65
std::vector< double > lookDirectionJ2000() const
Returns the look direction in the camera coordinate system.
Definition: Sensor.cpp:549
void setHasIntersection(bool b)
Sets the flag to indicate whether this ShapeModel has an intersection.
Definition: ShapeModel.cpp:554
virtual Distance localRadius(const Latitude &lat, const Longitude &lon)=0
virtual QString spacecraftNameLong() const =0
virtual double incidenceAngle(const std::vector< double > &uB)
Computes and returns incidence angle, in degrees, given the illuminator position.
Definition: ShapeModel.cpp:232
virtual double Declination()
Returns the declination angle (sky latitude).
Definition: Sensor.cpp:574
Longitude GetLongitude() const
Returns a positive east, 0-360 domain longitude object at the surface intersection point in the body ...
Definition: Sensor.cpp:245
Displacement GetZ() const
Definition: SurfacePoint.cpp:1450
Latitude GetLatitude() const
Return the body-fixed latitude for the surface point.
Definition: SurfacePoint.cpp:1665
virtual QList< QPointF > PixelIfovOffsets()
This method is implemented in Camera which defaults to the (pixel pitch * summing mode ) / 2.
Definition: Sensor.cpp:81
double LocalSolarTime()
Return the local solar time in hours.
Definition: Sensor.cpp:660
virtual SpicePosition * sunPosition() const
Accessor method for the sun position.
Definition: Spice.cpp:1589
SurfacePoint GetSurfacePoint() const
Returns the surface point (most efficient accessor).
Definition: Sensor.cpp:255
virtual bool intersectSurface(std::vector< double > observerPos, std::vector< double > lookDirection)=0
std::vector< double > J2000Vector(const std::vector< double > &rVec)
Given a direction vector in the reference frame, return a J2000 direction.
Definition: SpiceRotation.cpp:1408
virtual double RightAscension()
Returns the right ascension angle (sky longitude).
Definition: Sensor.cpp:561
void IgnoreElevationModel(bool ignore)
This allows you to ignore the cube elevation model and use the ellipse.
Definition: Sensor.cpp:60
Distance measurement, usually in meters.
Definition: Distance.h:34
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
std::vector< double > lookDirectionBodyFixed() const
Returns the look direction in the body fixed coordinate system.
Definition: Sensor.cpp:535
virtual Target * target() const
Returns a pointer to the target object.
Definition: Spice.cpp:1368
virtual SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
Definition: Spice.cpp:1622
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Definition: Sensor.cpp:97
@ Meters
The distance is being specified in meters.
Definition: Distance.h:43
virtual double UniversalLongitude() const
Returns the positive east, 0-360 domain longitude, in degrees, at the surface intersection point in t...
Definition: Sensor.cpp:233
void LookDirection(double v[3]) const
Returns the look direction in the camera coordinate system.
Definition: Sensor.cpp:523
virtual QString spacecraftNameShort() const =0
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
SpiceDouble m_uB[3]
This contains the sun position (u) in the bodyfixed reference frame (B).
Definition: Spice.h:369
Sensor(Cube &cube)
Constructs a Sensor object and loads SPICE kernels using information from the label object.
Definition: Sensor.cpp:45
void restoreShape()
Restores the shape to the original after setShapeEllipsoid has overridden it.
Definition: Target.cpp:585
virtual SpiceRotation * bodyRotation() const
Accessor method for the body rotation.
Definition: Spice.cpp:1611
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis exception class.
Definition: IException.h:91
virtual double IncidenceAngle() const
Returns the incidence angle in degrees.
Definition: Sensor.cpp:335
virtual QString instrumentNameLong() const =0
Obtain SPICE information for a spacecraft.
Definition: Spice.h:283
Latitude GetLatitude() const
Returns a planetocentric latitude object at the surface intersection point in body fixed.
Definition: Sensor.cpp:221
Longitude GetLongitude() const
Return the body-fixed longitude for the surface point.
Definition: SurfacePoint.cpp:1685
double kilometers() const
Get the displacement in kilometers.
Definition: Displacement.cpp:94
Class for computing sensor ground coordinates.
Definition: Sensor.h:170
virtual double SolarDistance() const
Returns the distance between the sun and surface point in AU.
Definition: Sensor.cpp:677
Distance GetLocalRadius() const
Return the radius of the surface point.
Definition: SurfacePoint.cpp:1732
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
bool m_newLookB
flag to indicate we need to recompute ra/dec
Definition: Sensor.h:240
Define shapes and provide utilities for Isis targets.
Definition: ShapeModel.h:62
bool SetLookDirection(const double v[3])
Sets the look direction of the spacecraft.
Definition: Sensor.cpp:141
bool SetRightAscensionDeclination(const double ra, const double dec)
Given the ra/dec compute the look direction.
Definition: Sensor.cpp:608
virtual double phaseAngle(const std::vector< double > &sB, const std::vector< double > &uB)
Computes and returns phase angle, in degrees, given the positions of the observer and illuminator.
Definition: ShapeModel.cpp:324
double degrees() const
Get the angle in units of Degrees.
Definition: Angle.h:232
virtual double PhaseAngle() const
Returns the phase angle in degrees.
Definition: Sensor.cpp:312
bool hasIntersection()
Returns intersection status.
Definition: ShapeModel.cpp:368
void Coordinate(double p[3]) const
Returns the x,y,z of the surface intersection in BodyFixed km.
Definition: Sensor.cpp:196
virtual double EmissionAngle() const
Returns the emission angle in degrees.
Definition: Sensor.cpp:324
std::vector< double > ReferenceVector(const std::vector< double > &jVec)
Given a direction vector in J2000, return a reference frame direction.
Definition: SpiceRotation.cpp:1700
SpiceDouble m_lookB[3]
Look direction in body fixed.
Definition: Sensor.h:239
virtual bool isVisibleFrom(const std::vector< double > observerPos, const std::vector< double > lookDirection)
Default occulsion implementation.
Definition: ShapeModel.cpp:431
This class defines a body-fixed surface point.
Definition: SurfacePoint.h:132
Displacement GetY() const
Definition: SurfacePoint.cpp:1443
virtual double resolution()
Virtual method that returns the pixel resolution of the sensor in meters/pix.
Definition: Sensor.h:226
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
virtual double SlantDistance() const
Return the distance between the spacecraft and surface point in kmv.
Definition: Sensor.cpp:637
Distance LocalRadius() const
Returns the local radius at the intersection point.
Definition: Sensor.cpp:267
bool SetGround(const SurfacePoint &surfacePt, bool backCheck=true)
This overloaded method has the opposite function as SetLookDirection.
Definition: Sensor.cpp:443
virtual double UniversalLatitude() const
Returns the planetocentric latitude, in degrees, at the surface intersection point in the body fixed ...
Definition: Sensor.cpp:210