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