VTK
dox/Filters/FlowPaths/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 "vtkFiltersFlowPathsModule.h" // For export macro
00057 #include "vtkCompositeInterpolatedVelocityField.h"
00058 
00059 class VTKFILTERSFLOWPATHS_EXPORT vtkInterpolatedVelocityField
00060   : public vtkCompositeInterpolatedVelocityField
00061 {
00062 public:
00063   vtkTypeMacro( vtkInterpolatedVelocityField,
00064                         vtkCompositeInterpolatedVelocityField );
00065   void PrintSelf( ostream & os, vtkIndent indent );
00066 
00069   static vtkInterpolatedVelocityField * New();
00070 
00075   virtual void AddDataSet( vtkDataSet * dataset );
00076 
00078   virtual int FunctionValues( double * x, double * f );
00079 
00082   virtual void SetLastCellId( vtkIdType c, int dataindex );
00083 
00085 
00086   virtual void SetLastCellId( vtkIdType c )
00087     { this->Superclass::SetLastCellId( c ); }
00089 
00090 protected:
00091   vtkInterpolatedVelocityField() { }
00092   ~vtkInterpolatedVelocityField() { }
00093 
00095 
00101   virtual int FunctionValues( vtkDataSet * ds, double * x, double * f )
00102     { return this->Superclass::FunctionValues( ds, x, f ); }
00104 
00105 private:
00106   vtkInterpolatedVelocityField
00107     ( const vtkInterpolatedVelocityField & );  // Not implemented.
00108   void operator =
00109     ( const vtkInterpolatedVelocityField & );  // Not implemented.
00110 };
00111 
00112 #endif