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 
52 
54 class vtkCellLocatorInterpolatedVelocityFieldCellLocatorsType;
55 
57 {
58 public:
61  void PrintSelf( ostream & os, vtkIndent indent );
62 
66 
68 
69  vtkGetObjectMacro( LastCellLocator, vtkAbstractCellLocator );
71 
73 
75  vtkGetObjectMacro( CellLocatorPrototype, vtkAbstractCellLocator );
77 
80  void SetCellLocatorPrototype( vtkAbstractCellLocator * prototype );
81 
84 
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 VTK_GRAPHICS_EXPORT
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
an abstract base class for locators which find cells
An abstract class for obtaining the interpolated velocity values at a point.
int vtkIdType
Definition: vtkType.h:255
virtual int FunctionValues(double *x, double *f)=0
virtual void CopyParameters(vtkAbstractInterpolatedVelocityField *from)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int FunctionValues(double *x, double *f)=0
a simple class to control print indentation
Definition: vtkIndent.h:37
A concrete class for obtaining the interpolated velocity values at a point.
virtual void AddDataSet(vtkDataSet *dataset)=0
virtual int FunctionValues(vtkDataSet *ds, double *x, double *f)
static vtkObject * New()