us.ihmc.graphics3DAdapter.java3D.fromSCS
Class J3DGraphicsInstructionExecutor

java.lang.Object
  extended by us.ihmc.graphics3DAdapter.graphics.Graphics3DInstructionExecutor
      extended by us.ihmc.graphics3DAdapter.java3D.fromSCS.J3DGraphicsInstructionExecutor

public class J3DGraphicsInstructionExecutor
extends Graphics3DInstructionExecutor


Constructor Summary
J3DGraphicsInstructionExecutor(Graphics3DObject linkGraphics)
           
 
Method Summary
 javax.media.j3d.BranchGroup getBranchGroup()
          Retrieves the shared group containing all of the graphical elements for this link.
 javax.vecmath.Color3f getColor(javax.media.j3d.Appearance app)
          gets a color from an appearance
 void updateGraphics()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J3DGraphicsInstructionExecutor

public J3DGraphicsInstructionExecutor(Graphics3DObject linkGraphics)
Method Detail

getColor

public javax.vecmath.Color3f getColor(javax.media.j3d.Appearance app)
gets a color from an appearance


getBranchGroup

public javax.media.j3d.BranchGroup getBranchGroup()
Retrieves the shared group containing all of the graphical elements for this link. This can be used to make a copy or add the link graphically to another component.

Returns:
SharedGroup for this link.

updateGraphics

public void updateGraphics()