Changeset 2550 for branches/blt4/packages/vizservers/vtkvis/RpStreamlines.h
- Timestamp:
- Sep 21, 2011, 2:33:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/packages/vizservers/vtkvis/RpStreamlines.h
r2542 r2550 44 44 COLOR_CONSTANT 45 45 }; 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 }; 46 60 47 61 Streamlines(); … … 77 91 virtual void setClippingPlanes(vtkPlaneCollection *planes); 78 92 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); 80 100 81 101 void setSeedToRake(double start[3], double end[3], int numPoints); … … 92 112 int numSides, int numPoints); 93 113 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 94 128 void setMaxPropagation(double length); 129 130 void setMaxNumberOfSteps(int steps); 131 132 void setTerminalSpeed(double speed); 95 133 96 134 void setLineTypeToLines(); … … 130 168 static void getRandomPoint(double pt[3], const double bounds[6]); 131 169 static void getRandomPointInTriangle(double pt[3], 170 const double v0[3], 132 171 const double v1[3], 133 const double v2[3], 134 const double v3[3]); 172 const double v2[3]); 135 173 static void getRandomPointOnLineSegment(double pt[3], 136 174 const double endpt[3], 137 175 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]); 138 181 static void getRandomCellPt(double pt[3], vtkDataSet *ds); 139 182
Note: See TracChangeset
for help on using the changeset viewer.