90 #ifndef vtkLagrangianParticleTracker_h 91 #define vtkLagrangianParticleTracker_h 93 #include "vtkFiltersFlowPathsModule.h" 121 STEP_LAST_CELL_LENGTH = 0,
122 STEP_CUR_CELL_LENGTH = 1,
123 STEP_LAST_CELL_VEL_DIR = 2,
124 STEP_CUR_CELL_VEL_DIR = 3,
125 STEP_LAST_CELL_DIV_THEO = 4,
126 STEP_CUR_CELL_DIV_THEO = 5
171 vtkGetMacro(CellLengthComputationMode,
int);
179 vtkGetMacro(StepFactor,
double);
187 vtkGetMacro(StepFactorMin,
double);
195 vtkGetMacro(StepFactorMax,
double);
203 vtkGetMacro(MaximumNumberOfSteps,
int);
213 vtkGetMacro(AdaptiveStepReintegration,
bool);
221 vtkSetMacro(UseParticlePathsRenderingThreshold,
bool);
222 vtkGetMacro(UseParticlePathsRenderingThreshold,
bool);
230 vtkSetMacro(ParticlePathsRenderingPointsThreshold,
int);
231 vtkGetMacro(ParticlePathsRenderingPointsThreshold,
int);
239 vtkGetMacro(CreateOutOfDomainParticle,
bool);
312 ~vtkLagrangianParticleTracker() VTK_OVERRIDE;
335 virtual
void InitializeParticleData(
vtkFieldData* particleData,
int maxTuples = 0);
337 virtual
void InitializeInteractionData(
vtkFieldData* data);
339 virtual
bool FinalizeOutputs(
vtkPolyData* particlePathsOutput,
342 static
void InsertPolyVertexCell(
vtkPolyData* polydata);
350 void InsertPathOutputPoint(vtkLagrangianParticle* particle,
354 void InsertInteractionOutputPoint(vtkLagrangianParticle* particle,
355 unsigned int interactedSurfaceFlatIndex,
vtkDataObject* interactionOutput);
357 void InsertSeedData(vtkLagrangianParticle* particle,
vtkFieldData* data);
358 void InsertPathData(vtkLagrangianParticle* particle,
vtkFieldData* data);
359 void InsertInteractionData(vtkLagrangianParticle* particle,
vtkFieldData* data);
360 void InsertParticleData(vtkLagrangianParticle* particle,
vtkFieldData* data,
int stepEnum);
362 double ComputeCellLength(vtkLagrangianParticle* particle);
364 bool ComputeNextStep(
365 double* xprev,
double* xnext,
366 double t,
double& delT,
double& delTActual,
367 double minStep,
double maxStep,
368 int& integrationRes);
370 virtual
bool CheckParticlePathsRenderingThreshold(
vtkPolyData* particlePathsOutput);
375 int CellLengthComputationMode;
377 double StepFactorMin;
378 double StepFactorMax;
379 int MaximumNumberOfSteps;
380 bool AdaptiveStepReintegration;
381 bool UseParticlePathsRenderingThreshold;
382 int ParticlePathsRenderingPointsThreshold;
383 bool CreateOutOfDomainParticle;
387 double MinimumVelocityMagnitude;
388 double MinimumReductionFactor;
390 vtkLagrangianParticleTracker(const vtkLagrangianParticleTracker&) VTK_DELETE_FUNCTION;
391 void operator=(const vtkLagrangianParticleTracker&) VTK_DELETE_FUNCTION;
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
represent and manipulate point attribute data
vtkTypeUInt32 vtkMTimeType
abstract class to specify dataset behavior
static vtkDataObjectAlgorithm * New()
concrete dataset represents vertices, lines, polygons, and triangle strips
Proxy object to connect input/output ports.
dynamic, self-adjusting array of double
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
a simple class to control print indentation
vtkFunctionSet abstract implementation to be used in the vtkLagrangianParticleTracker integrator...
list of point or cell ids
abstract superclass for arrays of numeric data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Basis class for Lagrangian particles.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
boost::graph_traits< vtkGraph *>::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Superclass for algorithms that produce only data object as output.
object to represent cell connectivity
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data
Filter to inject and track particles in a flow.
represent and manipulate 3D points
Fast Simple Class for dealing with 3D bounds.
represent and manipulate fields of data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Integrate a set of ordinary differential equations (initial value problem) in time.