89 #ifndef vtkEvenlySpacedStreamlines2D_h
90 #define vtkEvenlySpacedStreamlines2D_h
92 #include "vtkFiltersFlowPathsModule.h"
135 vtkSetVector3Macro(StartPosition,
double);
136 vtkGetVector3Macro(StartPosition,
double);
151 void SetIntegratorType(
int type);
152 int GetIntegratorType();
153 void SetIntegratorTypeToRungeKutta2();
154 void SetIntegratorTypeToRungeKutta4();
161 void SetInterpolatorTypeToDataSetPointLocator();
167 void SetInterpolatorTypeToCellLocator();
175 void SetIntegrationStepUnit(
int unit );
182 vtkSetMacro(MaximumNumberOfSteps,
vtkIdType);
183 vtkGetMacro(MaximumNumberOfSteps,
vtkIdType);
191 vtkSetMacro(MinimumNumberOfLoopPoints,
vtkIdType);
192 vtkGetMacro(MinimumNumberOfLoopPoints,
vtkIdType);
204 vtkSetMacro(InitialIntegrationStep,
double);
205 vtkGetMacro(InitialIntegrationStep,
double);
213 vtkSetMacro(SeparatingDistance,
double);
214 vtkGetMacro(SeparatingDistance,
double);
222 vtkSetMacro(SeparatingDistanceRatio,
double);
223 vtkGetMacro(SeparatingDistanceRatio,
double);
231 vtkSetMacro(ClosedLoopMaximumDistance,
double);
232 vtkGetMacro(ClosedLoopMaximumDistance,
double);
241 vtkSetMacro(LoopAngle,
double);
242 vtkGetMacro(LoopAngle,
double);
250 vtkSetMacro(TerminalSpeed,
double);
251 vtkGetMacro(TerminalSpeed,
double);
260 vtkSetMacro(ComputeVorticity,
bool);
261 vtkGetMacro(ComputeVorticity,
bool);
279 void SetInterpolatorType(
int interpType );
296 vtkErrorMacro(<<
"AddInput() must be called with a vtkDataSet not a vtkDataObject.");
306 double ConvertToLength(
double interval,
int unit,
double cellLength );
309 void InitializeSuperposedGrid(
double* bounds);
311 void AddToCurrentPoints(
vtkIdType pointId);
312 template<
typename T>
void InitializePoints(T&
points);
313 void InitializeMinPointIds();
315 static bool IsStreamlineLooping(
318 static bool IsStreamlineTooCloseToOthers(
321 template<
typename CellCheckerType>
322 bool ForEachCell(
double*
point, CellCheckerType checker,
326 template <
int distanceType>
332 const char* GetInputArrayToProcessName();
333 int ComputeCellLength(
double* cellLength);
336 double StartPosition[3];
373 std::vector<std::vector<std::array<double,3> > >
AllPoints;