Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkExtractGrid.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkExtractGrid.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00045 #ifndef __vtkExtractGrid_h 00046 #define __vtkExtractGrid_h 00047 00048 #include "vtkStructuredGridToStructuredGridFilter.h" 00049 00050 class VTK_GRAPHICS_EXPORT vtkExtractGrid : public vtkStructuredGridToStructuredGridFilter 00051 { 00052 public: 00053 static vtkExtractGrid *New(); 00054 vtkTypeRevisionMacro(vtkExtractGrid,vtkStructuredGridToStructuredGridFilter); 00055 void PrintSelf(ostream& os, vtkIndent indent); 00056 00058 00061 vtkSetVector6Macro(VOI,int); 00062 vtkGetVectorMacro(VOI,int,6); 00064 00066 00070 vtkSetVector3Macro(SampleRate, int); 00071 vtkGetVectorMacro(SampleRate, int, 3); 00073 00075 00081 vtkSetMacro(IncludeBoundary,int); 00082 vtkGetMacro(IncludeBoundary,int); 00083 vtkBooleanMacro(IncludeBoundary,int); 00085 00086 protected: 00087 vtkExtractGrid(); 00088 ~vtkExtractGrid() {}; 00089 00090 void Execute(); 00091 void ExecuteInformation(); 00092 void ComputeInputUpdateExtents(vtkDataObject *out); 00093 00094 int VOI[6]; 00095 int SampleRate[3]; 00096 int IncludeBoundary; 00097 00098 private: 00099 vtkExtractGrid(const vtkExtractGrid&); // Not implemented. 00100 void operator=(const vtkExtractGrid&); // Not implemented. 00101 }; 00102 00103 #endif 00104 00105