uk.ac.ed.java3d_handler
Class Java3DDebug

java.lang.Object
  extended by uk.ac.ed.java3d_handler.Java3DDebug

public class Java3DDebug
extends Object


Constructor Summary
Java3DDebug()
           
 
Method Summary
static javax.media.j3d.BranchGroup renderDebugLine(javax.vecmath.Point3d position1, javax.vecmath.Point3d position2, javax.vecmath.Color3f colour)
           
static javax.media.j3d.BranchGroup renderDebugLine(javax.vecmath.Vector3d position1, javax.vecmath.Vector3d position2, javax.vecmath.Color3f colour)
           
static javax.media.j3d.BranchGroup renderDebugMatrix(javax.vecmath.Matrix4d matrix, javax.vecmath.Color3f colour)
           
static javax.media.j3d.BranchGroup renderDebugOrigin()
           
static javax.media.j3d.BranchGroup renderDebugPoint(javax.vecmath.Point3d position, javax.vecmath.Color3f colour)
           
static javax.media.j3d.BranchGroup renderDebugPoint(javax.vecmath.Vector3d position, javax.vecmath.Color3f colour)
           
static javax.media.j3d.BranchGroup renderDebugSphere(javax.vecmath.Point3d position, javax.vecmath.Color3f colour)
           
static javax.media.j3d.BranchGroup renderDebugSphere(javax.vecmath.Vector3d position, javax.vecmath.Color3f colour)
           
static void setQuatToMatrix(javax.vecmath.Quat4d quat, javax.vecmath.Matrix3d m)
           
static void setQuatToMatrix(javax.vecmath.Quat4d quat, javax.vecmath.Matrix4d m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java3DDebug

public Java3DDebug()
Method Detail

setQuatToMatrix

public static void setQuatToMatrix(javax.vecmath.Quat4d quat,
                                   javax.vecmath.Matrix3d m)

setQuatToMatrix

public static void setQuatToMatrix(javax.vecmath.Quat4d quat,
                                   javax.vecmath.Matrix4d m)

renderDebugPoint

public static javax.media.j3d.BranchGroup renderDebugPoint(javax.vecmath.Vector3d position,
                                                           javax.vecmath.Color3f colour)

renderDebugPoint

public static javax.media.j3d.BranchGroup renderDebugPoint(javax.vecmath.Point3d position,
                                                           javax.vecmath.Color3f colour)

renderDebugLine

public static javax.media.j3d.BranchGroup renderDebugLine(javax.vecmath.Vector3d position1,
                                                          javax.vecmath.Vector3d position2,
                                                          javax.vecmath.Color3f colour)

renderDebugLine

public static javax.media.j3d.BranchGroup renderDebugLine(javax.vecmath.Point3d position1,
                                                          javax.vecmath.Point3d position2,
                                                          javax.vecmath.Color3f colour)

renderDebugMatrix

public static javax.media.j3d.BranchGroup renderDebugMatrix(javax.vecmath.Matrix4d matrix,
                                                            javax.vecmath.Color3f colour)

renderDebugSphere

public static javax.media.j3d.BranchGroup renderDebugSphere(javax.vecmath.Vector3d position,
                                                            javax.vecmath.Color3f colour)

renderDebugSphere

public static javax.media.j3d.BranchGroup renderDebugSphere(javax.vecmath.Point3d position,
                                                            javax.vecmath.Color3f colour)

renderDebugOrigin

public static javax.media.j3d.BranchGroup renderDebugOrigin()