com.yobotics.simulationconstructionset.util.graphics
Class DynamicGraphicCoordinateSystem

java.lang.Object
  extended by com.yobotics.simulationconstructionset.util.graphics.DynamicGraphicObject
      extended by com.yobotics.simulationconstructionset.util.graphics.DynamicGraphicCoordinateSystem
All Implemented Interfaces:
GraphicToUpdateWithRobots
Direct Known Subclasses:
DynamicGraphicEllipsoid, DynamicGraphicReferenceFrame, DynamicGraphicVRML

public class DynamicGraphicCoordinateSystem
extends DynamicGraphicObject


Constructor Summary
DynamicGraphicCoordinateSystem(java.lang.String name, DoubleYoVariable x, DoubleYoVariable y, DoubleYoVariable z, DoubleYoVariable yaw, DoubleYoVariable pitch, DoubleYoVariable roll, double scale)
           
DynamicGraphicCoordinateSystem(java.lang.String namePrefix, java.lang.String nameSuffix, YoVariableRegistry registry, double scale)
           
DynamicGraphicCoordinateSystem(java.lang.String namePrefix, java.lang.String nameSuffix, YoVariableRegistry registry, double scale, javax.media.j3d.Appearance arrowColor)
           
DynamicGraphicCoordinateSystem(java.lang.String name, YoFramePoint framePoint, YoFrameOrientation orientation, double scale)
           
 
Method Summary
 us.ihmc.plotting.Artifact createArtifact()
           
 void getPosition(javax.vecmath.Vector3d position)
           
 double getScale()
           
 void getYawPitchRoll(javax.vecmath.Vector3d yawPitchRoll)
           
 void setPosition(double x, double y, double z)
           
 void setPosition(us.ihmc.utilities.math.geometry.FramePoint position)
           
 void setToReferenceFrame(us.ihmc.utilities.math.geometry.ReferenceFrame referenceFrame)
           
 void setTransformToWorld(javax.media.j3d.Transform3D transformToWorld)
           
 void setYawPitchRoll(double yaw, double pitch, double roll)
           
 
Methods inherited from class com.yobotics.simulationconstructionset.util.graphics.DynamicGraphicObject
getAppearance, getBranchGroup, getName, hideGraphicObject, isGraphicObjectShowing, showGraphicObject, updateGraphics
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicGraphicCoordinateSystem

public DynamicGraphicCoordinateSystem(java.lang.String name,
                                      DoubleYoVariable x,
                                      DoubleYoVariable y,
                                      DoubleYoVariable z,
                                      DoubleYoVariable yaw,
                                      DoubleYoVariable pitch,
                                      DoubleYoVariable roll,
                                      double scale)

DynamicGraphicCoordinateSystem

public DynamicGraphicCoordinateSystem(java.lang.String name,
                                      YoFramePoint framePoint,
                                      YoFrameOrientation orientation,
                                      double scale)

DynamicGraphicCoordinateSystem

public DynamicGraphicCoordinateSystem(java.lang.String namePrefix,
                                      java.lang.String nameSuffix,
                                      YoVariableRegistry registry,
                                      double scale)

DynamicGraphicCoordinateSystem

public DynamicGraphicCoordinateSystem(java.lang.String namePrefix,
                                      java.lang.String nameSuffix,
                                      YoVariableRegistry registry,
                                      double scale,
                                      javax.media.j3d.Appearance arrowColor)
Method Detail

setToReferenceFrame

public void setToReferenceFrame(us.ihmc.utilities.math.geometry.ReferenceFrame referenceFrame)

setTransformToWorld

public void setTransformToWorld(javax.media.j3d.Transform3D transformToWorld)

getScale

public double getScale()

getPosition

public void getPosition(javax.vecmath.Vector3d position)

getYawPitchRoll

public void getYawPitchRoll(javax.vecmath.Vector3d yawPitchRoll)

setPosition

public void setPosition(double x,
                        double y,
                        double z)

setPosition

public void setPosition(us.ihmc.utilities.math.geometry.FramePoint position)

setYawPitchRoll

public void setYawPitchRoll(double yaw,
                            double pitch,
                            double roll)

createArtifact

public us.ihmc.plotting.Artifact createArtifact()
Specified by:
createArtifact in class DynamicGraphicObject