VTK
vtkCellLocatorInterpolatedVelocityField.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCellLocatorInterpolatedVelocityField.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 =========================================================================*/
48 #ifndef vtkCellLocatorInterpolatedVelocityField_h
49 #define vtkCellLocatorInterpolatedVelocityField_h
50 
51 #include "vtkFiltersFlowPathsModule.h" // For export macro
53 
55 class vtkCellLocatorInterpolatedVelocityFieldCellLocatorsType;
56 
58 {
59 public:
62  void PrintSelf( ostream & os, vtkIndent indent );
63 
67 
69 
70  vtkGetObjectMacro( LastCellLocator, vtkAbstractCellLocator );
72 
74 
76  vtkGetObjectMacro( CellLocatorPrototype, vtkAbstractCellLocator );
78 
81  void SetCellLocatorPrototype( vtkAbstractCellLocator * prototype );
82 
91  virtual void AddDataSet( vtkDataSet * dataset );
92 
94  virtual int FunctionValues( double * x, double * f );
95 
98  virtual void SetLastCellId( vtkIdType c, int dataindex );
99 
101 
102  virtual void SetLastCellId( vtkIdType c )
103  { this->Superclass::SetLastCellId( c ); }
105 
106 protected:
109 
111 
117  double * x, double * f );
119 
121 
125  virtual int FunctionValues( vtkDataSet * ds, double * x, double * f )
126  { return this->Superclass::FunctionValues( ds, x, f ); }
128 
129 private:
130  vtkAbstractCellLocator * LastCellLocator;
131  vtkAbstractCellLocator * CellLocatorPrototype;
132  vtkCellLocatorInterpolatedVelocityFieldCellLocatorsType * CellLocators;
133 
135  ( const vtkCellLocatorInterpolatedVelocityField & ); // Not implemented.
136  void operator = ( const vtkCellLocatorInterpolatedVelocityField & ); // Not implemented.
137 };
138 
139 #endif
#define VTKFILTERSFLOWPATHS_EXPORT
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
virtual void AddDataSet(vtkDataSet *dataset)=0
an abstract base class for locators which find cells
An abstract class for obtaining the interpolated velocity values at a point.
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 void CopyParameters(vtkAbstractInterpolatedVelocityField *from)
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 int FunctionValues(vtkDataSet *ds, double *x, double *f)
static vtkObject * New()