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:
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
vtkAbstractInterpolatedVelocityField::SetLastCellId
virtual void SetLastCellId(vtkIdType c)
Definition: vtkAbstractInterpolatedVelocityField.h:113
vtkInterpolatedVelocityField::New
static vtkInterpolatedVelocityField * New()
vtkAbstractInterpolatedVelocityField::FunctionValues
virtual int FunctionValues(double *x, double *f)=0
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkCompositeInterpolatedVelocityField.h
vtkInterpolatedVelocityField::SetLastCellId
virtual void SetLastCellId(vtkIdType c)
Definition: vtkInterpolatedVelocityField.h:89
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
VTKFILTERSFLOWPATHS_EXPORT
#define VTKFILTERSFLOWPATHS_EXPORT
Definition: vtkFiltersFlowPathsModule.h:15
vtkInterpolatedVelocityField::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkFiltersFlowPathsModule.h
vtkgl::x
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
vtkInterpolatedVelocityField::AddDataSet
virtual void AddDataSet(vtkDataSet *dataset)
vtkCompositeInterpolatedVelocityField
An abstract class for obtaining the interpolated velocity values at a point.
Definition: vtkCompositeInterpolatedVelocityField.h:85
vtkInterpolatedVelocityField::FunctionValues
virtual int FunctionValues(double *x, double *f)
vtkgl::c
const GLubyte * c
Definition: vtkgl.h:15720
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInterpolatedVelocityField::vtkInterpolatedVelocityField
vtkInterpolatedVelocityField()
Definition: vtkInterpolatedVelocityField.h:94
vtkInterpolatedVelocityField::SetLastCellId
virtual void SetLastCellId(vtkIdType c, int dataindex)
vtkInterpolatedVelocityField::FunctionValues
virtual int FunctionValues(vtkDataSet *ds, double *x, double *f)
Definition: vtkInterpolatedVelocityField.h:104
vtkgl::f
GLclampf f
Definition: vtkgl.h:14181
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkInterpolatedVelocityField::~vtkInterpolatedVelocityField
~vtkInterpolatedVelocityField()
Definition: vtkInterpolatedVelocityField.h:95
vtkInterpolatedVelocityField
A concrete class for obtaining the interpolated velocity values at a point.
Definition: vtkInterpolatedVelocityField.h:61
vtkInterpolatedVelocityField::SnapPointOnCell
virtual int SnapPointOnCell(double *pOrigin, double *pProj)