85 #ifndef __vtkStreamTracer_h
86 #define __vtkStreamTracer_h
118 vtkSetVector3Macro(StartPosition,
double);
119 vtkGetVector3Macro(StartPosition,
double);
178 void SetIntegratorType(
int type);
179 int GetIntegratorType();
181 {this->SetIntegratorType(RUNGE_KUTTA2);};
183 {this->SetIntegratorType(RUNGE_KUTTA4);};
185 {this->SetIntegratorType(RUNGE_KUTTA45);};
190 void SetInterpolatorTypeToDataSetPointLocator();
194 void SetInterpolatorTypeToCellLocator();
198 vtkSetMacro(MaximumPropagation,
double);
199 vtkGetMacro(MaximumPropagation,
double);
207 void SetIntegrationStepUnit(
int unit );
216 vtkSetMacro(InitialIntegrationStep,
double);
217 vtkGetMacro(InitialIntegrationStep,
double);
224 vtkSetMacro(MinimumIntegrationStep,
double);
225 vtkGetMacro(MinimumIntegrationStep,
double);
232 vtkSetMacro(MaximumIntegrationStep,
double);
233 vtkGetMacro(MaximumIntegrationStep,
double);
239 vtkSetMacro(MaximumError,
double);
240 vtkGetMacro(MaximumError,
double);
245 vtkSetMacro(MaximumNumberOfSteps,
vtkIdType);
246 vtkGetMacro(MaximumNumberOfSteps,
vtkIdType);
252 vtkSetMacro(TerminalSpeed,
double);
253 vtkGetMacro(TerminalSpeed,
double);
267 INTERPOLATOR_WITH_CELL_LOCATOR
274 vtkSetClampMacro(IntegrationDirection,
int, FORWARD, BOTH);
275 vtkGetMacro(IntegrationDirection,
int);
277 {this->SetIntegrationDirection(FORWARD);};
279 {this->SetIntegrationDirection(BACKWARD);};
281 {this->SetIntegrationDirection(BOTH);};
287 vtkSetMacro(ComputeVorticity,
bool);
288 vtkGetMacro(ComputeVorticity,
bool);
294 vtkSetMacro(RotationScale,
double);
295 vtkGetMacro(RotationScale,
double);
311 void SetInterpolatorType(
int interpType );
323 { vtkErrorMacro( <<
"AddInput() must be called with a vtkDataSet not a vtkDataObject."); };
338 const char *vecFieldName,
341 void SimpleIntegrate(
double seed[3],
347 void GenerateNormals(
vtkPolyData* output,
double* firstNormal,
const char *vecName);
352 double StartPosition[3];
371 void ConvertIntervals(
double& step,
double& minStep,
double& maxStep,
373 static double ConvertToLength(
double interval,
int unit,
double cellLength );
void SetIntegrationDirectionToBoth()
static const double EPSILON
virtual int FillInputPortInformation(int port, vtkInformation *info)
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
general representation of visualization data
Integrate a set of ordinary differential equations (initial value problem) in time.