Jeospace API

org.jeospace.navigation
Interface Orientation

All Known Subinterfaces:
OrientationControl, OrientationInterpolator
All Known Implementing Classes:
DefaultOrientation, NavigationControl, QuaternionInterpolator, TrackEarthSatellite, TrackSolarOrbitalObject

public interface Orientation

Defines the requirements for providing orientation data to a simulation component.

Version:
$Revision: 1.2 $
Author:
Rex Melton

Method Summary
 void enableOrientation(boolean enabled)
          Set the state of the object to produce updated orientation data.
 void get(Attitude attitude)
          Return the orientation data in the argument object.
 void get(Quaternion quaternion)
          Return the orientation data in the argument object.
 void updateOrientation(double timeValue)
          Process any orientation changes for the next simulation frame.
 

Method Detail

updateOrientation

public void updateOrientation(double timeValue)
Process any orientation changes for the next simulation frame.

Parameters:
timeValue - the time value for which to calculate the position

enableOrientation

public void enableOrientation(boolean enabled)
Set the state of the object to produce updated orientation data.

Parameters:
enabled - true if the object should update it's orientation data in response to update( ) calls, false if the object should NOT update it's orientation data in response to update( ) calls.

get

public void get(Attitude attitude)
Return the orientation data in the argument object.

Parameters:
attitude - the Attitude coordinate object to initialize with the current orientation data.

get

public void get(Quaternion quaternion)
Return the orientation data in the argument object.

Parameters:
quaternion - the Quaternion coordinate object to initialize with the current orientation data.

Jeospace API

Copyright © 2006 - jeospace.org