00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00031 #ifndef __vtkExtractRectilinearGrid_h
00032 #define __vtkExtractRectilinearGrid_h
00033
00034 #include "vtkRectilinearGridAlgorithm.h"
00035
00036 class VTK_GRAPHICS_EXPORT vtkExtractRectilinearGrid : public vtkRectilinearGridAlgorithm
00037 {
00038 public:
00039 static vtkExtractRectilinearGrid *New();
00040 vtkTypeMacro(vtkExtractRectilinearGrid,vtkRectilinearGridAlgorithm);
00041 void PrintSelf(ostream& os, vtkIndent indent);
00042
00044
00047 vtkSetVector6Macro(VOI,int);
00048 vtkGetVectorMacro(VOI,int,6);
00050
00052
00056 vtkSetVector3Macro(SampleRate, int);
00057 vtkGetVectorMacro(SampleRate, int, 3);
00059
00061
00067 vtkSetMacro(IncludeBoundary,int);
00068 vtkGetMacro(IncludeBoundary,int);
00069 vtkBooleanMacro(IncludeBoundary,int);
00071
00072 protected:
00073 vtkExtractRectilinearGrid();
00074 ~vtkExtractRectilinearGrid() {};
00075
00076 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00077 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00078 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00079
00080 int VOI[6];
00081 int SampleRate[3];
00082 int IncludeBoundary;
00083
00084 private:
00085 vtkExtractRectilinearGrid(const vtkExtractRectilinearGrid&);
00086 void operator=(const vtkExtractRectilinearGrid&);
00087 };
00088
00089 #endif
00090
00091