de.jreality.toolsystem
Class ToolUtility

java.lang.Object
  extended by de.jreality.toolsystem.ToolUtility

public class ToolUtility
extends java.lang.Object


Method Summary
static void attachTimer(javax.swing.Timer timer, SceneGraphComponent tc)
           
static void attachTimer(javax.swing.Timer timer, ToolContext tc)
           
static double[] avatarToWorld(ToolContext tc, double[] localVector)
           
static Matrix avatarToWorld(ToolContext tc, Matrix localMatrix)
           
static double[] localToWorld(SceneGraphPath rootToLocal, double[] localVector)
           
static Matrix localToWorld(SceneGraphPath rootToLocal, Matrix localMatrix)
           
static double[] localToWorld(ToolContext tc, double[] localVector)
           
static Matrix localToWorld(ToolContext tc, Matrix localMatrix)
           
static double[] toolToWorld(ToolContext tc, double[] toolVector)
           
static Matrix toolToWorld(ToolContext tc, Matrix toolMatrix)
           
static double[] worldToAvatar(ToolContext tc, double[] worldVector)
           
static Matrix worldToAvatar(ToolContext tc, Matrix worldMatrix)
           
static double[] worldToLocal(SceneGraphPath rootToLocal, double[] worldVector)
           
static Matrix worldToLocal(SceneGraphPath rootToLocal, Matrix worldMatrix)
           
static double[] worldToLocal(ToolContext tc, double[] worldVector)
           
static Matrix worldToLocal(ToolContext tc, Matrix worldMatrix)
           
static double[] worldToTool(ToolContext tc, double[] worldVector)
           
static Matrix worldToTool(ToolContext tc, Matrix worldMatrix)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

worldToAvatar

public static Matrix worldToAvatar(ToolContext tc,
                                   Matrix worldMatrix)

worldToAvatar

public static double[] worldToAvatar(ToolContext tc,
                                     double[] worldVector)

avatarToWorld

public static Matrix avatarToWorld(ToolContext tc,
                                   Matrix localMatrix)

avatarToWorld

public static double[] avatarToWorld(ToolContext tc,
                                     double[] localVector)

worldToLocal

public static Matrix worldToLocal(ToolContext tc,
                                  Matrix worldMatrix)

worldToLocal

public static double[] worldToLocal(ToolContext tc,
                                    double[] worldVector)

worldToTool

public static Matrix worldToTool(ToolContext tc,
                                 Matrix worldMatrix)

worldToTool

public static double[] worldToTool(ToolContext tc,
                                   double[] worldVector)

localToWorld

public static Matrix localToWorld(ToolContext tc,
                                  Matrix localMatrix)

localToWorld

public static double[] localToWorld(ToolContext tc,
                                    double[] localVector)

toolToWorld

public static Matrix toolToWorld(ToolContext tc,
                                 Matrix toolMatrix)

toolToWorld

public static double[] toolToWorld(ToolContext tc,
                                   double[] toolVector)

worldToLocal

public static Matrix worldToLocal(SceneGraphPath rootToLocal,
                                  Matrix worldMatrix)

worldToLocal

public static double[] worldToLocal(SceneGraphPath rootToLocal,
                                    double[] worldVector)

localToWorld

public static Matrix localToWorld(SceneGraphPath rootToLocal,
                                  Matrix localMatrix)

localToWorld

public static double[] localToWorld(SceneGraphPath rootToLocal,
                                    double[] localVector)

attachTimer

public static void attachTimer(javax.swing.Timer timer,
                               ToolContext tc)

attachTimer

public static void attachTimer(javax.swing.Timer timer,
                               SceneGraphComponent tc)