46 #ifndef __vtkTemporalInterpolatedVelocityField_h
47 #define __vtkTemporalInterpolatedVelocityField_h
52 #include <vtkstd/vector>
55 #define ID_INSIDE_ALL 00
56 #define ID_OUTSIDE_ALL 01
57 #define ID_OUTSIDE_T0 02
58 #define ID_OUTSIDE_T1 03
81 int FunctionValuesAtT(
int T,
double* x,
double* u);
89 {this->SetVectorsSelection(fieldName);}
94 void SetDataSetAtTime(
int I,
int N,
double T,
vtkDataSet* dataset,
bool staticdataset);
100 bool GetCachedCellIds(
vtkIdType id[2],
int ds[2]);
101 void SetCachedCellIds(
vtkIdType id[2],
int ds[2]);
111 int TestPoint(
double* x);
112 int QuickTestPoint(
double* x);
118 vtkGetVector3Macro(LastGoodVelocity,
double);
124 vtkGetMacro(CurrentWeight,
double);
132 bool GetVorticityData(
133 int T,
double pcoords[3],
double *weights,
136 void ShowCacheResults();
137 bool IsStatic(
int datasetIndex);
139 void AdvanceOneTimeStep();
146 virtual void SetVectorsSelection(
const char *v);
151 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
vtkstd::vector< bool > StaticDataSets
Interface for obtaining interpolated velocity values.
virtual int FunctionValues(double *x, double *f)=0
provides thread-safe access to cells
dynamic, self-adjusting array of double
void SelectVectors(const char *fieldName)
a simple class to control print indentation
abstract superclass for arrays of numeric data
Abstract interface for sets of functions.
virtual void PrintSelf(ostream &os, vtkIndent indent)