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