de.jreality.tools
Class ShowPropertiesTool

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

public class ShowPropertiesTool
extends AbstractTool

Author:
bleicher

Constructor Summary
ShowPropertiesTool()
           
 
Method Summary
 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.
 boolean geometryMatched()
           
 double[] getDir()
           
 double[] getFrom()
           
 Matrix getObj2WorldTrans()
           
 int[] getPickedEdgeVertexInds()
           
 double[][] getPickedEdgeVerts()
           
 int[] getPickedFaceVertexInds()
           
 double[][] getPickedFaceVerts()
           
 double[] getPickedObjectWC()
           
 double[] getPickedVertNormalOC()
           
 double[] getPickedVertNormalWC()
           
 double[] getPickedVertOC()
           
 double[] getPickedVertTexC()
           
 double[] getPickedVertWC()
           
 void holdLog(boolean hold)
           
 void holdLogFrame(boolean hold)
           
 void perform(ToolContext tc)
          This method is called when the tool is activated and any AxisState or TransformationMatrix of the current slots changes.
 void setHomogeneousLogging(boolean hom)
           
 
Methods inherited from class de.jreality.scene.tool.AbstractTool
addCurrentSlot, 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

ShowPropertiesTool

public ShowPropertiesTool()
Method Detail

activate

public void activate(ToolContext tc)
Description copied from interface: Tool
This method is called when the tool gets activated. Note that it will never be called if the tool is always active.

Specified by:
activate in interface Tool
Overrides:
activate in class AbstractTool
Parameters:
tc - The current tool context

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

deactivate

public void deactivate(ToolContext tc)
Description copied from interface: Tool
this method is called when the tool was activate and the AxisState of the activation slot changes to AxisState.RELEASED - to zero. Note that it will never be called for always active tools.

Specified by:
deactivate in interface Tool
Overrides:
deactivate in class AbstractTool
Parameters:
tc - The current tool context

getFrom

public double[] getFrom()

getDir

public double[] getDir()

geometryMatched

public boolean geometryMatched()

getObj2WorldTrans

public Matrix getObj2WorldTrans()

getPickedVertOC

public double[] getPickedVertOC()

getPickedVertWC

public double[] getPickedVertWC()

getPickedVertNormalOC

public double[] getPickedVertNormalOC()

getPickedVertNormalWC

public double[] getPickedVertNormalWC()

getPickedVertTexC

public double[] getPickedVertTexC()

getPickedEdgeVertexInds

public int[] getPickedEdgeVertexInds()

getPickedEdgeVerts

public double[][] getPickedEdgeVerts()

getPickedFaceVertexInds

public int[] getPickedFaceVertexInds()

getPickedFaceVerts

public double[][] getPickedFaceVerts()

getPickedObjectWC

public double[] getPickedObjectWC()

holdLog

public void holdLog(boolean hold)

holdLogFrame

public void holdLogFrame(boolean hold)

setHomogeneousLogging

public void setHomogeneousLogging(boolean hom)