de.jreality.tools
Class HeadTransformationTool

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

public class HeadTransformationTool
extends AbstractTool

Author:
weissman

Constructor Summary
HeadTransformationTool()
           
 
Method Summary
 void currentAngle(double ang)
           
 double getMaxAngle()
           
 double getMinAngle()
           
 boolean isInvert()
           
 void perform(ToolContext tc)
          This method is called when the tool is activated and any AxisState or TransformationMatrix of the current slots changes.
 void setInvert(boolean invert)
           
 void setMaxAngle(double maxAngle)
           
 void setMinAngle(double minAngle)
           
 
Methods inherited from class de.jreality.scene.tool.AbstractTool
activate, deactivate, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, setDescription
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeadTransformationTool

public HeadTransformationTool()
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

getMaxAngle

public double getMaxAngle()

setMaxAngle

public void setMaxAngle(double maxAngle)

getMinAngle

public double getMinAngle()

setMinAngle

public void setMinAngle(double minAngle)

isInvert

public boolean isInvert()

setInvert

public void setInvert(boolean invert)

currentAngle

public void currentAngle(double ang)