VTK
|
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 "vtkPointSetAlgorithm.h" 00031 00032 class VTK_GRAPHICS_EXPORT vtkExtractDataOverTime : public vtkPointSetAlgorithm 00033 { 00034 public: 00035 static vtkExtractDataOverTime *New(); 00036 vtkTypeMacro(vtkExtractDataOverTime,vtkPointSetAlgorithm); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00041 vtkSetMacro(PointIndex,int); 00042 vtkGetMacro(PointIndex,int); 00044 00046 00047 vtkGetMacro(NumberOfTimeSteps,int); 00049 00050 protected: 00051 vtkExtractDataOverTime(); 00052 ~vtkExtractDataOverTime() {}; 00053 00054 int RequestInformation( vtkInformation *request, 00055 vtkInformationVector **inputVector, vtkInformationVector *outputVector); 00056 00057 int ProcessRequest(vtkInformation*, 00058 vtkInformationVector**, 00059 vtkInformationVector*); 00060 00061 int AllocateOutputData(vtkPointSet *input, vtkPointSet *output); 00062 00063 int PointIndex; 00064 int CurrentTimeIndex; 00065 int NumberOfTimeSteps; 00066 00067 private: 00068 vtkExtractDataOverTime(const vtkExtractDataOverTime&); // Not implemented. 00069 void operator=(const vtkExtractDataOverTime&); // Not implemented. 00070 }; 00071 00072 #endif 00073 00074 00075