public class AnimatedRotateTool extends AbstractTool
Constructor and Description |
---|
AnimatedRotateTool() |
Modifier and Type | Method and Description |
---|---|
double |
getAngle() |
double[] |
getAxis() |
String |
getDescription()
Gives an overall description of this Tool.
|
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
void |
setAngle(double angle) |
void |
setAxis(double[] axis) |
void |
setAxis(double x,
double y,
double z) |
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, hashCode, removeCurrentSlot, setDescription
public void perform(ToolContext tc)
Tool
perform
in interface Tool
perform
in class AbstractTool
tc
- The current tool contextpublic double getAngle()
public void setAngle(double angle)
public double[] getAxis()
public void setAxis(double[] axis)
public void setAxis(double x, double y, double z)
public String getDescription()
Tool
getDescription
in interface Tool
getDescription
in class AbstractTool