public class Trajectory extends Object
Modifier and Type | Field and Description |
---|---|
double |
currentTime |
int |
currentTimeIndex |
double |
initialTime |
int |
initialTimeIndex |
Constructor and Description |
---|
Trajectory(TrajectoryManager trajMan,
float startX,
float startY,
float startZ,
int[] startCell,
float[] cellWeights,
byte[] startColor,
double initialTime) |
Modifier and Type | Method and Description |
---|---|
void |
forward(FlowInfo info,
float[][] flow_values,
byte[][] color_values,
GriddedSet spatial_set,
FlatField terrain,
int direction,
float timeStep) |
void |
forwardRK4(FlowInfo info,
float[][] flow_values,
float[][] flow_valuesB,
float[][] flow_valuesC,
byte[][] color_values,
GriddedSet spatial_set,
FlatField terrain,
int direction,
float timeStep) |
static float[][] |
makeCircle(float radius,
float[] uvec,
float[] norm,
int npts,
float[] center) |
static void |
makeCylinderSegment(float[][] last_circleXYZ,
float[] pt0,
byte[][] clr0,
float[][] circleXYZ,
float[] pt1,
byte[][] clr1,
float[] coords,
float[] normls,
byte[] colors,
int[] vcnt_a) |
void |
makeCylinderStrip(int q,
float[] uvecPath,
float[] uvecPathNext,
float[] pt0,
float[] pt1,
byte[][] clr0,
byte[][] clr1,
float size,
int npts,
float[] coords,
byte[] colors,
float[] normls,
float[] elbowCoords,
byte[] elbowColors,
float[] elbowNormals,
int[] vertCnt,
int[] elbowVertCnt,
int[] elbowStrips,
int[] elbowStripCnt) |
public int initialTimeIndex
public int currentTimeIndex
public double initialTime
public double currentTime
public Trajectory(TrajectoryManager trajMan, float startX, float startY, float startZ, int[] startCell, float[] cellWeights, byte[] startColor, double initialTime)
public void forward(FlowInfo info, float[][] flow_values, byte[][] color_values, GriddedSet spatial_set, FlatField terrain, int direction, float timeStep) throws VisADException, RemoteException
VisADException
RemoteException
public void forwardRK4(FlowInfo info, float[][] flow_values, float[][] flow_valuesB, float[][] flow_valuesC, byte[][] color_values, GriddedSet spatial_set, FlatField terrain, int direction, float timeStep) throws VisADException, RemoteException
VisADException
RemoteException
public void makeCylinderStrip(int q, float[] uvecPath, float[] uvecPathNext, float[] pt0, float[] pt1, byte[][] clr0, byte[][] clr1, float size, int npts, float[] coords, byte[] colors, float[] normls, float[] elbowCoords, byte[] elbowColors, float[] elbowNormals, int[] vertCnt, int[] elbowVertCnt, int[] elbowStrips, int[] elbowStripCnt)
public static float[][] makeCircle(float radius, float[] uvec, float[] norm, int npts, float[] center)
radius
- uvec
- unit vector normal to plane containing circlenorm
- unit vector perpendicular to uvecnpts
- number of points aroundcenter
- public static void makeCylinderSegment(float[][] last_circleXYZ, float[] pt0, byte[][] clr0, float[][] circleXYZ, float[] pt1, byte[][] clr1, float[] coords, float[] normls, byte[] colors, int[] vcnt_a)
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.