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 
72 
74 
76  vtkGetObjectMacro( CellLocatorPrototype, vtkAbstractCellLocator );
78 
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
vtkAbstractInterpolatedVelocityField::SetLastCellId
virtual void SetLastCellId(vtkIdType c)
Definition: vtkAbstractInterpolatedVelocityField.h:113
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkAbstractInterpolatedVelocityField::FunctionValues
virtual int FunctionValues(double *x, double *f)=0
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkCompositeInterpolatedVelocityField.h
vtkCellLocatorInterpolatedVelocityField::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
VTKFILTERSFLOWPATHS_EXPORT
#define VTKFILTERSFLOWPATHS_EXPORT
Definition: vtkFiltersFlowPathsModule.h:15
vtkFiltersFlowPathsModule.h
vtkgl::x
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
vtkCellLocatorInterpolatedVelocityField::~vtkCellLocatorInterpolatedVelocityField
~vtkCellLocatorInterpolatedVelocityField()
vtkCellLocatorInterpolatedVelocityField::SetLastCellId
virtual void SetLastCellId(vtkIdType c)
Definition: vtkCellLocatorInterpolatedVelocityField.h:102
vtkCompositeInterpolatedVelocityField
An abstract class for obtaining the interpolated velocity values at a point.
Definition: vtkCompositeInterpolatedVelocityField.h:85
vtkCellLocatorInterpolatedVelocityField::FunctionValues
int FunctionValues(vtkDataSet *ds, vtkAbstractCellLocator *loc, double *x, double *f)
vtkCellLocatorInterpolatedVelocityField::vtkCellLocatorInterpolatedVelocityField
vtkCellLocatorInterpolatedVelocityField()
vtkgl::c
const GLubyte * c
Definition: vtkgl.h:15720
vtkCellLocatorInterpolatedVelocityField::CopyParameters
virtual void CopyParameters(vtkAbstractInterpolatedVelocityField *from)
vtkCellLocatorInterpolatedVelocityField
A concrete class for obtaining the interpolated velocity values at a point.
Definition: vtkCellLocatorInterpolatedVelocityField.h:58
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkCellLocatorInterpolatedVelocityField::FunctionValues
virtual int FunctionValues(double *x, double *f)
vtkgl::f
GLclampf f
Definition: vtkgl.h:14181
vtkAbstractCellLocator
an abstract base class for locators which find cells
Definition: vtkAbstractCellLocator.h:50
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkAbstractInterpolatedVelocityField
An abstract class for obtaining the interpolated velocity values at a point.
Definition: vtkAbstractInterpolatedVelocityField.h:85
vtkCellLocatorInterpolatedVelocityField::AddDataSet
virtual void AddDataSet(vtkDataSet *dataset)
vtkCellLocatorInterpolatedVelocityField::SetLastCellId
virtual void SetLastCellId(vtkIdType c, int dataindex)
vtkCellLocatorInterpolatedVelocityField::SetCellLocatorPrototype
void SetCellLocatorPrototype(vtkAbstractCellLocator *prototype)
vtkCellLocatorInterpolatedVelocityField::FunctionValues
virtual int FunctionValues(vtkDataSet *ds, double *x, double *f)
Definition: vtkCellLocatorInterpolatedVelocityField.h:125
vtkCellLocatorInterpolatedVelocityField::New
static vtkCellLocatorInterpolatedVelocityField * New()