00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageDataGeometryFilter.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 =========================================================================*/ 00057 #ifndef __vtkImageDataGeometryFilter_h 00058 #define __vtkImageDataGeometryFilter_h 00059 00060 #include "vtkStructuredPointsToPolyDataFilter.h" 00061 00062 class VTK_GRAPHICS_EXPORT vtkImageDataGeometryFilter : public vtkStructuredPointsToPolyDataFilter 00063 { 00064 public: 00065 vtkTypeRevisionMacro(vtkImageDataGeometryFilter,vtkStructuredPointsToPolyDataFilter); 00066 void PrintSelf(ostream& os, vtkIndent indent); 00067 00069 static vtkImageDataGeometryFilter *New(); 00070 00071 00073 00074 void SetExtent(int extent[6]); 00075 void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax); 00076 int *GetExtent() { return this->Extent;}; 00078 00079 protected: 00080 vtkImageDataGeometryFilter(); 00081 ~vtkImageDataGeometryFilter() {}; 00082 00083 void Execute(); 00084 int Extent[6]; 00085 private: 00086 vtkImageDataGeometryFilter(const vtkImageDataGeometryFilter&); // Not implemented. 00087 void operator=(const vtkImageDataGeometryFilter&); // Not implemented. 00088 }; 00089 00090 #endif