public class LookAtTool extends AbstractTool
Constructor and Description |
---|
LookAtTool() |
Modifier and Type | Method and Description |
---|---|
double |
getMaxHorizontalAngle() |
double |
getMaxVerticalAngle() |
double |
getMinHorizontalAngle() |
double |
getMinVerticalAngle() |
double |
getRodLength() |
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
void |
setMaxHorizontalAngle(double maxHorizontalAngle) |
void |
setMaxVerticalAngle(double maxVerticalAngle) |
void |
setMinHorizontalAngle(double minHorizontalAngle) |
void |
setMinVerticalAngle(double minVerticalAngle) |
void |
setRodLength(double rodLength) |
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescription
public void perform(ToolContext tc)
Tool
perform
in interface Tool
perform
in class AbstractTool
tc
- The current tool contextpublic double getMaxHorizontalAngle()
public void setMaxHorizontalAngle(double maxHorizontalAngle)
public double getMaxVerticalAngle()
public void setMaxVerticalAngle(double maxVerticalAngle)
public double getMinHorizontalAngle()
public void setMinHorizontalAngle(double minHorizontalAngle)
public double getMinVerticalAngle()
public void setMinVerticalAngle(double minVerticalAngle)
public double getRodLength()
public void setRodLength(double rodLength)