36 #ifndef __vtkvmtkStaticTemporalInterpolatedVelocityField_h 37 #define __vtkvmtkStaticTemporalInterpolatedVelocityField_h 39 #include "vtkvmtkWin32Header.h" 40 #include "vtkVersion.h" 42 #if (VTK_MAJOR_VERSION <= 5) 43 #include "vtkAbstractInterpolatedVelocityField.h" 45 #include "vtkInterpolatedVelocityField.h" 49 #if (VTK_MAJOR_VERSION > 5) 50 class vtkAbstractInterpolatedVelocityFieldDataSetsType;
54 #if (VTK_MAJOR_VERSION <= 5)
55 :
public vtkAbstractInterpolatedVelocityField
57 :
public vtkInterpolatedVelocityField
61 #if (VTK_MAJOR_VERSION <= 5) 63 vtkAbstractInterpolatedVelocityField );
66 vtkInterpolatedVelocityField );
69 void PrintSelf( ostream & os, vtkIndent indent ) VTK_OVERRIDE;
75 #if (VTK_MAJOR_VERSION <= 5) 80 virtual void AddDataSet( vtkDataSet * dataset );
83 vtkGetObjectMacro(TimeStepsTable,vtkTable);
84 virtual void SetTimeStepsTable(vtkTable*);
86 vtkSetMacro(Periodic,
int);
87 vtkGetMacro(Periodic,
int);
88 vtkBooleanMacro(Periodic,
int);
90 vtkSetMacro(VelocityScale,
double);
91 vtkGetMacro(VelocityScale,
double);
93 vtkSetMacro(UseVectorComponents,
int);
94 vtkGetMacro(UseVectorComponents,
int);
95 vtkBooleanMacro(UseVectorComponents,
int);
97 vtkSetStringMacro(VectorPrefix);
98 vtkGetStringMacro(VectorPrefix);
100 vtkSetStringMacro(Component0Prefix);
101 vtkGetStringMacro(Component0Prefix);
103 vtkSetStringMacro(Component1Prefix);
104 vtkGetStringMacro(Component1Prefix);
106 vtkSetStringMacro(Component2Prefix);
107 vtkGetStringMacro(Component2Prefix);
109 #if (VTK_MAJOR_VERSION <= 5) 111 virtual int FunctionValues(
double * x,
double * f ) VTK_OVERRIDE;
116 virtual void SetLastCellId( vtkIdType c,
int dataindex ) VTK_OVERRIDE;
121 { this->Superclass::SetLastCellId( c ); }
124 virtual void CopyParameters( vtkAbstractInterpolatedVelocityField * from ) VTK_OVERRIDE;
136 virtual int FunctionValues( vtkDataSet * ds,
double * x,
double * f ) VTK_OVERRIDE;
138 void FindTimeRowId(
double time,
int& prevRowId,
int& nextRowId,
double& p);
140 void BuildArrayName(
char* prefix,
int index,
char* name);
154 #if (VTK_MAJOR_VERSION > 5) 155 int LastDataSetIndex;
A concrete class for obtaining the interpolated velocity values at a point.
vtkTable * TimeStepsTable
virtual void SetLastCellId(vtkIdType c) VTK_OVERRIDE