Go to the documentation of this file.
68 #ifndef vtkGenericStreamTracer_h
69 #define vtkGenericStreamTracer_h
157 {this->SetIntegratorType(RUNGE_KUTTA2);};
159 {this->SetIntegratorType(RUNGE_KUTTA4);};
161 {this->SetIntegratorType(RUNGE_KUTTA45);};
173 {this->SetMaximumPropagationUnit(TIME_UNIT);};
175 {this->SetMaximumPropagationUnit(LENGTH_UNIT);};
177 {this->SetMaximumPropagationUnit(CELL_LENGTH_UNIT);};
190 {this->SetMinimumIntegrationStepUnit(TIME_UNIT);};
192 {this->SetMinimumIntegrationStepUnit(LENGTH_UNIT);};
194 {this->SetMinimumIntegrationStepUnit(CELL_LENGTH_UNIT);};
207 {this->SetMaximumIntegrationStepUnit(TIME_UNIT);};
209 {this->SetMaximumIntegrationStepUnit(LENGTH_UNIT);};
211 {this->SetMaximumIntegrationStepUnit(CELL_LENGTH_UNIT);};
224 {this->SetInitialIntegrationStepUnit(TIME_UNIT);};
226 {this->SetInitialIntegrationStepUnit(LENGTH_UNIT);};
228 {this->SetInitialIntegrationStepUnit(CELL_LENGTH_UNIT);};
257 this->SetInitialIntegrationStepUnit(unit);
258 this->SetMinimumIntegrationStepUnit(unit);
259 this->SetMaximumIntegrationStepUnit(unit);
278 {this->SetIntegrationDirection(FORWARD);};
280 {this->SetIntegrationDirection(BACKWARD);};
282 {this->SetIntegrationDirection(BOTH);};
306 {this->SetInputVectorsSelection(fieldName);}
322 {
vtkErrorMacro( <<
"AddInput() must be called with a vtkGenericDataSet not a vtkDataObject."); };
335 double vorticity[3]);
360 double StartPosition[3];
383 double cellLength,
double speed);
385 double cellLength,
double speed);
387 double cellLength,
double speed);
389 double cellLength,
double speed);
void SetMinimumIntegrationStepUnit(int unit)
void SetIntegrator(vtkInitialValueProblemSolver *)
IntervalInformation MaximumPropagation
#define vtkGetObjectMacro(name, type)
static double ConvertToUnit(IntervalInformation &interval, int unit, double cellLength, double speed)
static double ConvertToTime(IntervalInformation &interval, double cellLength, double speed)
void SetMinimumIntegrationStep(int unit, double step)
void SetInterpolatorPrototype(vtkGenericInterpolatedVelocityField *ivf)
void SetSourceData(vtkDataSet *source)
int GetMaximumIntegrationStepUnit()
#define vtkSetVector3Macro(name, type)
void SetInitialIntegrationStep(int unit, double step)
int GetMaximumPropagationUnit()
void SimpleIntegrate(double seed[3], double lastPoint[3], double delt, vtkGenericInterpolatedVelocityField *func)
void SetMaximumPropagation(double max)
Interface for obtaining interpolated velocity values.
void SetIntegratorTypeToRungeKutta4()
void SetMaximumIntegrationStepUnitToCellLengthUnit()
IntervalInformation MinimumIntegrationStep
void Integrate(vtkGenericDataSet *input0, vtkPolyData *output, vtkDataArray *seedSource, vtkIdList *seedIds, vtkIntArray *integrationDirections, double lastPoint[3], vtkGenericInterpolatedVelocityField *func)
IntervalInformation InitialIntegrationStep
#define vtkTypeMacro(thisClass, superclass)
void SetIntegratorTypeToRungeKutta2()
void SetIntegratorTypeToRungeKutta45()
~vtkGenericStreamTracer()
IntervalInformation MaximumIntegrationStep
void SetInitialIntegrationStepUnitToLengthUnit()
abstract superclass for arrays of numeric data
int GetMinimumIntegrationStepUnit()
void SetMaximumIntegrationStepUnitToTimeUnit()
void SetInitialIntegrationStepUnit(int unit)
int FillInputPortInformation(int port, vtkInformation *info)
static const double EPSILON
void SetInitialIntegrationStepUnitToTimeUnit()
defines dataset interface
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
double GetMaximumPropagation()
vtkIdType MaximumNumberOfSteps
void SetMaximumPropagationUnitToLengthUnit()
vtkGenericInterpolatedVelocityField * InterpolatorPrototype
void SetMaximumIntegrationStepUnitToLengthUnit()
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void SetIntegrationDirectionToForward()
void SetMaximumIntegrationStep(int unit, double step)
void InitializeSeeds(vtkDataArray *&seeds, vtkIdList *&seedIds, vtkIntArray *&integrationDirections)
#define vtkSetClampMacro(name, type, min, max)
int GetInitialIntegrationStepUnit()
void SetIntervalInformation(int unit, double interval, IntervalInformation ¤tValues)
#define vtkGetVector3Macro(name, type)
void SetMaximumPropagationUnitToCellLengthUnit()
void SetMaximumIntegrationStepUnit(int unit)
void SetInitialIntegrationStepUnitToCellLengthUnit()
int GenerateNormalsInIntegrate
a simple class to control print indentation
static double ConvertToCellLength(IntervalInformation &interval, double cellLength, double speed)
#define vtkSetStringMacro(name)
dynamic, self-adjusting array of int
void CalculateVorticity(vtkGenericAdaptorCell *cell, double pcoords[3], vtkGenericAttribute *attribute, double vorticity[3])
void AddInputData(vtkGenericDataSet *in)
list of point or cell ids
#define VTKFILTERSGENERIC_EXPORT
void SetMaximumPropagationUnit(int unit)
double GetMinimumIntegrationStep()
void SetIntegrationDirectionToBackward()
void SetMaximumPropagationUnitToTimeUnit()
void SetMaximumIntegrationStep(double step)
void GenerateNormals(vtkPolyData *output, double *firstNormal)
#define vtkGetMacro(name, type)
vtkGetStringMacro(ExtensionsString)
double GetMaximumIntegrationStep()
void SetIntegratorType(int type)
abstract class to specify dataset behavior
vtkBooleanMacro(IgnoreDriverBugs, bool)
double GetInitialIntegrationStep()
vtkSetMacro(IgnoreDriverBugs, bool)
void SetIntegrationDirectionToBoth()
void SetIntegrationStepUnit(int unit)
void ConvertIntervals(double &step, double &minStep, double &maxStep, int direction, double cellLength, double speed)
char * InputVectorsSelection
Proxy object to connect input/output ports.
void PrintSelf(ostream &os, vtkIndent indent)
void SetMinimumIntegrationStepUnitToLengthUnit()
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetMinimumIntegrationStepUnitToCellLengthUnit()
void SetMaximumPropagation(int unit, double max)
void SetInitialIntegrationStep(double step)
void SetIntervalInformation(int unit, IntervalInformation ¤tValues)
abstract class defined API for attribute data
vtkInitialValueProblemSolver * Integrator
void SetMinimumIntegrationStep(double step)
Integrate a set of ordinary differential equations (initial value problem) in time.
general representation of visualization data
GLuint GLuint GLsizei GLenum type
static double ConvertToLength(IntervalInformation &interval, double cellLength, double speed)
static vtkGenericStreamTracer * New()
void SetMinimumIntegrationStepUnitToTimeUnit()
void SelectInputVectors(const char *fieldName)
int CheckInputs(vtkGenericInterpolatedVelocityField *&func, vtkInformationVector **inputVector)
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Superclass for algorithms that produce only polydata as output.
void AddInput(vtkDataObject *)