VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkRectilinearGridGeometryFilter.h 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 =========================================================================*/ 00043 #ifndef __vtkRectilinearGridGeometryFilter_h 00044 #define __vtkRectilinearGridGeometryFilter_h 00045 00046 #include "vtkFiltersGeometryModule.h" // For export macro 00047 #include "vtkPolyDataAlgorithm.h" 00048 00049 class VTKFILTERSGEOMETRY_EXPORT vtkRectilinearGridGeometryFilter : public vtkPolyDataAlgorithm 00050 { 00051 public: 00052 vtkTypeMacro(vtkRectilinearGridGeometryFilter,vtkPolyDataAlgorithm); 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 static vtkRectilinearGridGeometryFilter *New(); 00057 00059 00061 vtkGetVectorMacro(Extent,int,6); 00063 00065 void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax); 00066 00068 void SetExtent(int extent[6]); 00069 00070 protected: 00071 vtkRectilinearGridGeometryFilter(); 00072 ~vtkRectilinearGridGeometryFilter() {} 00073 00074 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00075 virtual int FillInputPortInformation(int port, vtkInformation *info); 00076 00077 int Extent[6]; 00078 private: 00079 vtkRectilinearGridGeometryFilter(const vtkRectilinearGridGeometryFilter&); // Not implemented. 00080 void operator=(const vtkRectilinearGridGeometryFilter&); // Not implemented. 00081 }; 00082 00083 #endif