VTK
dox/Filtering/vtkInterpolatedVelocityField.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkInterpolatedVelocityField.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00053 #ifndef __vtkInterpolatedVelocityField_h
00054 #define __vtkInterpolatedVelocityField_h
00055 
00056 #include "vtkAbstractInterpolatedVelocityField.h"
00057 
00058 class VTK_FILTERING_EXPORT vtkInterpolatedVelocityField 
00059   : public vtkAbstractInterpolatedVelocityField
00060 {
00061 public:
00062   vtkTypeMacro( vtkInterpolatedVelocityField,
00063                         vtkAbstractInterpolatedVelocityField );
00064   void PrintSelf( ostream & os, vtkIndent indent );
00065 
00068   static vtkInterpolatedVelocityField * New();
00069   
00074   virtual void AddDataSet( vtkDataSet * dataset );
00075   
00077   virtual int FunctionValues( double * x, double * f );
00078   
00081   virtual void SetLastCellId( vtkIdType c, int dataindex );
00082   
00084 
00085   virtual void SetLastCellId( vtkIdType c ) 
00086     { this->Superclass::SetLastCellId( c ); }
00088 
00089 protected:
00090   vtkInterpolatedVelocityField() { }
00091   ~vtkInterpolatedVelocityField() { }
00092 
00094 
00100   virtual int FunctionValues( vtkDataSet * ds, double * x, double * f )
00101     { return this->Superclass::FunctionValues( ds, x, f ); }
00103 
00104 private:
00105   vtkInterpolatedVelocityField
00106     ( const vtkInterpolatedVelocityField & );  // Not implemented.
00107   void operator = 
00108     ( const vtkInterpolatedVelocityField & );  // Not implemented.
00109 };
00110 
00111 #endif