de.jreality.tools
Class ShipScaleTool
java.lang.Object
de.jreality.scene.tool.AbstractTool
de.jreality.tools.ShipScaleTool
- All Implemented Interfaces:
- Tool
public class ShipScaleTool
- extends AbstractTool
- Author:
- weissman
Method Summary |
double |
getGain()
|
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes. |
void |
setGain(double gain)
|
Methods inherited from class de.jreality.scene.tool.AbstractTool |
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescription |
ShipScaleTool
public ShipScaleTool()
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)