VTK
dox/Graphics/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 "vtkTableAlgorithm.h"
00038 
00039 class vtkDataSet;
00040 class vtkTable;
00041 class vtkDataSetAttributes;
00042 
00043 class VTK_GRAPHICS_EXPORT vtkExtractTemporalFieldData : public vtkTableAlgorithm
00044 {
00045 public:
00046   static vtkExtractTemporalFieldData *New();
00047   vtkTypeMacro(vtkExtractTemporalFieldData,vtkTableAlgorithm);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00052   vtkGetMacro(NumberOfTimeSteps,int);    
00054 
00055 protected:
00056   vtkExtractTemporalFieldData();
00057   ~vtkExtractTemporalFieldData();
00058 
00059   virtual int ProcessRequest(vtkInformation*,
00060                              vtkInformationVector**,
00061                              vtkInformationVector*);
00062 
00063   virtual int RequestInformation(vtkInformation* request,
00064                                  vtkInformationVector** inputVector, 
00065                                  vtkInformationVector* outputVector);
00066   virtual int RequestData(vtkInformation* request,
00067                           vtkInformationVector** inputVector,
00068                           vtkInformationVector* outputVector);
00069 
00070 
00071   virtual int FillInputPortInformation(int port, vtkInformation* info);
00072 
00074 
00076   void CopyDataToOutput(vtkInformation* inInfo,
00077     vtkDataSet *input, vtkTable *output);
00079 
00080   int NumberOfTimeSteps;
00081 
00082 private:
00083   vtkExtractTemporalFieldData(const vtkExtractTemporalFieldData&);  // Not implemented.
00084   void operator=(const vtkExtractTemporalFieldData&);  // Not implemented.
00085 };
00086 
00087 #endif
00088 
00089 
00090