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