public class FlyToPickTool extends AbstractTool
Constructor and Description |
---|
FlyToPickTool() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ToolContext tc)
This method is called when the tool gets activated.
|
void |
deactivate(ToolContext tc)
this method is called when the tool was activate and the
AxisState of the activation slot changes to AxisState.RELEASED - to zero.
|
String |
getDescription()
Gives an overall description of this Tool.
|
double |
getFlightTime() |
double |
getGoFactor() |
boolean |
isHoldYAxis() |
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
void |
setFlightTime(double flightTime) |
void |
setGoFactor(double goFactor) |
void |
setHoldYAxis(boolean holdYAxis) |
addCurrentSlot, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, hashCode, removeCurrentSlot, setDescription
public void activate(ToolContext tc)
Tool
activate
in interface Tool
activate
in class AbstractTool
tc
- The current tool contextpublic void deactivate(ToolContext tc)
Tool
deactivate
in interface Tool
deactivate
in class AbstractTool
tc
- The current tool contextpublic void perform(ToolContext tc)
Tool
perform
in interface Tool
perform
in class AbstractTool
tc
- The current tool contextpublic String getDescription()
Tool
getDescription
in interface Tool
getDescription
in class AbstractTool
public double getFlightTime()
public void setFlightTime(double flightTime)
public double getGoFactor()
public void setGoFactor(double goFactor)
public boolean isHoldYAxis()
public void setHoldYAxis(boolean holdYAxis)