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 | 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(org.orekit.time.AbsoluteDate date,
org.hipparchus.geometry.euclidean.threed.Vector3D sensorPosition,
org.hipparchus.geometry.euclidean.threed.Vector3D los,
boolean lightTimeCorrection,
boolean aberrationOfLightCorrection,
boolean refractionCorrection) |
Dump a direct location computation.
|
static void |
dumpDirectLocationResult(org.orekit.bodies.GeodeticPoint gp) |
Dump a direct location result.
|
static void |
dumpEllipsoid(ExtendedEllipsoid ellipsoid) |
Dump ellipsoid data.
|
static void |
dumpInverseLocation(LineSensor sensor,
org.orekit.bodies.GeodeticPoint point,
ExtendedEllipsoid ellipsoid,
int minLine,
int maxLine,
boolean lightTimeCorrection,
boolean aberrationOfLightCorrection,
boolean refractionCorrection) |
Dump an inverse location computation.
|
static void |
dumpInverseLocationResult(SensorPixel pixel) |
Dump an inverse location result.
|
static void |
dumpSensorDatation(LineSensor sensor,
double lineNumber,
org.orekit.time.AbsoluteDate date) |
Dump a sensor datation.
|
static void |
dumpSensorLOS(LineSensor sensor,
org.orekit.time.AbsoluteDate date,
int i,
org.hipparchus.geometry.euclidean.threed.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,
org.orekit.frames.Transform bodyToInertial,
org.orekit.frames.Transform scToInertial) |
Dump an observation transform transform.
|
static void |
endNicely() |
In case dump is suspended and an exception is thrown,
allows the dump to end nicely.
|
static boolean |
isActive() |
Check if dump is active for this thread.
|
static void |
resume(Boolean wasSuspended) |
Resume the dump, only if it was not already suspended.
|
static Boolean |
suspend() |
Suspend the dump.
|
public static void activate(File file)
file
- dump filepublic static void deactivate()
public static Boolean suspend()
public static void resume(Boolean wasSuspended)
wasSuspended
- flag to tell if the dump was already suspended (true; false otherwise)public static void endNicely()
public 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(org.orekit.time.AbsoluteDate date, org.hipparchus.geometry.euclidean.threed.Vector3D sensorPosition, org.hipparchus.geometry.euclidean.threed.Vector3D los, boolean lightTimeCorrection, boolean aberrationOfLightCorrection, boolean refractionCorrection)
date
- date of the locationsensorPosition
- sensor position in spacecraft framelos
- normalized line-of-sight in spacecraft framelightTimeCorrection
- flag for light time correctionaberrationOfLightCorrection
- flag for aberration of light correctionrefractionCorrection
- flag for refraction correctionpublic static void dumpDirectLocationResult(org.orekit.bodies.GeodeticPoint gp)
gp
- resulting geodetic pointpublic static void dumpInverseLocation(LineSensor sensor, org.orekit.bodies.GeodeticPoint point, ExtendedEllipsoid ellipsoid, int minLine, int maxLine, boolean lightTimeCorrection, boolean aberrationOfLightCorrection, boolean refractionCorrection)
sensor
- sensorpoint
- point to localizeellipsoid
- the used ellipsoidminLine
- minimum line numbermaxLine
- maximum line numberlightTimeCorrection
- flag for light time correctionaberrationOfLightCorrection
- flag for aberration of light correctionrefractionCorrection
- flag for refraction correctionpublic static void dumpInverseLocationResult(SensorPixel pixel)
pixel
- resulting sensor pixelpublic static void dumpTransform(SpacecraftToObservedBody scToBody, int index, org.orekit.frames.Transform bodyToInertial, org.orekit.frames.Transform scToInertial)
scToBody
- provider for observationindex
- index of the transformbodyToInertial
- transform from body frame to inertial framescToInertial
- transfrom from spacecraft frame to inertial framepublic static void dumpSensorMeanPlane(SensorMeanPlaneCrossing meanPlane)
meanPlane
- mean plane associated with sensorpublic static void dumpSensorLOS(LineSensor sensor, org.orekit.time.AbsoluteDate date, int i, org.hipparchus.geometry.euclidean.threed.Vector3D los)
sensor
- sensordate
- datei
- pixel indexlos
- pixel normalized line-of-sightpublic static void dumpSensorDatation(LineSensor sensor, double lineNumber, org.orekit.time.AbsoluteDate date)
sensor
- sensorlineNumber
- line numberdate
- datepublic static void dumpSensorRate(LineSensor sensor, double lineNumber, double rate)
sensor
- sensorlineNumber
- line numberrate
- lines rateCopyright © 2014-2019 CS Systèmes d'information. All rights reserved.