23 #ifndef vtkXMLPVDWriter_h 24 #define vtkXMLPVDWriter_h 26 #include "vtkPVVTKExtensionsDefaultModule.h" 27 #include "vtkXMLWriter.h" 29 class vtkCallbackCommand;
30 class vtkXMLPVDWriterInternals;
37 void PrintSelf(ostream& os, vtkIndent indent);
42 virtual const char* GetDefaultFileExtension();
49 vtkGetMacro(Piece,
int);
50 vtkSetMacro(Piece,
int);
57 vtkGetMacro(NumberOfPieces,
int);
58 vtkSetMacro(NumberOfPieces,
int);
66 vtkGetMacro(GhostLevel,
int);
67 vtkSetMacro(GhostLevel,
int);
73 void AddInputData(vtkDataObject*);
80 vtkGetMacro(WriteCollectionFile,
int);
81 virtual void SetWriteCollectionFile(
int flag);
85 int ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
92 virtual int FillInputPortInformation(
int port, vtkInformation* info);
95 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
96 virtual int WriteData();
97 virtual const char* GetDataSetName();
100 void CreateWriters();
104 void SplitFileName();
105 const char* GetFilePrefix();
106 const char* GetFilePath();
109 void AppendEntry(
const char* entry);
110 void DeleteAllEntries();
113 int WriteCollectionFileIfRequested();
116 void MakeDirectory(
const char* name);
119 void RemoveADirectory(
const char* name);
138 static void ProgressCallbackFunction(vtkObject*,
unsigned long,
void*,
void*);
140 virtual void ProgressCallback(vtkAlgorithm* w);
146 virtual void ReportReferences(vtkGarbageCollector*);
vtkCallbackCommand * ProgressObserver
gio::GenericIOWriter * GetWriter(MPI_Comm comm, const std::string &fileName)
This method constructs and returns the underlying GenericIO writer.
vtkXMLPVDWriterInternals * Internal
int WriteCollectionFileInitialized
Data writer for ParaView.