de.jreality.tools
Class LookAtTool

java.lang.Object
  extended by de.jreality.scene.tool.AbstractTool
      extended by de.jreality.tools.LookAtTool
All Implemented Interfaces:
Tool

public class LookAtTool
extends AbstractTool

Author:
weissman

Constructor Summary
LookAtTool()
           
 
Method Summary
 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)
           
 
Methods inherited from class de.jreality.scene.tool.AbstractTool
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescription
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookAtTool

public LookAtTool()
Method Detail

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

getMaxHorizontalAngle

public double getMaxHorizontalAngle()

setMaxHorizontalAngle

public void setMaxHorizontalAngle(double maxHorizontalAngle)

getMaxVerticalAngle

public double getMaxVerticalAngle()

setMaxVerticalAngle

public void setMaxVerticalAngle(double maxVerticalAngle)

getMinHorizontalAngle

public double getMinHorizontalAngle()

setMinHorizontalAngle

public void setMinHorizontalAngle(double minHorizontalAngle)

getMinVerticalAngle

public double getMinVerticalAngle()

setMinVerticalAngle

public void setMinVerticalAngle(double minVerticalAngle)

getRodLength

public double getRodLength()

setRodLength

public void setRodLength(double rodLength)