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
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, AppearanceDefinition arrowColor)
           
DynamicGraphicCoordinateSystem(java.lang.String name, YoFramePoint framePoint, YoFrameOrientation orientation, double scale)
           
DynamicGraphicCoordinateSystem(java.lang.String name, YoFramePoint framePoint, YoFrameOrientation orientation, double scale, AppearanceDefinition arrowColor)
           
DynamicGraphicCoordinateSystem(java.lang.String name, YoFramePose yoFramePose, double scale)
           
 
Method Summary
 boolean containsNaN()
           
 Artifact createArtifact()
           
 Graphics3DObject getLinkGraphics()
           
 void getPosition(javax.vecmath.Vector3d position)
           
 double getScale()
           
 void getYawPitchRoll(javax.vecmath.Vector3d yawPitchRoll)
           
 boolean hasGraphicObjectChanged()
           
 void hide()
           
 void setOrientation(FrameOrientation orientation)
           
 void setPose(FramePose framePose)
           
 void setPosition(double x, double y, double z)
           
 void setPosition(FramePoint position)
           
 void setToReferenceFrame(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
getName, getTransform, hideGraphicObject, isGraphicObjectShowing, showGraphicObject, update
 
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,
                                      AppearanceDefinition arrowColor)

DynamicGraphicCoordinateSystem

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

DynamicGraphicCoordinateSystem

public DynamicGraphicCoordinateSystem(java.lang.String name,
                                      YoFramePose yoFramePose,
                                      double scale)
Method Detail

setToReferenceFrame

public void setToReferenceFrame(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(FramePoint position)

setOrientation

public void setOrientation(FrameOrientation orientation)

setYawPitchRoll

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

setPose

public void setPose(FramePose framePose)

hide

public void hide()

getLinkGraphics

public Graphics3DObject getLinkGraphics()
Specified by:
getLinkGraphics in class DynamicGraphicObject

containsNaN

public boolean containsNaN()

createArtifact

public Artifact createArtifact()
Specified by:
createArtifact in class DynamicGraphicObject

hasGraphicObjectChanged

public boolean hasGraphicObjectChanged()