Go to the documentation of this file.
85 #ifndef vtkStreamTracer_h
86 #define vtkStreamTracer_h
184 {this->SetIntegratorType(RUNGE_KUTTA2);};
186 {this->SetIntegratorType(RUNGE_KUTTA4);};
188 {this->SetIntegratorType(RUNGE_KUTTA45);};
277 INTERPOLATOR_WITH_CELL_LOCATOR
287 {this->SetIntegrationDirection(FORWARD);};
289 {this->SetIntegrationDirection(BACKWARD);};
291 {this->SetIntegrationDirection(BOTH);};
333 {
vtkErrorMacro( <<
"AddInput() must be called with a vtkDataSet not a vtkDataObject."); };
349 const char *vecFieldName,
363 double StartPosition[3];
416 friend class PStreamTracerUtils;
static double ConvertToLength(double interval, int unit, double cellLength)
vtkCompositeDataSet * InputData
#define vtkGetObjectMacro(name, type)
void SetIntegratorTypeToRungeKutta2()
void ConvertIntervals(double &step, double &minStep, double &maxStep, int direction, double cellLength)
bool HasMatchingPointAttributes
bool GenerateNormalsInIntegrate
represent and manipulate point attribute data
void CalculateVorticity(vtkGenericCell *cell, double pcoords[3], vtkDoubleArray *cellVectors, double vorticity[3])
#define vtkSetVector3Macro(name, type)
int GetIntegrationStepUnit()
void SetSourceData(vtkDataSet *source)
void GenerateNormals(vtkPolyData *output, double *firstNormal, const char *vecName)
void Integrate(vtkPointData *inputData, vtkPolyData *output, vtkDataArray *seedSource, vtkIdList *seedIds, vtkIntArray *integrationDirections, double lastPoint[3], vtkAbstractInterpolatedVelocityField *func, int maxCellSize, int vecType, const char *vecFieldName, double &propagation, vtkIdType &numSteps)
vtkInitialValueProblemSolver * Integrator
double MaximumPropagation
void SimpleIntegrate(double seed[3], double lastPoint[3], double stepSize, vtkAbstractInterpolatedVelocityField *func)
void SetIntegrationStepUnit(int unit)
#define vtkTypeMacro(thisClass, superclass)
#define VTKFILTERSFLOWPATHS_EXPORT
void SetIntegrationDirectionToForward()
void InitializeSeeds(vtkDataArray *&seeds, vtkIdList *&seedIds, vtkIntArray *&integrationDirections, vtkDataSet *source)
abstract superclass for arrays of numeric data
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
abstract superclass for composite (multi-block or AMR) datasets
static double ConvertToLength(IntervalInformation &interval, double cellLength)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void SetInterpolatorTypeToCellLocator()
@ INTERPOLATOR_WITH_DATASET_POINT_LOCATOR
#define vtkSetClampMacro(name, type, min, max)
Superclass for all pipeline executives in VTK.
vtkIdType MaximumNumberOfSteps
#define vtkGetVector3Macro(name, type)
void SetIntegrator(vtkInitialValueProblemSolver *)
void SetIntegrationDirectionToBoth()
void PrintSelf(ostream &os, vtkIndent indent)
void SetIntegratorTypeToRungeKutta45()
double MinimumIntegrationStep
static const double EPSILON
int SetupOutput(vtkInformation *inInfo, vtkInformation *outInfo)
a simple class to control print indentation
dynamic, self-adjusting array of int
list of point or cell ids
void AddInput(vtkDataObject *)
#define vtkGetMacro(name, type)
abstract class to specify dataset behavior
An abstract class for obtaining the interpolated velocity values at a point.
vtkBooleanMacro(IgnoreDriverBugs, bool)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkSetMacro(IgnoreDriverBugs, bool)
int CheckInputs(vtkAbstractInterpolatedVelocityField *&func, int *maxCellSize)
vtkAbstractInterpolatedVelocityField * InterpolatorPrototype
Proxy object to connect input/output ports.
virtual vtkExecutive * CreateDefaultExecutive()
double InitialIntegrationStep
void SetInterpolatorType(int interpType)
concrete dataset represents vertices, lines, polygons, and triangle strips
provides thread-safe access to cells
dynamic, self-adjusting array of double
void SetInterpolatorTypeToDataSetPointLocator()
void SetIntegrationDirectionToBackward()
double MaximumIntegrationStep
Integrate a set of ordinary differential equations (initial value problem) in time.
general representation of visualization data
GLuint GLuint GLsizei GLenum type
static vtkStreamTracer * New()
void SetIntegratorTypeToRungeKutta4()
void SetInterpolatorPrototype(vtkAbstractInterpolatedVelocityField *ivf)
virtual int FillInputPortInformation(int, vtkInformation *)
Superclass for algorithms that produce only polydata as output.
void SetIntegratorType(int type)