47 #ifndef vtkTemporalInterpolatedVelocityField_h 48 #define vtkTemporalInterpolatedVelocityField_h 50 #include "vtkFiltersFlowPathsModule.h" 56 #define ID_INSIDE_ALL 00 57 #define ID_OUTSIDE_ALL 01 58 #define ID_OUTSIDE_T0 02 59 #define ID_OUTSIDE_T1 03 86 int FunctionValuesAtT(
int T,
double* x,
double* u);
95 {this->SetVectorsSelection(fieldName);}
102 void SetDataSetAtTime(
int I,
int N,
double T,
vtkDataSet* dataset,
bool staticdataset);
110 bool GetCachedCellIds(
vtkIdType id[2],
int ds[2]);
111 void SetCachedCellIds(
vtkIdType id[2],
int ds[2]);
125 int TestPoint(
double* x);
126 int QuickTestPoint(
double* x);
134 vtkGetVector3Macro(LastGoodVelocity,
double);
141 vtkGetMacro(CurrentWeight,
double);
149 bool GetVorticityData(
150 int T,
double pcoords[3],
double *weights,
153 void ShowCacheResults();
154 bool IsStatic(
int datasetIndex);
156 void AdvanceOneTimeStep();
163 virtual void SetVectorsSelection(
const char *v);
168 double LastGoodVelocity[3];
A helper class for interpolating between times during particle tracing.
represent and manipulate point attribute data
abstract class to specify dataset behavior
Interface for obtaining interpolated velocity values.
virtual int FunctionValues(double *x, double *f)=0
Evaluate functions at x_j.
provides thread-safe access to cells
std::vector< bool > StaticDataSets
dynamic, self-adjusting array of double
void SelectVectors(const char *fieldName)
If you want to work with an arbitrary vector array, then set its name here.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
abstract superclass for arrays of numeric data
Abstract interface for sets of functions.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...