public class DumpManager extends Object
WARNING: this class is public only for technical reasons, it is not considered to belong to the public API of the library and should not be called by user code. It is only intended to be called internally by the Rugged library itself. This class may be changed or even removed at any time, so user code should not rely on it.
| Modifier and Type | Method and Description |
|---|---|
static void |
activate(File file)
Activate debug dump.
|
static void |
deactivate()
Deactivate debug dump.
|
static void |
dumpAlgorithm(AlgorithmId algorithmId)
Dump algorithm data.
|
static void |
dumpAlgorithm(AlgorithmId algorithmId,
double specific)
Dump algorithm data.
|
static void |
dumpDirectLocation(AbsoluteDate date,
Vector3D position,
Vector3D los,
boolean lightTimeCorrection,
boolean aberrationOfLightCorrection)
Dump a direct location computation.
|
static void |
dumpDirectLocationResult(GeodeticPoint gp)
Dump a direct location result.
|
static void |
dumpEllipsoid(ExtendedEllipsoid ellipsoid)
Dump ellipsoid data.
|
static void |
dumpInverseLocation(LineSensor sensor,
GeodeticPoint point,
int minLine,
int maxLine,
boolean lightTimeCorrection,
boolean aberrationOfLightCorrection)
Dump an inverse location computation.
|
static void |
dumpInverseLocationResult(SensorPixel pixel)
Dump an inverse location result.
|
static void |
dumpSensorDatation(LineSensor sensor,
double lineNumber,
AbsoluteDate date)
Dump a sensor datation.
|
static void |
dumpSensorLOS(LineSensor sensor,
AbsoluteDate date,
int i,
Vector3D los)
Dump a sensor LOS.
|
static void |
dumpSensorMeanPlane(SensorMeanPlaneCrossing meanPlane)
Dump a sensor mean plane.
|
static void |
dumpSensorRate(LineSensor sensor,
double lineNumber,
double rate)
Dump a sensor rate.
|
static void |
dumpTileCell(Tile tile,
int latitudeIndex,
int longitudeIndex,
double elevation)
Dump DEM cell data.
|
static void |
dumpTransform(SpacecraftToObservedBody scToBody,
int index,
Transform bodyToInertial,
Transform scToInertial)
Dump an observation transform transform.
|
static boolean |
isActive()
Check if dump is active for this thread.
|
public static void activate(File file) throws RuggedException
file - dump fileRuggedException - if debug dump is already active for this thread
or if debug file cannot be openedpublic static void deactivate()
throws RuggedException
RuggedException - if debug dump is already active for this threadpublic static boolean isActive()
public static void dumpTileCell(Tile tile, int latitudeIndex, int longitudeIndex, double elevation)
tile - tile to which the cell belongslatitudeIndex - latitude index of the celllongitudeIndex - longitude index of the cellelevation - elevation of the cellpublic static void dumpAlgorithm(AlgorithmId algorithmId)
algorithmId - algorithm IDpublic static void dumpAlgorithm(AlgorithmId algorithmId, double specific)
algorithmId - algorithm IDspecific - algorithm specific extra datapublic static void dumpEllipsoid(ExtendedEllipsoid ellipsoid)
ellipsoid - ellipsoid to dumppublic static void dumpDirectLocation(AbsoluteDate date, Vector3D position, Vector3D los, boolean lightTimeCorrection, boolean aberrationOfLightCorrection) throws RuggedException
date - date of the locationposition - pixel position in spacecraft framelos - normalized line-of-sight in spacecraft framelightTimeCorrection - flag for light time correctionaberrationOfLightCorrection - flag for aberration of light correctionRuggedException - if date cannot be converted to UTCpublic static void dumpDirectLocationResult(GeodeticPoint gp) throws RuggedException
gp - resulting geodetic pointRuggedException - if date cannot be converted to UTCpublic static void dumpInverseLocation(LineSensor sensor, GeodeticPoint point, int minLine, int maxLine, boolean lightTimeCorrection, boolean aberrationOfLightCorrection)
sensor - sensorpoint - point to localizeminLine - minimum line numbermaxLine - maximum line numberlightTimeCorrection - flag for light time correctionaberrationOfLightCorrection - flag for aberration of light correctionpublic static void dumpInverseLocationResult(SensorPixel pixel)
pixel - resulting sensor pixelpublic static void dumpTransform(SpacecraftToObservedBody scToBody, int index, Transform bodyToInertial, Transform scToInertial) throws RuggedException
scToBody - provider for observationindex - index of the transformbodyToInertial - transform from body frame to inertial framescToInertial - transfrom from spacecraft frame to inertial frameRuggedException - if reference date cannot be converted to UTCpublic static void dumpSensorMeanPlane(SensorMeanPlaneCrossing meanPlane) throws RuggedException
meanPlane - mean plane associated with sensorRuggedException - if some frames cannot be computed at mid datepublic static void dumpSensorLOS(LineSensor sensor, AbsoluteDate date, int i, Vector3D los) throws RuggedException
sensor - sensordate - datei - pixel indexlos - pixel normalized line-of-sightRuggedException - if date cannot be converted to UTCpublic static void dumpSensorDatation(LineSensor sensor, double lineNumber, AbsoluteDate date) throws RuggedException
sensor - sensorlineNumber - line numberdate - dateRuggedException - if date cannot be converted to UTCpublic static void dumpSensorRate(LineSensor sensor, double lineNumber, double rate)
sensor - sensorlineNumber - line numberrate - lines rateCopyright © 2014–2016 CS Syst?mes d'Information. All rights reserved.