00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00045 #ifndef __vtkExtractGrid_h
00046 #define __vtkExtractGrid_h
00047
00048 #include "vtkStructuredGridAlgorithm.h"
00049
00050 class VTK_GRAPHICS_EXPORT vtkExtractGrid : public vtkStructuredGridAlgorithm
00051 {
00052 public:
00053 static vtkExtractGrid *New();
00054 vtkTypeMacro(vtkExtractGrid,vtkStructuredGridAlgorithm);
00055 void PrintSelf(ostream& os, vtkIndent indent);
00056
00058
00061 vtkSetVector6Macro(VOI,int);
00062 vtkGetVectorMacro(VOI,int,6);
00064
00066
00070 vtkSetVector3Macro(SampleRate, int);
00071 vtkGetVectorMacro(SampleRate, int, 3);
00073
00075
00081 vtkSetMacro(IncludeBoundary,int);
00082 vtkGetMacro(IncludeBoundary,int);
00083 vtkBooleanMacro(IncludeBoundary,int);
00085
00086 protected:
00087 vtkExtractGrid();
00088 ~vtkExtractGrid() {};
00089
00090 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00091 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00092 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00093
00094 int VOI[6];
00095 int SampleRate[3];
00096 int IncludeBoundary;
00097
00098 private:
00099 vtkExtractGrid(const vtkExtractGrid&);
00100 void operator=(const vtkExtractGrid&);
00101 };
00102
00103 #endif
00104
00105