vtkXMLDataSetWriter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00041 #ifndef __vtkXMLDataSetWriter_h
00042 #define __vtkXMLDataSetWriter_h
00043
00044 #include "vtkXMLWriter.h"
00045
00046 class vtkCallbackCommand;
00047
00048 class VTK_IO_EXPORT vtkXMLDataSetWriter : public vtkXMLWriter
00049 {
00050 public:
00051 vtkTypeRevisionMacro(vtkXMLDataSetWriter,vtkXMLWriter);
00052 void PrintSelf(ostream& os, vtkIndent indent);
00053 static vtkXMLDataSetWriter* New();
00054
00056
00057 void SetInput(vtkDataSet* input);
00058 vtkDataSet* GetInput();
00060
00061 protected:
00062 vtkXMLDataSetWriter();
00063 ~vtkXMLDataSetWriter();
00064
00065
00066 virtual int WriteInternal();
00067
00068
00069 int WriteData();
00070 const char* GetDataSetName();
00071 const char* GetDefaultFileExtension();
00072
00073
00074 static void ProgressCallbackFunction(vtkObject*, unsigned long, void*,
00075 void*);
00076
00077 virtual void ProgressCallback(vtkProcessObject* w);
00078
00079
00080 vtkCallbackCommand* ProgressObserver;
00081
00082 private:
00083 vtkXMLDataSetWriter(const vtkXMLDataSetWriter&);
00084 void operator=(const vtkXMLDataSetWriter&);
00085 };
00086
00087 #endif