com.yobotics.simulationconstructionset
Class RangeSensor

java.lang.Object
  extended by javax.media.j3d.SceneGraphObject
      extended by javax.media.j3d.Node
          extended by javax.media.j3d.Leaf
              extended by javax.media.j3d.Behavior
                  extended by com.yobotics.simulationconstructionset.RangeSensor
All Implemented Interfaces:
java.io.Serializable

public class RangeSensor
extends javax.media.j3d.Behavior
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
RangeSensor(java.lang.String name, javax.media.j3d.Transform3D offset, Robot rob)
           
RangeSensor(java.lang.String name, javax.vecmath.Vector3d offsetVector, Robot rob)
           
 
Method Summary
 Joint getParentJoint()
           
 double getRange()
           
 double getRange(double pan, double tilt)
           
 double getRangeAndIntersection(double pan, double tilt, javax.vecmath.Point3d intersection)
           
 double getRangeAndIntersection(javax.vecmath.Point3d intersection)
           
 void initialize()
           
 void processStimulus(java.util.Enumeration enumeration)
           
 void setLocale(javax.media.j3d.Locale locale)
           
 java.lang.String toString()
           
 
Methods inherited from class javax.media.j3d.Behavior
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences
 
Methods inherited from class javax.media.j3d.Node
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RangeSensor

public RangeSensor(java.lang.String name,
                   javax.vecmath.Vector3d offsetVector,
                   Robot rob)

RangeSensor

public RangeSensor(java.lang.String name,
                   javax.media.j3d.Transform3D offset,
                   Robot rob)
Method Detail

setLocale

public void setLocale(javax.media.j3d.Locale locale)

getParentJoint

public Joint getParentJoint()

toString

public java.lang.String toString()
Overrides:
toString in class javax.media.j3d.SceneGraphObject

getRange

public double getRange()

getRangeAndIntersection

public double getRangeAndIntersection(javax.vecmath.Point3d intersection)

getRange

public double getRange(double pan,
                       double tilt)

getRangeAndIntersection

public double getRangeAndIntersection(double pan,
                                      double tilt,
                                      javax.vecmath.Point3d intersection)

initialize

public void initialize()
Specified by:
initialize in class javax.media.j3d.Behavior

processStimulus

public void processStimulus(java.util.Enumeration enumeration)
Specified by:
processStimulus in class javax.media.j3d.Behavior