Ignore:
Timestamp:
Sep 18, 2011, 10:49:05 PM (13 years ago)
Author:
ldelgass
Message:

Merge 2494:2522 from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vtkvis_threaded/RpStreamlines.h

    r2454 r2523  
    4444        COLOR_CONSTANT
    4545    };
     46    enum StepUnit {
     47        LENGTH_UNIT,
     48        CELL_LENGTH_UNIT
     49    };
     50    enum IntegratorType {
     51        RUNGE_KUTTA2,
     52        RUNGE_KUTTA4,
     53        RUNGE_KUTTA45
     54    };
     55    enum IntegrationDirection {
     56        FORWARD,
     57        BACKWARD,
     58        BOTH
     59    };
    4660
    4761    Streamlines();
     
    7791    virtual void setClippingPlanes(vtkPlaneCollection *planes);
    7892
    79     void setSeedToRandomPoints(int numPoints);
     93    void setSeedToMeshPoints();
     94
     95    void setSeedToFilledMesh(int numPoints);
     96
     97    void setSeedToMeshPoints(vtkDataSet *ds);
     98
     99    void setSeedToFilledMesh(vtkDataSet *ds, int numPoints);
    80100
    81101    void setSeedToRake(double start[3], double end[3], int numPoints);
     
    92112                                int numSides, int numPoints);
    93113
     114    void setIntegrator(IntegratorType integrator);
     115
     116    void setIntegrationDirection(IntegrationDirection dir);
     117
     118    void setIntegrationStepUnit(StepUnit unit);
     119
     120    void setInitialIntegrationStep(double step);
     121
     122    void setMinimumIntegrationStep(double step);
     123
     124    void setMaximumIntegrationStep(double step);
     125
     126    void setMaximumError(double error);
     127
    94128    void setMaxPropagation(double length);
     129
     130    void setMaxNumberOfSteps(int steps);
     131
     132    void setTerminalSpeed(double speed);
    95133
    96134    void setLineTypeToLines();
     
    130168    static void getRandomPoint(double pt[3], const double bounds[6]);
    131169    static void getRandomPointInTriangle(double pt[3],
     170                                         const double v0[3],
    132171                                         const double v1[3],
    133                                          const double v2[3],
    134                                          const double v3[3]);
     172                                         const double v2[3]);
    135173    static void getRandomPointOnLineSegment(double pt[3],
    136174                                            const double endpt[3],
    137175                                            const double endpt2[3]);
     176    static void getRandomPointInTetrahedron(double pt[3],
     177                                            const double v0[3],
     178                                            const double v1[3],
     179                                            const double v2[3],
     180                                            const double v3[3]);
    138181    static void getRandomCellPt(double pt[3], vtkDataSet *ds);
    139182
Note: See TracChangeset for help on using the changeset viewer.