Go to the documentation of this file.
86 #ifndef vtkStreamTracer_h
87 #define vtkStreamTracer_h
89 #include "vtkFiltersFlowPathsModule.h"
124 vtkSetVector3Macro(StartPosition,
double);
125 vtkGetVector3Macro(StartPosition,
double);
192 void SetIntegratorType(
int type);
193 int GetIntegratorType();
195 {this->SetIntegratorType(RUNGE_KUTTA2);};
197 {this->SetIntegratorType(RUNGE_KUTTA4);};
199 {this->SetIntegratorType(RUNGE_KUTTA45);};
206 void SetInterpolatorTypeToDataSetPointLocator();
212 void SetInterpolatorTypeToCellLocator();
219 vtkGetMacro(MaximumPropagation,
double);
228 void SetIntegrationStepUnit(
int unit );
240 vtkGetMacro(InitialIntegrationStep,
double);
251 vtkGetMacro(MinimumIntegrationStep,
double);
262 vtkGetMacro(MaximumIntegrationStep,
double);
270 vtkGetMacro(MaximumError,
double);
278 vtkGetMacro(MaximumNumberOfSteps,
vtkIdType);
286 vtkGetMacro(TerminalSpeed,
double);
293 vtkGetMacro(SurfaceStreamlines,
bool);
308 INTERPOLATOR_WITH_CELL_LOCATOR
316 vtkSetClampMacro(IntegrationDirection,
int, FORWARD, BOTH);
317 vtkGetMacro(IntegrationDirection,
int);
319 {this->SetIntegrationDirection(FORWARD);};
321 {this->SetIntegrationDirection(BACKWARD);};
323 {this->SetIntegrationDirection(BOTH);};
333 vtkGetMacro(ComputeVorticity,
bool);
342 vtkGetMacro(RotationScale,
double);
360 void SetInterpolatorType(
int interpType );
372 { vtkErrorMacro( <<
"AddInput() must be called with a vtkDataSet not a vtkDataObject."); };
388 const char *vecFieldName,
391 double& integrationTime);
392 double SimpleIntegrate(
double seed[3],
398 void GenerateNormals(
vtkPolyData* output,
double* firstNormal,
const char *vecName);
403 double StartPosition[3];
421 void ConvertIntervals(
double& step,
double& minStep,
double& maxStep,
423 static double ConvertToLength(
double interval,
int unit,
double cellLength );
453 friend class PStreamTracerUtils;
virtual vtkExecutive * CreateDefaultExecutive()
Create a default executive.
vtkCompositeDataSet * InputData
void SetIntegratorTypeToRungeKutta2()
bool HasMatchingPointAttributes
bool GenerateNormalsInIntegrate
represent and manipulate point attribute data
int GetIntegrationStepUnit()
vtkInitialValueProblemSolver * Integrator
double MaximumPropagation
void SetIntegrationDirectionToForward()
abstract superclass for arrays of numeric data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract superclass for composite (multi-block or AMR) datasets
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Superclass for all pipeline executives in VTK.
vtkIdType MaximumNumberOfSteps
void SetIntegrationDirectionToBoth()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetIntegratorTypeToRungeKutta45()
double MinimumIntegrationStep
static const double EPSILON
a simple class to control print indentation
dynamic, self-adjusting array of int
list of point or cell ids
void AddInput(vtkDataObject *)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
abstract class to specify dataset behavior
An abstract class for obtaining the interpolated velocity values at a point.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkAbstractInterpolatedVelocityField * InterpolatorPrototype
Proxy object to connect input/output ports.
double InitialIntegrationStep
concrete dataset represents vertices, lines, polygons, and triangle strips
provides thread-safe access to cells
@ INTERPOLATOR_WITH_DATASET_POINT_LOCATOR
dynamic, self-adjusting array of double
void SetIntegrationDirectionToBackward()
double MaximumIntegrationStep
Integrate a set of ordinary differential equations (initial value problem) in time.
general representation of visualization data
void SetIntegratorTypeToRungeKutta4()
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.