VTK
vtkInterpolatedVelocityField.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInterpolatedVelocityField.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
53 #ifndef vtkInterpolatedVelocityField_h
54 #define vtkInterpolatedVelocityField_h
55 
56 #include "vtkFiltersFlowPathsModule.h" // For export macro
58 
61 {
62 public:
63  vtkTypeMacro( vtkInterpolatedVelocityField,
65  void PrintSelf( ostream & os, vtkIndent indent );
66 
70 
75  virtual void AddDataSet( vtkDataSet * dataset );
76 
78  virtual int FunctionValues( double * x, double * f );
79 
81  virtual int SnapPointOnCell(double* pOrigin, double* pProj);
82 
85  virtual void SetLastCellId( vtkIdType c, int dataindex );
86 
88 
89  virtual void SetLastCellId( vtkIdType c )
90  { this->Superclass::SetLastCellId( c ); }
92 
93 protected:
96 
98 
104  virtual int FunctionValues( vtkDataSet * ds, double * x, double * f )
105  { return this->Superclass::FunctionValues( ds, x, f ); }
107 
108 private:
110  ( const vtkInterpolatedVelocityField & ); // Not implemented.
111  void operator =
112  ( const vtkInterpolatedVelocityField & ); // Not implemented.
113 };
114 
115 #endif
#define VTKFILTERSFLOWPATHS_EXPORT
virtual int FunctionValues(vtkDataSet *ds, double *x, double *f)
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
virtual void AddDataSet(vtkDataSet *dataset)=0
void PrintSelf(ostream &os, vtkIndent indent)
An abstract class for obtaining the interpolated velocity values at a point.
int vtkIdType
Definition: vtkType.h:275
virtual int FunctionValues(double *x, double *f)=0
a simple class to control print indentation
Definition: vtkIndent.h:38
A concrete class for obtaining the interpolated velocity values at a point.
virtual void SetLastCellId(vtkIdType c)
static vtkObject * New()