de.jreality.tools
Class EncompassTool

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

public class EncompassTool
extends AbstractTool

TODO: document this

Author:
brinkman

Constructor Summary
EncompassTool()
           
 
Method Summary
 double getMargin()
           
 void perform(ToolContext tc)
          This method is called when the tool is activated and any AxisState or TransformationMatrix of the current slots changes.
 void setMargin(double p)
           
 
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

EncompassTool

public EncompassTool()
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

setMargin

public void setMargin(double p)

getMargin

public double getMargin()