00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStructuredGridGeometryFilter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00066 #ifndef __vtkStructuredGridGeometryFilter_h 00067 #define __vtkStructuredGridGeometryFilter_h 00068 00069 #include "vtkStructuredGridToPolyDataFilter.h" 00070 00071 class VTK_GRAPHICS_EXPORT vtkStructuredGridGeometryFilter : public vtkStructuredGridToPolyDataFilter 00072 { 00073 public: 00074 static vtkStructuredGridGeometryFilter *New(); 00075 vtkTypeRevisionMacro(vtkStructuredGridGeometryFilter,vtkStructuredGridToPolyDataFilter); 00076 void PrintSelf(ostream& os, vtkIndent indent); 00077 00079 00081 vtkGetVectorMacro(Extent,int,6); 00083 00085 void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax); 00086 00088 void SetExtent(int extent[6]); 00089 00090 protected: 00091 vtkStructuredGridGeometryFilter(); 00092 ~vtkStructuredGridGeometryFilter() {} 00093 00094 void Execute(); 00095 void ComputeInputUpdateExtents( vtkDataObject *output ); 00096 int Extent[6]; 00097 private: 00098 vtkStructuredGridGeometryFilter(const vtkStructuredGridGeometryFilter&); // Not implemented. 00099 void operator=(const vtkStructuredGridGeometryFilter&); // Not implemented. 00100 }; 00101 00102 #endif 00103 00104