Documentation of 'visad.TrajectoryManager' Java class
TrajectoryManager
visad

Class TrajectoryManager



  • public class TrajectoryManager
    extends java.lang.Object
    • Method Detail

      • addPair

        public void addPair(float[] startPt,
                            float[] stopPt,
                            byte[] startColor,
                            byte[] stopColor)
      • getCoordinateCount

        public int getCoordinateCount()
      • getColorCount

        public int getColorCount()
      • getNumberOfTrajectories

        public int getNumberOfTrajectories()
      • computeDisplacement

        public static float[][] computeDisplacement(FlowInfo info,
                                                    float[][] spatial_values,
                                                    float[][] flow_values,
                                                    float timeStep)
                                             throws VisADException
        Throws:
        VisADException
      • reset

        public void reset()
      • checkTime

        public void checkTime(int timeIdx)
      • clean

        public void clean()
      • cleanDefStrp

        public void cleanDefStrp()
      • updateInterpolators

        public void updateInterpolators()
      • getStartPointsFromDomain

        public void getStartPointsFromDomain(int trajForm,
                                             int skip,
                                             int zstart,
                                             int zskip,
                                             Gridded3DSet spatial_set,
                                             byte[][] color_values,
                                             float[][] startPts,
                                             byte[][] startClrs,
                                             float[][] flowValues,
                                             float ribbonWidthFac)
                                      throws VisADException
        Throws:
        VisADException
      • getStartPointsFromDomain3D

        public void getStartPointsFromDomain3D(int trajForm,
                                               int skip,
                                               int zstart,
                                               int skipZ,
                                               float[][] locs,
                                               int lenX,
                                               int lenY,
                                               int lenZ,
                                               byte[][] color_values,
                                               float[][] startPts,
                                               byte[][] startClrs,
                                               float[][] flowValues,
                                               float ribbonWidthFac)
                                        throws VisADException
        Throws:
        VisADException
      • getStartPointsFromDomain2D

        public void getStartPointsFromDomain2D(int trajForm,
                                               int skip,
                                               float[][] setLocs,
                                               int lenX,
                                               int lenY,
                                               byte[][] color_values,
                                               float[][] startPts,
                                               byte[][] startClrs,
                                               float[][] flowValues,
                                               float ribbonWidthFac)
                                        throws VisADException
        Throws:
        VisADException
      • smooth

        public static float[][] smooth(float[][] values0,
                                       float[][] values1,
                                       float[][] values2,
                                       TrajectoryParams.SmoothParams smoothParams)
      • mean

        public static float[][] mean(float[][] values0,
                                     float[][] values1)
      • mean

        public static float[] mean(float[] values0,
                                   float[] values1)
      • AxB

        public static float[] AxB(float[] A,
                                  float[] B)
      • AdotB

        public static float AdotB(float[] A,
                                  float[] B)
      • getRotatedVecInPlane

        public static double[] getRotatedVecInPlane(double[] T,
                                                    double[] S,
                                                    double[] P,
                                                    double[] V,
                                                    double theta,
                                                    double[] rotV)
      • makeCone

        public void makeCone(float[][] basePts,
                             float[] vertex,
                             byte[][] color,
                             float[] coords,
                             byte[] colors,
                             float[] normals,
                             int[] vertCnt)
      • makeTracerGeometry

        public VisADGeometryArray makeTracerGeometry(java.util.ArrayList<float[]> anchors,
                                                     int direction,
                                                     float trcrSize,
                                                     double[] scale,
                                                     boolean fill)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.