Public Types | |
enum | Type { SAMPLE, HOLDER, NOISE } |
Public Member Functions | |
MeasurementResult (Type type, int rotation, double x, double y, double z) | |
MeasurementResult (Element element) | |
Element | getElement (Document document) |
Type | getType () |
int | getRotation () |
double | getGeographicX () |
double | getGeographicY () |
double | getGeographicZ () |
double | getSampleX () |
double | getSampleY () |
double | getSampleZ () |
double | getRawX () |
double | getRawY () |
double | getRawZ () |
Protected Member Functions | |
void | applyFixes (MeasurementStep step) |
void | setTransform (Matrix3d transform) |
Vector3d | getGeographicVector () |
Vector3d | getSampleVector () |
Vector3d | getRawVector () |
Private Attributes | |
final Type | type |
final int | rotation |
final Vector3d | rawVector = new Vector3d() |
final Vector3d | sampleVector = new Vector3d() |
final Vector3d | geographicVector = new Vector3d() |
Definition at line 39 of file MeasurementResult.java.
|
Definition at line 361 of file MeasurementResult.java. |
|
Creates a new measurement result. All units are mA/m. <p/> The sample and geographic coordinates are NOT set when a MeasurementResult is created.
Definition at line 80 of file MeasurementResult.java. References ikayaki.MeasurementResult.applyFixes(), ikayaki.MeasurementResult.rawVector, and ikayaki.MeasurementResult.setTransform(). |
Here is the call graph for this function:
|
Creates a measurement result from the specified element. <p/> The sample and geographic coordinates are NOT set when a MeasurementResult is created.
Definition at line 103 of file MeasurementResult.java. References ikayaki.MeasurementResult.applyFixes(), ikayaki.MeasurementResult.rawVector, ikayaki.MeasurementResult.rotation, ikayaki.MeasurementResult.setTransform(), and ikayaki.MeasurementResult.type. |
Here is the call graph for this function:
|
Applies the holder, noise and rotation fixes and saves the results as the sample vector. Resets the geographic vector to a copy of the sample vector. This method must be called before setTransform().
Definition at line 176 of file MeasurementResult.java. References ikayaki.MeasurementStep.getHolder(), ikayaki.MeasurementStep.getNoise(), ikayaki.Project.getOrientation(), ikayaki.MeasurementStep.getProject(), ikayaki.Project.MINUS_Z, ikayaki.MeasurementResult.rawVector, ikayaki.MeasurementResult.rotation, ikayaki.MeasurementResult.sampleVector, and ikayaki.MeasurementResult.setTransform(). Referenced by ikayaki.MeasurementResult.MeasurementResult(). |
Here is the call graph for this function:
|
Exports this result to a DOM element.
Definition at line 157 of file MeasurementResult.java. References ikayaki.MeasurementResult.rawVector, ikayaki.MeasurementResult.rotation, and ikayaki.MeasurementResult.type. |
|
Returns a pointer to the geographic vector. WARNING! No modification to the returned object should be made. They should be done on a copy of the object than the object itself. Definition at line 299 of file MeasurementResult.java. References ikayaki.MeasurementResult.geographicVector. |
|
Returns the noise fixed, rotated and transformed X coordinate of this result. The value is in geographic coordinates.
Definition at line 260 of file MeasurementResult.java. References ikayaki.MeasurementResult.geographicVector, and ikayaki.MeasurementResult.type. |
|
Returns the noise fixed, rotated and transformed Y coordinate of this result. The value is in geographic coordinates.
Definition at line 274 of file MeasurementResult.java. References ikayaki.MeasurementResult.geographicVector, and ikayaki.MeasurementResult.type. |
|
Returns the noise fixed, rotated and transformed Z coordinate of this result. The value is in geographic coordinates.
Definition at line 288 of file MeasurementResult.java. References ikayaki.MeasurementResult.geographicVector, and ikayaki.MeasurementResult.type. |
|
Returns a pointer to the raw vector. WARNING! No modification to the returned object should be made. They should be done on a copy of the object than the object itself. Definition at line 357 of file MeasurementResult.java. References ikayaki.MeasurementResult.rawVector. |
|
Returns the unmodified X coordinate of this result. The value is in magnetometer coordinates. Definition at line 335 of file MeasurementResult.java. References ikayaki.MeasurementResult.rawVector. Referenced by ikayaki.gui.MeasurementDetailsPanel.DetailsTableModel.getValueAt(). |
|
Returns the unmodified Y coordinate of this result. The value is in magnetometer coordinates. Definition at line 342 of file MeasurementResult.java. References ikayaki.MeasurementResult.rawVector. Referenced by ikayaki.gui.MeasurementDetailsPanel.DetailsTableModel.getValueAt(). |
|
Returns the unmodified Z coordinate of this result. The value is in magnetometer coordinates. Definition at line 349 of file MeasurementResult.java. References ikayaki.MeasurementResult.rawVector. Referenced by ikayaki.gui.MeasurementDetailsPanel.DetailsTableModel.getValueAt(). |
|
Returns the rotation of this result. The value is in range 0..360 degrees. Definition at line 249 of file MeasurementResult.java. References ikayaki.MeasurementResult.rotation. Referenced by ikayaki.gui.MeasurementDetailsPanel.DetailsTableModel.getValueAt(). |
|
Returns a pointer to the sample vector. WARNING! No modification to the returned object should be made. They should be done on a copy of the object than the object itself. Definition at line 328 of file MeasurementResult.java. References ikayaki.MeasurementResult.sampleVector. |
|
Returns the noise fixed and rotated X coordinate of this result. The value is in sample coordinates. Definition at line 306 of file MeasurementResult.java. References ikayaki.MeasurementResult.sampleVector. |
|
Returns the noise fixed and rotated Y coordinate of this result. The value is in sample coordinates. Definition at line 313 of file MeasurementResult.java. References ikayaki.MeasurementResult.sampleVector. |
|
Returns the noise fixed and rotated Z coordinate of this result. The value is in sample coordinates. Definition at line 320 of file MeasurementResult.java. References ikayaki.MeasurementResult.sampleVector. |
|
Returns the type of this result. Definition at line 242 of file MeasurementResult.java. References ikayaki.MeasurementResult.type. Referenced by ikayaki.gui.MeasurementDetailsPanel.DetailsTableModel.getRowCount(), and ikayaki.gui.MeasurementDetailsPanel.DetailsTableModel.getValueAt(). |
|
Applies a transformation matrix to the sample vector and saves the results as the geographic vector. This method must be called after applyFixes().
Definition at line 231 of file MeasurementResult.java. References ikayaki.MeasurementResult.geographicVector, and ikayaki.MeasurementResult.sampleVector. Referenced by ikayaki.MeasurementResult.applyFixes(), and ikayaki.MeasurementResult.MeasurementResult(). |
|
The measurements in geographic coordinates. Equals the sample coordinates with the transformation matrix applied. Definition at line 65 of file MeasurementResult.java. Referenced by ikayaki.MeasurementResult.getGeographicVector(), ikayaki.MeasurementResult.getGeographicX(), ikayaki.MeasurementResult.getGeographicY(), ikayaki.MeasurementResult.getGeographicZ(), and ikayaki.MeasurementResult.setTransform(). |
|
The unmodified measurements recieved from the squid. Will not change after it has been once set. Definition at line 54 of file MeasurementResult.java. Referenced by ikayaki.MeasurementResult.applyFixes(), ikayaki.MeasurementResult.getElement(), ikayaki.MeasurementResult.getRawVector(), ikayaki.MeasurementResult.getRawX(), ikayaki.MeasurementResult.getRawY(), ikayaki.MeasurementResult.getRawZ(), and ikayaki.MeasurementResult.MeasurementResult(). |
|
The rotation that the sample holder was in when this result was measured. The value is in range 0..360 degrees. Definition at line 49 of file MeasurementResult.java. Referenced by ikayaki.MeasurementResult.applyFixes(), ikayaki.MeasurementResult.getElement(), ikayaki.MeasurementResult.getRotation(), and ikayaki.MeasurementResult.MeasurementResult(). |
|
The measurements in sample coordinates. Has the rotation, noise and holder fixes applied to itself. Definition at line 59 of file MeasurementResult.java. Referenced by ikayaki.MeasurementResult.applyFixes(), ikayaki.MeasurementResult.getSampleVector(), ikayaki.MeasurementResult.getSampleX(), ikayaki.MeasurementResult.getSampleY(), ikayaki.MeasurementResult.getSampleZ(), and ikayaki.MeasurementResult.setTransform(). |
|
The type of this result. Definition at line 44 of file MeasurementResult.java. Referenced by ikayaki.MeasurementResult.getElement(), ikayaki.MeasurementResult.getGeographicX(), ikayaki.MeasurementResult.getGeographicY(), ikayaki.MeasurementResult.getGeographicZ(), ikayaki.MeasurementResult.getType(), and ikayaki.MeasurementResult.MeasurementResult(). |