85 #ifndef vtkStreamTracer_h
86 #define vtkStreamTracer_h
119 vtkSetVector3Macro(StartPosition,
double);
120 vtkGetVector3Macro(StartPosition,
double);
181 void SetIntegratorType(
int type);
182 int GetIntegratorType();
184 {this->SetIntegratorType(RUNGE_KUTTA2);};
186 {this->SetIntegratorType(RUNGE_KUTTA4);};
188 {this->SetIntegratorType(RUNGE_KUTTA45);};
193 void SetInterpolatorTypeToDataSetPointLocator();
197 void SetInterpolatorTypeToCellLocator();
201 vtkSetMacro(MaximumPropagation,
double);
202 vtkGetMacro(MaximumPropagation,
double);
210 void SetIntegrationStepUnit(
int unit );
219 vtkSetMacro(InitialIntegrationStep,
double);
220 vtkGetMacro(InitialIntegrationStep,
double);
227 vtkSetMacro(MinimumIntegrationStep,
double);
228 vtkGetMacro(MinimumIntegrationStep,
double);
235 vtkSetMacro(MaximumIntegrationStep,
double);
236 vtkGetMacro(MaximumIntegrationStep,
double);
242 vtkSetMacro(MaximumError,
double);
243 vtkGetMacro(MaximumError,
double);
248 vtkSetMacro(MaximumNumberOfSteps,
vtkIdType);
249 vtkGetMacro(MaximumNumberOfSteps,
vtkIdType);
255 vtkSetMacro(TerminalSpeed,
double);
256 vtkGetMacro(TerminalSpeed,
double);
261 vtkGetMacro(SurfaceStreamlines,
bool);
262 vtkSetMacro(SurfaceStreamlines,
bool);
263 vtkBooleanMacro(SurfaceStreamlines,
bool);
277 INTERPOLATOR_WITH_CELL_LOCATOR
284 vtkSetClampMacro(IntegrationDirection,
int, FORWARD, BOTH);
285 vtkGetMacro(IntegrationDirection,
int);
287 {this->SetIntegrationDirection(FORWARD);};
289 {this->SetIntegrationDirection(BACKWARD);};
291 {this->SetIntegrationDirection(BOTH);};
297 vtkSetMacro(ComputeVorticity,
bool);
298 vtkGetMacro(ComputeVorticity,
bool);
304 vtkSetMacro(RotationScale,
double);
305 vtkGetMacro(RotationScale,
double);
321 void SetInterpolatorType(
int interpType );
333 { vtkErrorMacro( <<
"AddInput() must be called with a vtkDataSet not a vtkDataObject."); };
349 const char *vecFieldName,
352 void SimpleIntegrate(
double seed[3],
358 void GenerateNormals(
vtkPolyData* output,
double* firstNormal,
const char *vecName);
363 double StartPosition[3];
382 void ConvertIntervals(
double& step,
double& minStep,
double& maxStep,
384 static double ConvertToLength(
double interval,
int unit,
double cellLength );
416 friend class PStreamTracerUtils;
#define VTKFILTERSFLOWPATHS_EXPORT
void SetIntegrationDirectionToBoth()
static const double EPSILON
virtual int FillInputPortInformation(int port, vtkInformation *info)
represent and manipulate point attribute data
virtual vtkExecutive * CreateDefaultExecutive()
abstract class to specify dataset behavior
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
An abstract class for obtaining the interpolated velocity values at a point.
void AddInput(vtkDataObject *)
bool GenerateNormalsInIntegrate
vtkCompositeDataSet * InputData
concrete dataset represents vertices, lines, polygons, and triangle strips
Superclass for all pipeline executives in VTK.
double MinimumIntegrationStep
provides thread-safe access to cells
vtkIdType MaximumNumberOfSteps
Proxy object to connect input/output ports.
dynamic, self-adjusting array of double
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
void SetIntegrationDirectionToForward()
dynamic, self-adjusting array of int
abstract superclass for composite (multi-block or AMR) datasets
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
int GetIntegrationStepUnit()
list of point or cell ids
vtkInitialValueProblemSolver * Integrator
abstract superclass for arrays of numeric data
void SetIntegratorTypeToRungeKutta4()
double MaximumIntegrationStep
void SetIntegratorTypeToRungeKutta2()
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void SetIntegratorTypeToRungeKutta45()
double InitialIntegrationStep
vtkAbstractInterpolatedVelocityField * InterpolatorPrototype
void SetIntegrationDirectionToBackward()
double MaximumPropagation
bool HasMatchingPointAttributes
general representation of visualization data
Integrate a set of ordinary differential equations (initial value problem) in time.