92 #ifndef vtkEvenlySpacedStreamlines2D_h
93 #define vtkEvenlySpacedStreamlines2D_h
95 #include "vtkFiltersFlowPathsModule.h"
138 vtkSetVector3Macro(StartPosition,
double);
139 vtkGetVector3Macro(StartPosition,
double);
154 void SetIntegratorType(
int type);
155 int GetIntegratorType();
156 void SetIntegratorTypeToRungeKutta2();
157 void SetIntegratorTypeToRungeKutta4();
164 void SetInterpolatorTypeToDataSetPointLocator();
170 void SetInterpolatorTypeToCellLocator();
178 void SetIntegrationStepUnit(
int unit );
185 vtkSetMacro(MaximumNumberOfSteps,
vtkIdType);
186 vtkGetMacro(MaximumNumberOfSteps,
vtkIdType);
194 vtkSetMacro(MinimumNumberOfLoopPoints,
vtkIdType);
195 vtkGetMacro(MinimumNumberOfLoopPoints,
vtkIdType);
207 vtkSetMacro(InitialIntegrationStep,
double);
208 vtkGetMacro(InitialIntegrationStep,
double);
216 vtkSetMacro(SeparatingDistance,
double);
217 vtkGetMacro(SeparatingDistance,
double);
225 vtkSetMacro(SeparatingDistanceRatio,
double);
226 vtkGetMacro(SeparatingDistanceRatio,
double);
234 vtkSetMacro(ClosedLoopMaximumDistance,
double);
235 vtkGetMacro(ClosedLoopMaximumDistance,
double);
244 vtkSetMacro(LoopAngle,
double);
245 vtkGetMacro(LoopAngle,
double);
253 vtkSetMacro(TerminalSpeed,
double);
254 vtkGetMacro(TerminalSpeed,
double);
263 vtkSetMacro(ComputeVorticity,
bool);
264 vtkGetMacro(ComputeVorticity,
bool);
282 void SetInterpolatorType(
int interpType );
299 vtkErrorMacro(<<
"AddInput() must be called with a vtkDataSet not a vtkDataObject.");
309 double ConvertToLength(
double interval,
int unit,
double cellLength );
312 void InitializeSuperposedGrid(
double* bounds);
314 void AddToCurrentPoints(
vtkIdType pointId);
315 template<
typename T>
void InitializePoints(T&
points);
316 void InitializeMinPointIds();
318 static bool IsStreamlineLooping(
321 static bool IsStreamlineTooCloseToOthers(
324 template<
typename CellCheckerType>
325 bool ForEachCell(
double*
point, CellCheckerType checker,
329 template <
int distanceType>
335 const char* GetInputArrayToProcessName();
336 int ComputeCellLength(
double* cellLength);
339 double StartPosition[3];
376 std::vector<std::vector<std::array<double,3> > >
AllPoints;