sim.portrayal3d.simple
Class Arrow
java.lang.Object
sim.portrayal3d.simple.Arrow
- public class Arrow
- extends java.lang.Object
Constructor Summary |
Arrow()
|
Method Summary |
static javax.media.j3d.TransformGroup |
createArrow(float ArrowDia,
javax.vecmath.Vector3f stPt,
javax.vecmath.Vector3f endPt,
java.lang.String stLabel,
java.lang.String endLabel)
Creates a 3D arrow between points stPt
and endPt
if either label is not null, it adds a Text2D
obect at the appropriate end. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultArrowColor
public static javax.vecmath.Color3f defaultArrowColor
defaultLabelColor
public static javax.vecmath.Color3f defaultLabelColor
f3d
public static javax.media.j3d.Font3D f3d
size
public static int size
Arrow
public Arrow()
createArrow
public static javax.media.j3d.TransformGroup createArrow(float ArrowDia,
javax.vecmath.Vector3f stPt,
javax.vecmath.Vector3f endPt,
java.lang.String stLabel,
java.lang.String endLabel)
- Creates a 3D arrow between points
stPt
and endPt
if either label is not null, it adds a Text2D
obect at the appropriate end.