26#ifndef vtkCompositeInterpolatedVelocityField_h
27#define vtkCompositeInterpolatedVelocityField_h
30#include "vtkFiltersFlowPathsModule.h"
35VTK_ABI_NAMESPACE_BEGIN
64 using Superclass::FunctionValues;
103 vtkGetMacro(LastDataSetIndex,
int);
110 vtkGetMacro(CacheDataSetHit,
int);
111 vtkGetMacro(CacheDataSetMiss,
int);
143 std::array<double, 6> Bounds{};
An abstract class for obtaining the interpolated velocity values at a point.
An abstract class for obtaining the interpolated velocity values at a point.
void SetLastCellId(vtkIdType c, int dataindex) override
Set the cell id cached by the last evaluation within a specified dataset.
int FunctionValues(vtkDataSet *ds, double *x, double *f) override
Evaluate the velocity field f at point (x, y, z) in a specified dataset by either involving vtkPointL...
std::vector< DataSetBoundsInformation > DataSetsBoundsInfo
void SetLastCellId(vtkIdType c) override
Set the cell id cached by the last evaluation.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
virtual void AddDataSet(vtkDataSet *dataset, size_t maxCellSize=0)
Add a dataset for implicit velocity function evaluation.
void CopyParameters(vtkAbstractInterpolatedVelocityField *from) override
Copy essential parameters between instances of this class.
vtkCompositeInterpolatedVelocityField()
static vtkCompositeInterpolatedVelocityField * New()
Construct a vtkCompositeInterpolatedVelocityField class.
int FunctionValues(double *x, double *f) override
Evaluate the velocity field f at point (x, y, z).
int InsideTest(double *x)
Check if point x is inside the dataset.
virtual int SnapPointOnCell(double *pOrigin, double *pProj)
Project the provided point on current cell, current dataset.
~vtkCompositeInterpolatedVelocityField() override
abstract class to specify dataset behavior
virtual int FunctionValues(double *x, double *f)
Evaluate functions at x_j.
a simple class to control print indentation
A helper class for interpolating between times during particle tracing.