vtkExtractGrid.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00058 #ifndef __vtkExtractGrid_h
00059 #define __vtkExtractGrid_h
00060
00061 #include "vtkStructuredGridToStructuredGridFilter.h"
00062
00063 class VTK_GRAPHICS_EXPORT vtkExtractGrid : public vtkStructuredGridToStructuredGridFilter
00064 {
00065 public:
00066 static vtkExtractGrid *New();
00067 vtkTypeRevisionMacro(vtkExtractGrid,vtkStructuredGridToStructuredGridFilter);
00068 void PrintSelf(ostream& os, vtkIndent indent);
00069
00071
00074 vtkSetVector6Macro(VOI,int);
00075 vtkGetVectorMacro(VOI,int,6);
00077
00079
00083 vtkSetVector3Macro(SampleRate, int);
00084 vtkGetVectorMacro(SampleRate, int, 3);
00086
00088
00094 vtkSetMacro(IncludeBoundary,int);
00095 vtkGetMacro(IncludeBoundary,int);
00096 vtkBooleanMacro(IncludeBoundary,int);
00098
00099 protected:
00100 vtkExtractGrid();
00101 ~vtkExtractGrid() {};
00102
00103 void Execute();
00104 void ExecuteInformation();
00105 void ComputeInputUpdateExtents(vtkDataObject *out);
00106
00107 int VOI[6];
00108 int SampleRate[3];
00109 int IncludeBoundary;
00110
00111 private:
00112 vtkExtractGrid(const vtkExtractGrid&);
00113 void operator=(const vtkExtractGrid&);
00114 };
00115
00116 #endif
00117
00118