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

Graphics/vtkStructuredGridGeometryFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkStructuredGridGeometryFilter.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 =========================================================================*/
00049 #ifndef __vtkStructuredGridGeometryFilter_h
00050 #define __vtkStructuredGridGeometryFilter_h
00051 
00052 #include "vtkStructuredGridToPolyDataFilter.h"
00053 
00054 class VTK_GRAPHICS_EXPORT vtkStructuredGridGeometryFilter : public vtkStructuredGridToPolyDataFilter
00055 {
00056 public:
00057   static vtkStructuredGridGeometryFilter *New();
00058   vtkTypeRevisionMacro(vtkStructuredGridGeometryFilter,vtkStructuredGridToPolyDataFilter);
00059   void PrintSelf(ostream& os, vtkIndent indent);
00060 
00062 
00064   vtkGetVectorMacro(Extent,int,6);
00066 
00068   void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
00069 
00071   void SetExtent(int extent[6]);
00072 
00073 protected:
00074   vtkStructuredGridGeometryFilter();
00075   ~vtkStructuredGridGeometryFilter() {}
00076 
00077   void Execute();
00078   void ComputeInputUpdateExtents( vtkDataObject *output );
00079   int Extent[6];
00080 private:
00081   vtkStructuredGridGeometryFilter(const vtkStructuredGridGeometryFilter&);  // Not implemented.
00082   void operator=(const vtkStructuredGridGeometryFilter&);  // Not implemented.
00083 };
00084 
00085 #endif
00086 
00087