|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.media.j3d.SceneGraphObject
|
+--javax.media.j3d.Node
|
+--javax.media.j3d.Group
|
+--javax.media.j3d.TransformGroup
|
+--Gui3DObject
|
+--Gui3DRobot
| Field Summary |
| Fields inherited from class Gui3DObject |
iIdentity, oGuiField, oVector |
| Fields inherited from class javax.media.j3d.TransformGroup |
ALLOW_TRANSFORM_READ, ALLOW_TRANSFORM_WRITE |
| Fields inherited from class javax.media.j3d.Group |
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE |
| 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_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING |
| Fields inherited from class javax.media.j3d.SceneGraphObject |
|
| Constructor Summary | |
Gui3DRobot(GuiField _oGuiField,
int _iIdentity,
SimVector _oVector,
java.awt.Color _oColor)
This constructor creates a new Gui3DRobot object, with wheels and a cube. |
|
| Method Summary | |
javax.media.j3d.TransformGroup |
createCube()
This function creates a color cube of size SimSettings.fHALF_CUBE_SIZE. |
javax.media.j3d.TransformGroup |
createLeftWheel()
This function creates a wheel and positions it to the left of the GuiRobot3D. |
javax.media.j3d.TransformGroup |
createRightWheel()
This function creates a wheel and positions it to the right of the Gui3DRobot. |
javax.media.j3d.TransformGroup |
createWheel()
This function creates a Cylinder and gives it a nice color |
javax.media.j3d.Transform3D |
orient()
This function rotates the Goal to the right orientation orientation |
javax.media.j3d.Transform3D |
position()
This function translates the Goal to the specified x,z position |
void |
setTransform(javax.media.j3d.Transform3D oTransform3D)
This function returns will be called by a PickBehavior |
java.lang.String |
toString()
This function returns the description of this object |
void |
transform()
This function transforms the Robot to the right position and orientation |
| Methods inherited from class Gui3DObject |
addPropertyChange, getNewSimVector, getSimObject, propertyChange |
| Methods inherited from class javax.media.j3d.TransformGroup |
cloneNode, getTransform |
| Methods inherited from class javax.media.j3d.Group |
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds |
| Methods inherited from class javax.media.j3d.Node |
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
| Methods inherited from class javax.media.j3d.SceneGraphObject |
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData, updateNodeReferences |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Gui3DRobot(GuiField _oGuiField,
int _iIdentity,
SimVector _oVector,
java.awt.Color _oColor)
| Method Detail |
public void transform()
transform in class Gui3DObjectpublic javax.media.j3d.Transform3D orient()
public javax.media.j3d.Transform3D position()
public javax.media.j3d.TransformGroup createLeftWheel()
public javax.media.j3d.TransformGroup createWheel()
public javax.media.j3d.TransformGroup createRightWheel()
public javax.media.j3d.TransformGroup createCube()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setTransform(javax.media.j3d.Transform3D oTransform3D)
setTransform in class javax.media.j3d.TransformGroupoTransform3D - the new matrix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||