Class Gui3DLine

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Group
                    |
                    +--javax.media.j3d.TransformGroup
                          |
                          +--Gui3DFieldComponent
                                |
                                +--Gui3DLine

public class Gui3DLine
extends Gui3DFieldComponent


Field Summary
 
Fields inherited from class Gui3DFieldComponent
fXPos, fYPos, fZPos
 
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
Gui3DLine(float _fXPos, float _fZPos, float _fLength, float _fOrientation)
          This constructor creates a new Gui3DLine object.
 
Method Summary
 void create()
          This function creates a box which is the wall
 javax.media.j3d.Transform3D orient()
          This function rotates the Wall to the right orientation orientation
 javax.media.j3d.Transform3D positionOrigin()
          This function translates the Wall' Origin to the center of the goal
 java.lang.String toString()
          This function returns the description of this object
 
Methods inherited from class Gui3DFieldComponent
position, transform
 
Methods inherited from class javax.media.j3d.TransformGroup
cloneNode, getTransform, setTransform
 
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

Gui3DLine

public Gui3DLine(float _fXPos,
                 float _fZPos,
                 float _fLength,
                 float _fOrientation)
This constructor creates a new Gui3DLine object.

Parameters:
_fLength - The length of the line
_fOrientation - The orientation of the line
Method Detail

orient

public javax.media.j3d.Transform3D orient()
This function rotates the Wall to the right orientation orientation

Specified by:
orient in class Gui3DFieldComponent
Returns:
Transform3D
Since:
1.0

positionOrigin

public javax.media.j3d.Transform3D positionOrigin()
This function translates the Wall' Origin to the center of the goal

Overrides:
positionOrigin in class Gui3DFieldComponent
Returns:
Transform3D
Since:
1.0

create

public void create()
This function creates a box which is the wall

Specified by:
create in class Gui3DFieldComponent
Returns:
void
Since:
1.0

toString

public java.lang.String toString()
This function returns the description of this object

Overrides:
toString in class Gui3DFieldComponent
Returns:
String
Since:
1.0