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
00057 vtkSetVector3Macro(SampleRate, int);
00058 vtkGetVectorMacro(SampleRate, int, 3);
00060
00062
00068 vtkSetMacro(IncludeBoundary,int);
00069 vtkGetMacro(IncludeBoundary,int);
00070 vtkBooleanMacro(IncludeBoundary,int);
00072
00073 protected:
00074 vtkExtractRectilinearGrid();
00075 ~vtkExtractRectilinearGrid() {};
00076
00077 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00078 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00079 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00080
00081 int VOI[6];
00082 int SampleRate[3];
00083 int IncludeBoundary;
00084
00085 private:
00086 vtkExtractRectilinearGrid(const vtkExtractRectilinearGrid&);
00087 void operator=(const vtkExtractRectilinearGrid&);
00088 };
00089
00090 #endif
00091
00092