uml3d.visual
Class Arrow

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Leaf
                    |
                    +--javax.media.j3d.Shape3D
                          |
                          +--uml3d.visual.Arrow

public class Arrow
extends javax.media.j3d.Shape3D

An Arrow is a Shape3D which consists of 5 layers. Each layer is a strip where the lower circle is of radius r[i] and the upper circles is of radius r[i+1]. Also, their height is determined by h[i] and h[i+1]. Thus, all three forms can be constructed by varying heights and radiuses. The orientation is never changed. This must be done by means of the wrapping TransformGroup. Only the length varies by shrinking the third layer where usually both radiuses are equal. The Constructor does not do anything meaningful. After creation, radiuses and heights can be set. Afterwards createGeometry must be invoked to create and set the real Geometry. Normals are not set properly. (todo)


Fields inherited from class javax.media.j3d.Shape3D
ALLOW_APPEARANCE_READ, ALLOW_APPEARANCE_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE, ALLOW_GEOMETRY_READ, ALLOW_GEOMETRY_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_PICK, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
Arrow()
           
 
Method Summary
 void createGeometry()
           
 
Methods inherited from class javax.media.j3d.Shape3D
cloneNode, duplicateNode, getAppearance, getCollisionBounds, getGeometry, intersect, intersect, setAppearance, setCollisionBounds, setGeometry
 
Methods inherited from class javax.media.j3d.Leaf
updateNodeReferences
 
Methods inherited from class javax.media.j3d.Node
cloneTree, cloneTree, cloneTree, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, duplicateSceneGraphObject, getCapability, getUserData, isCompiled, isLive, setCapability, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Arrow

public Arrow()
Method Detail

createGeometry

public void createGeometry()