de.jreality.tools
Class HeadTransformationTool
java.lang.Object
de.jreality.scene.tool.AbstractTool
de.jreality.tools.HeadTransformationTool
- All Implemented Interfaces:
- Tool
public class HeadTransformationTool
- extends AbstractTool
- Author:
- weissman
| Methods inherited from class de.jreality.scene.tool.AbstractTool |
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescription |
HeadTransformationTool
public HeadTransformationTool()
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)