VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkUnstructuredGridWriter.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 =========================================================================*/ 00030 #ifndef __vtkUnstructuredGridWriter_h 00031 #define __vtkUnstructuredGridWriter_h 00032 00033 #include "vtkIOLegacyModule.h" // For export macro 00034 #include "vtkDataWriter.h" 00035 class vtkUnstructuredGrid; 00036 00037 class VTKIOLEGACY_EXPORT vtkUnstructuredGridWriter : public vtkDataWriter 00038 { 00039 public: 00040 static vtkUnstructuredGridWriter *New(); 00041 vtkTypeMacro(vtkUnstructuredGridWriter,vtkDataWriter); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00045 00046 vtkUnstructuredGrid* GetInput(); 00047 vtkUnstructuredGrid* GetInput(int port); 00049 00050 protected: 00051 vtkUnstructuredGridWriter() {}; 00052 ~vtkUnstructuredGridWriter() {}; 00053 00054 void WriteData(); 00055 00056 virtual int FillInputPortInformation(int port, vtkInformation *info); 00057 00058 private: 00059 vtkUnstructuredGridWriter(const vtkUnstructuredGridWriter&); // Not implemented. 00060 void operator=(const vtkUnstructuredGridWriter&); // Not implemented. 00061 }; 00062 00063 #endif