vtkWriter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00052 #ifndef __vtkWriter_h
00053 #define __vtkWriter_h
00054
00055 #include "vtkProcessObject.h"
00056
00057 class vtkDataObject;
00058
00059 #define VTK_ASCII 1
00060 #define VTK_BINARY 2
00061
00062 class VTK_IO_EXPORT vtkWriter : public vtkProcessObject
00063 {
00064 public:
00065 vtkTypeRevisionMacro(vtkWriter,vtkProcessObject);
00066 void PrintSelf(ostream& os, vtkIndent indent);
00067
00070 virtual void Write();
00071
00073 void Update();
00074
00077 void EncodeArrayName(char* resname, const char* name);
00078
00079
00080 vtkDataObject *GetInput();
00081
00082 protected:
00083 vtkWriter();
00084 ~vtkWriter();
00085
00086 virtual void WriteData() = 0;
00087 vtkTimeStamp WriteTime;
00088 private:
00089 vtkWriter(const vtkWriter&);
00090 void operator=(const vtkWriter&);
00091 };
00092
00093 #endif
00094
00095