00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStructuredGridToPolyDataFilter.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 =========================================================================*/ 00025 #ifndef __vtkStructuredGridToPolyDataFilter_h 00026 #define __vtkStructuredGridToPolyDataFilter_h 00027 00028 #include "vtkPolyDataSource.h" 00029 00030 class vtkStructuredGrid; 00031 00032 class VTK_FILTERING_EXPORT vtkStructuredGridToPolyDataFilter : public vtkPolyDataSource 00033 { 00034 public: 00035 vtkTypeRevisionMacro(vtkStructuredGridToPolyDataFilter,vtkPolyDataSource); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 00040 void SetInput(vtkStructuredGrid *input); 00041 vtkStructuredGrid *GetInput(); 00043 00044 protected: 00045 vtkStructuredGridToPolyDataFilter(); 00046 ~vtkStructuredGridToPolyDataFilter(); 00047 00048 virtual int FillInputPortInformation(int, vtkInformation*); 00049 00050 private: 00051 vtkStructuredGridToPolyDataFilter(const vtkStructuredGridToPolyDataFilter&); // Not implemented. 00052 void operator=(const vtkStructuredGridToPolyDataFilter&); // Not implemented. 00053 }; 00054 00055 #endif 00056 00057