27 #ifndef vtkParallelSerialWriter_h 28 #define vtkParallelSerialWriter_h 30 #include "vtkDataObjectAlgorithm.h" 31 #include "vtkPVVTKExtensionsDefaultModule.h" 40 void PrintSelf(ostream& os, vtkIndent indent);
46 void SetWriter(vtkAlgorithm*);
47 vtkGetObjectMacro(Writer, vtkAlgorithm);
53 virtual vtkMTimeType GetMTime();
60 vtkSetStringMacro(FileNameMethod);
61 vtkGetStringMacro(FileNameMethod);
68 vtkSetStringMacro(FileName);
69 vtkGetStringMacro(FileName);
82 vtkGetMacro(Piece,
int);
83 vtkSetMacro(Piece,
int);
90 vtkGetMacro(NumberOfPieces,
int);
91 vtkSetMacro(NumberOfPieces,
int);
98 vtkGetMacro(GhostLevel,
int);
99 vtkSetMacro(GhostLevel,
int);
107 void SetPreGatherHelper(vtkAlgorithm*);
108 vtkGetObjectMacro(PreGatherHelper, vtkAlgorithm);
118 void SetPostGatherHelper(vtkAlgorithm*);
119 vtkGetObjectMacro(PostGatherHelper, vtkAlgorithm);
127 vtkGetMacro(WriteAllTimeSteps,
int);
128 vtkSetMacro(WriteAllTimeSteps,
int);
129 vtkBooleanMacro(WriteAllTimeSteps,
int);
141 int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
142 vtkInformationVector* outputVector);
143 int RequestUpdateExtent(vtkInformation* request, vtkInformationVector** inputVector,
144 vtkInformationVector* outputVector);
145 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
146 vtkInformationVector* outputVector);
152 void WriteATimestep(vtkDataObject* input);
153 void WriteAFile(
const char* fname, vtkDataObject* input);
155 void SetWriterFileName(
const char* fname);
156 void WriteInternal();
158 vtkAlgorithm* PreGatherHelper;
159 vtkAlgorithm* PostGatherHelper;
161 vtkAlgorithm* Writer;
162 char* FileNameMethod;
167 int WriteAllTimeSteps;
168 int NumberOfTimeSteps;
169 int CurrentTimeIndex;
void SetInterpreter(vtkClientServerInterpreter *interp)
Get/Set the interpreter to use to call methods on the writer.
Run-time VTK interpreter.
parallel meta-writer for serial formats