vtkExtractRectilinearGrid.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00041 #ifndef __vtkExtractRectilinearGrid_h
00042 #define __vtkExtractRectilinearGrid_h
00043
00044 #include "vtkRectilinearGridSource.h"
00045
00046 class VTK_GRAPHICS_EXPORT vtkExtractRectilinearGrid : public vtkRectilinearGridSource
00047 {
00048 public:
00049 static vtkExtractRectilinearGrid *New();
00050 vtkTypeRevisionMacro(vtkExtractRectilinearGrid,vtkRectilinearGridSource);
00051 void PrintSelf(ostream& os, vtkIndent indent);
00052
00054
00055 void SetInput(vtkRectilinearGrid *input);
00056 vtkRectilinearGrid *GetInput();
00058
00060
00063 vtkSetVector6Macro(VOI,int);
00064 vtkGetVectorMacro(VOI,int,6);
00066
00068
00072 vtkSetVector3Macro(SampleRate, int);
00073 vtkGetVectorMacro(SampleRate, int, 3);
00075
00077
00083 vtkSetMacro(IncludeBoundary,int);
00084 vtkGetMacro(IncludeBoundary,int);
00085 vtkBooleanMacro(IncludeBoundary,int);
00087
00088 protected:
00089 vtkExtractRectilinearGrid();
00090 ~vtkExtractRectilinearGrid() {};
00091
00092 void Execute();
00093 void ExecuteInformation();
00094 void ComputeInputUpdateExtents(vtkDataObject *out);
00095
00096 int VOI[6];
00097 int SampleRate[3];
00098 int IncludeBoundary;
00099
00100 virtual int FillInputPortInformation(int, vtkInformation*);
00101 private:
00102 vtkExtractRectilinearGrid(const vtkExtractRectilinearGrid&);
00103 void operator=(const vtkExtractRectilinearGrid&);
00104 };
00105
00106 #endif
00107
00108