VTK
dox/Filters/Extraction/vtkExtractTemporalFieldData.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExtractTemporalFieldData.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 =========================================================================*/
00034 #ifndef __vtkExtractTemporalFieldData_h
00035 #define __vtkExtractTemporalFieldData_h
00036 
00037 #include "vtkFiltersExtractionModule.h" // For export macro
00038 #include "vtkTableAlgorithm.h"
00039 
00040 class vtkDataSet;
00041 class vtkTable;
00042 class vtkDataSetAttributes;
00043 
00044 class VTKFILTERSEXTRACTION_EXPORT vtkExtractTemporalFieldData : public vtkTableAlgorithm
00045 {
00046 public:
00047   static vtkExtractTemporalFieldData *New();
00048   vtkTypeMacro(vtkExtractTemporalFieldData,vtkTableAlgorithm);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00053   vtkGetMacro(NumberOfTimeSteps,int);
00055 
00056 protected:
00057   vtkExtractTemporalFieldData();
00058   ~vtkExtractTemporalFieldData();
00059 
00060   virtual int ProcessRequest(vtkInformation*,
00061                              vtkInformationVector**,
00062                              vtkInformationVector*);
00063 
00064   virtual int RequestInformation(vtkInformation* request,
00065                                  vtkInformationVector** inputVector,
00066                                  vtkInformationVector* outputVector);
00067   virtual int RequestData(vtkInformation* request,
00068                           vtkInformationVector** inputVector,
00069                           vtkInformationVector* outputVector);
00070 
00071 
00072   virtual int FillInputPortInformation(int port, vtkInformation* info);
00073 
00075 
00077   void CopyDataToOutput(vtkInformation* inInfo,
00078     vtkDataSet *input, vtkTable *output);
00080 
00081   int NumberOfTimeSteps;
00082 
00083 private:
00084   vtkExtractTemporalFieldData(const vtkExtractTemporalFieldData&);  // Not implemented.
00085   void operator=(const vtkExtractTemporalFieldData&);  // Not implemented.
00086 };
00087 
00088 #endif
00089 
00090 
00091