VTK
dox/Filters/FlowPaths/vtkCompositeInterpolatedVelocityField.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkCompositeInterpolatedVelocityField.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 =========================================================================*/
00066 #ifndef __vtkCompositeInterpolatedVelocityField_h
00067 #define __vtkCompositeInterpolatedVelocityField_h
00068 
00069 #include "vtkFiltersFlowPathsModule.h" // For export macro
00070 #include "vtkAbstractInterpolatedVelocityField.h"
00071 
00072 //BTX
00073 #include <vector> // STL Header; Required for vector
00074 //ETX
00075 
00076 class vtkDataSet;
00077 //BTX
00078 class vtkDataArray;
00079 //ETX
00080 class vtkPointData;
00081 class vtkGenericCell;
00082 class vtkCompositeInterpolatedVelocityFieldDataSetsType;
00083 
00084 class VTKFILTERSFLOWPATHS_EXPORT vtkCompositeInterpolatedVelocityField : public vtkAbstractInterpolatedVelocityField
00085 {
00086 public:
00087   vtkTypeMacro( vtkCompositeInterpolatedVelocityField, vtkAbstractInterpolatedVelocityField);
00088   void PrintSelf( ostream & os, vtkIndent indent );
00089 
00091 
00097   vtkGetMacro( LastDataSetIndex, int );
00098   vtkGetObjectMacro( LastDataSet, vtkDataSet );
00100 
00101 
00106   virtual void AddDataSet( vtkDataSet * dataset ) = 0;
00107 
00108 
00109 protected:
00110   vtkCompositeInterpolatedVelocityField();
00111   ~vtkCompositeInterpolatedVelocityField();
00112 
00113   static const double TOLERANCE_SCALE;
00114 
00115 
00116   int       LastDataSetIndex;
00117   vtkCompositeInterpolatedVelocityFieldDataSetsType * DataSets;
00118 
00119 private:
00120   vtkCompositeInterpolatedVelocityField
00121     ( const vtkCompositeInterpolatedVelocityField & );  // Not implemented.
00122   void operator = ( const vtkCompositeInterpolatedVelocityField & );  // Not implemented.
00123 };
00124 
00125 //BTX
00126 typedef std::vector< vtkDataSet * > DataSetsTypeBase;
00127 class   vtkCompositeInterpolatedVelocityFieldDataSetsType: public DataSetsTypeBase { };
00128 //ETX
00129 
00130 #endif