visad
Class Trajectory
- java.lang.Object
-
- visad.Trajectory
-
public class Trajectory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description doublecurrentTimeintcurrentTimeIndexdoubleinitialTimeintinitialTimeIndex
-
Constructor Summary
Constructors Constructor and Description Trajectory(TrajectoryManager trajMan, float startX, float startY, float startZ, int[] startCell, float[] cellWeights, byte[] startColor, double initialTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddPair(float[] startPt, float[] stopPt, byte[] startColor, byte[] stopColor)voidforward(FlowInfo info, float[][] flow_values, byte[][] color_values, GriddedSet spatial_set, int direction, float timeStep)VisADGeometryArraymakeCylinderStrip(float[] T, float[] S, float[] pt0, float[] pt1, byte[][] clr0, byte[][] clr1, float size, int npts, float[] coords, byte[] colors, float[] normls, int[] vertCnt)
-
-
-
Field Detail
-
initialTimeIndex
public int initialTimeIndex
-
currentTimeIndex
public int currentTimeIndex
-
initialTime
public double initialTime
-
currentTime
public double currentTime
-
-
Constructor Detail
-
Trajectory
public Trajectory(TrajectoryManager trajMan, float startX, float startY, float startZ, int[] startCell, float[] cellWeights, byte[] startColor, double initialTime)
-
-
Method Detail
-
forward
public void forward(FlowInfo info, float[][] flow_values, byte[][] color_values, GriddedSet spatial_set, int direction, float timeStep) throws VisADException
- Throws:
VisADException
-
addPair
public void addPair(float[] startPt, float[] stopPt, byte[] startColor, byte[] stopColor)
-
makeCylinderStrip
public VisADGeometryArray makeCylinderStrip(float[] T, float[] S, float[] pt0, float[] pt1, byte[][] clr0, byte[][] clr1, float size, int npts, float[] coords, byte[] colors, float[] normls, int[] vertCnt)
-
-
DMelt 3.0 © DataMelt by jWork.ORG