de.jreality.tools
Class ShipNavigationTool

java.lang.Object
  extended by de.jreality.scene.tool.AbstractTool
      extended by de.jreality.tools.ShipNavigationTool
All Implemented Interfaces:
Tool

public class ShipNavigationTool
extends AbstractTool

Author:
weissman

Nested Class Summary
static interface ShipNavigationTool.PickDelegate
           
 
Constructor Summary
ShipNavigationTool()
           
 
Method Summary
 double[] getCenter()
           
 double getGain()
           
 double getGravity()
           
 double getJumpSpeed()
           
 double getMinHeight()
           
 ShipNavigationTool.PickDelegate getPickDelegate()
           
 double getRunFactor()
           
 boolean isCenter()
           
 boolean isGravitEnabled()
           
 boolean isPollingDevice()
           
 void perform(ToolContext tc)
          This method is called when the tool is activated and any AxisState or TransformationMatrix of the current slots changes.
 void setCenter(boolean center)
           
 void setCenter(double[] center)
           
 void setGain(double gain)
           
 void setGravitEnabled(boolean gravitEnabled)
           
 void setGravity(double gravity)
           
 void setJumpSpeed(double jumpSpeed)
           
 void setMinHeight(double minHeight)
           
 void setPickDelegate(ShipNavigationTool.PickDelegate pickDelegate)
           
 void setPollingDevice(boolean pollingDevice)
           
 void setRunFactor(double runFactor)
           
 
Methods inherited from class de.jreality.scene.tool.AbstractTool
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescription
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShipNavigationTool

public ShipNavigationTool()
Method Detail

perform

public void perform(ToolContext tc)
Description copied from interface: Tool
This method is called when the tool is activated and any AxisState or TransformationMatrix of the current slots changes.

Specified by:
perform in interface Tool
Overrides:
perform in class AbstractTool
Parameters:
tc - The current tool context

getGain

public double getGain()

setGain

public void setGain(double gain)

getGravity

public double getGravity()

setGravity

public void setGravity(double gravity)

getJumpSpeed

public double getJumpSpeed()

setJumpSpeed

public void setJumpSpeed(double jumpSpeed)

isPollingDevice

public boolean isPollingDevice()

setPollingDevice

public void setPollingDevice(boolean pollingDevice)

getRunFactor

public double getRunFactor()

setRunFactor

public void setRunFactor(double runFactor)

isCenter

public boolean isCenter()

setCenter

public void setCenter(boolean center)

getCenter

public double[] getCenter()

setCenter

public void setCenter(double[] center)

isGravitEnabled

public boolean isGravitEnabled()

setGravitEnabled

public void setGravitEnabled(boolean gravitEnabled)

getMinHeight

public double getMinHeight()

setMinHeight

public void setMinHeight(double minHeight)

getPickDelegate

public ShipNavigationTool.PickDelegate getPickDelegate()

setPickDelegate

public void setPickDelegate(ShipNavigationTool.PickDelegate pickDelegate)