00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkDataSetToUnstructuredGridFilter.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 =========================================================================*/ 00044 #ifndef __vtkDataSetToUnstructuredGridFilter_h 00045 #define __vtkDataSetToUnstructuredGridFilter_h 00046 00047 #include "vtkUnstructuredGridSource.h" 00048 00049 class vtkDataSet; 00050 00051 class VTK_FILTERING_EXPORT vtkDataSetToUnstructuredGridFilter : public vtkUnstructuredGridSource 00052 { 00053 public: 00054 vtkTypeRevisionMacro(vtkDataSetToUnstructuredGridFilter,vtkUnstructuredGridSource); 00055 void PrintSelf(ostream& os, vtkIndent indent); 00056 00058 00059 virtual void SetInput(vtkDataSet *input); 00060 vtkDataSet *GetInput(); 00062 00063 protected: 00064 vtkDataSetToUnstructuredGridFilter() {this->NumberOfRequiredInputs = 1;}; 00065 ~vtkDataSetToUnstructuredGridFilter() {}; 00066 00067 private: 00068 vtkDataSetToUnstructuredGridFilter(const vtkDataSetToUnstructuredGridFilter&); // Not implemented. 00069 void operator=(const vtkDataSetToUnstructuredGridFilter&); // Not implemented. 00070 }; 00071 00072 #endif 00073 00074