IO/vtkWriter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00042 #ifndef __vtkWriter_h
00043 #define __vtkWriter_h
00044
00045 #include "vtkProcessObject.h"
00046
00047 class vtkDataObject;
00048
00049 #define VTK_ASCII 1
00050 #define VTK_BINARY 2
00051
00052 class VTK_IO_EXPORT vtkWriter : public vtkProcessObject
00053 {
00054 public:
00055 vtkTypeRevisionMacro(vtkWriter,vtkProcessObject);
00056 void PrintSelf(ostream& os, vtkIndent indent);
00057
00060 virtual void Write();
00061
00063 void Update();
00064
00067 void EncodeArrayName(char* resname, const char* name);
00068
00069
00070 vtkDataObject *GetInput();
00071
00072 protected:
00073 vtkWriter();
00074 ~vtkWriter();
00075
00076 virtual void WriteData() = 0;
00077 vtkTimeStamp WriteTime;
00078 private:
00079 vtkWriter(const vtkWriter&);
00080 void operator=(const vtkWriter&);
00081 };
00082
00083 #endif
00084
00085