de.jreality.tools
Class PointerDisplayTool

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

public class PointerDisplayTool
extends AbstractTool


Constructor Summary
PointerDisplayTool()
           
PointerDisplayTool(double radius)
           
 
Method Summary
 Color getDefaultColor()
           
 Color getHighlightColor()
           
 boolean isHighlight()
           
 boolean isVisible()
           
 void perform(ToolContext tc)
          This method is called when the tool is activated and any AxisState or TransformationMatrix of the current slots changes.
 void setDefaultColor(Color defaultColor)
           
 void setHighlight(boolean highlight)
           
 void setHighlightColor(Color highlightColor)
           
 void setLength(double l)
           
 void setVisible(boolean v)
           
 
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

PointerDisplayTool

public PointerDisplayTool(double radius)

PointerDisplayTool

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

setVisible

public void setVisible(boolean v)

isVisible

public boolean isVisible()

getHighlightColor

public Color getHighlightColor()

setHighlightColor

public void setHighlightColor(Color highlightColor)

isHighlight

public boolean isHighlight()

setHighlight

public void setHighlight(boolean highlight)

getDefaultColor

public Color getDefaultColor()

setDefaultColor

public void setDefaultColor(Color defaultColor)

setLength

public void setLength(double l)