VTK
dox/Filters/Extraction/vtkExtractDataOverTime.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExtractDataOverTime.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 =========================================================================*/
00027 #ifndef __vtkExtractDataOverTime_h
00028 #define __vtkExtractDataOverTime_h
00029 
00030 #include "vtkFiltersExtractionModule.h" // For export macro
00031 #include "vtkPointSetAlgorithm.h"
00032 
00033 class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataOverTime : public vtkPointSetAlgorithm
00034 {
00035 public:
00036   static vtkExtractDataOverTime *New();
00037   vtkTypeMacro(vtkExtractDataOverTime,vtkPointSetAlgorithm);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00041 
00042   vtkSetMacro(PointIndex,int);
00043   vtkGetMacro(PointIndex,int);
00045 
00047 
00048   vtkGetMacro(NumberOfTimeSteps,int);
00050 
00051 protected:
00052   vtkExtractDataOverTime();
00053   ~vtkExtractDataOverTime() {}
00054 
00055   int RequestInformation( vtkInformation *request,
00056     vtkInformationVector **inputVector, vtkInformationVector *outputVector);
00057 
00058   int ProcessRequest(vtkInformation*,
00059                      vtkInformationVector**,
00060                      vtkInformationVector*);
00061 
00062   int AllocateOutputData(vtkPointSet *input, vtkPointSet *output);
00063 
00064   int            PointIndex;
00065   int            CurrentTimeIndex;
00066   int            NumberOfTimeSteps;
00067 
00068 private:
00069   vtkExtractDataOverTime(const vtkExtractDataOverTime&);  // Not implemented.
00070   void operator=(const vtkExtractDataOverTime&);  // Not implemented.
00071 };
00072 
00073 #endif
00074 
00075 
00076