Jeospace API

org.jeospace.navigation
Class DefaultOrientation

java.lang.Object
  extended byorg.jeospace.navigation.DefaultOrientation
All Implemented Interfaces:
Orientation, OrientationControl

public class DefaultOrientation
extends java.lang.Object
implements OrientationControl

A trivial implementation of an OrientationControl. This object is settable, but makes no changes to the set orientation coordinate.

Version:
$Revision: 1.2 $
Author:
Rex Melton

Constructor Summary
DefaultOrientation()
          Default Constructor
 
Method Summary
 void enableOrientation(boolean enabled)
          Ignored
 void get(Attitude attitude)
          Return the orientationin the argument object.
 void get(Quaternion q)
          Return the orientation data in the argument object.
 void set(Attitude attitude)
          Set the orientation coordinate
 void updateOrientation(double timeValue)
          Ignored
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOrientation

public DefaultOrientation()
Default Constructor

Method Detail

get

public void get(Attitude attitude)
Return the orientationin the argument object.

Specified by:
get in interface Orientation
Parameters:
attitude - The Attitude coordinate object to initialize with the current orientation.

get

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

Specified by:
get in interface Orientation
Parameters:
q - The Quaternion coordinate object to initialize with the current orientation.

enableOrientation

public void enableOrientation(boolean enabled)
Ignored

Specified by:
enableOrientation in interface Orientation
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.

updateOrientation

public void updateOrientation(double timeValue)
Ignored

Specified by:
updateOrientation in interface Orientation
Parameters:
timeValue - the time value for which to calculate the position

set

public void set(Attitude attitude)
Set the orientation coordinate

Specified by:
set in interface OrientationControl
Parameters:
attitude - The orientation coordinate

Jeospace API

Copyright © 2006 - jeospace.org