us.ihmc.graphics3DAdapter.java3D.fromSCS
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 us.ihmc.graphics3DAdapter.java3D.fromSCS.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)
           
RangeSensor(java.lang.String name, javax.vecmath.Vector3d offsetVector)
           
 
Method Summary
 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()
           
 void updateTransform(javax.media.j3d.Transform3D t1)
           
 
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)

RangeSensor

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

setLocale

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

toString

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

updateTransform

public void updateTransform(javax.media.j3d.Transform3D t1)

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