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
00056 #ifndef __vtkWriter_h
00057 #define __vtkWriter_h
00058
00059 #include "vtkProcessObject.h"
00060
00061 class vtkDataObject;
00062
00063 #define VTK_ASCII 1
00064 #define VTK_BINARY 2
00065
00066 class VTK_IO_EXPORT vtkWriter : public vtkProcessObject
00067 {
00068 public:
00069 vtkTypeRevisionMacro(vtkWriter,vtkProcessObject);
00070 void PrintSelf(ostream& os, vtkIndent indent);
00071
00074 virtual void Write();
00075
00077 void Update();
00078
00081 void EncodeArrayName(char* resname, const char* name);
00082
00083
00084 vtkDataObject *GetInput();
00085
00086 protected:
00087 vtkWriter();
00088 ~vtkWriter();
00089
00090 virtual void WriteData() = 0;
00091 vtkTimeStamp WriteTime;
00092 private:
00093 vtkWriter(const vtkWriter&);
00094 void operator=(const vtkWriter&);
00095 };
00096
00097 #endif
00098
00099