Go to the documentation of this file.
28 #ifndef vtkXMLPDataObjectWriter_h
29 #define vtkXMLPDataObjectWriter_h
31 #include "vtkIOParallelXMLModule.h"
47 vtkSetMacro(NumberOfPieces,
int);
48 vtkGetMacro(NumberOfPieces,
int);
55 vtkSetMacro(StartPiece,
int);
56 vtkGetMacro(StartPiece,
int);
57 vtkSetMacro(EndPiece,
int);
58 vtkGetMacro(EndPiece,
int);
65 vtkSetMacro(GhostLevel,
int);
66 vtkGetMacro(GhostLevel,
int);
73 vtkSetMacro(UseSubdirectory,
bool);
74 vtkGetMacro(UseSubdirectory,
bool);
85 vtkGetMacro(WriteSummaryFile,
int);
86 vtkBooleanMacro(WriteSummaryFile,
int);
172 vtkGetMacro(ContinuingExecution,
bool);
177 vtkGetMacro(CurrentPiece,
int);
231 bool ContinuingExecution;
int WriteInternal() override
Override writing method from superclass.
virtual int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Overridden to make appropriate piece request from upstream.
int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Overridden to handle passing the CONTINUE_EXECUTING() flags to the executive.
Write data in a parallel XML format.
Superclass for all sources, filters, and sinks in VTK.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetController(vtkMultiProcessController *)
Controller used to communicate data type of blocks.
virtual void SetupPieceFileNameExtension()
Initializes PieceFileNameExtension.
abstract base class for most VTK objects
virtual int WritePiece(int index)=0
Write a piece of the dataset on disk.
virtual void WritePData(vtkIndent indent)=0
Write Data associated with the input dataset.
virtual int WritePieceInternal()=0
Method called by WriteInternal().
virtual void SetWriteSummaryFile(int flag)
Get/Set whether the writer should write the summary file that refers to all of the pieces' individual...
unsigned char * PieceWrittenFlags
Flags used to keep track of which pieces were written out.
Superclass for VTK's XML file writers.
vtkCallbackCommand * InternalProgressObserver
The observer to report progress from the internal writer.
Multiprocessing communication superclass.
a simple class to control print indentation
char * PieceFileNameExtension
char * CreatePieceFileName(int index, const char *path=nullptr)
Methods for creating a filename for each piece in the dataset.
vtkXMLPDataObjectWriter()
virtual void WritePPieceAttributes(int index)
Write the attributes of the piece at the given index.
vtkMultiProcessController * Controller
int WriteData() override
Write data from the input dataset.
~vtkXMLPDataObjectWriter() override
void DeleteFiles()
Method used to delete all written files.
supports function callbacks
virtual void PrepareSummaryFile()
Collect information between ranks before writing the summary file.
static void ProgressCallbackFunction(vtkObject *, unsigned long, void *, void *)
Callback registered with the InternalProgressObserver.
virtual void ProgressCallback(vtkAlgorithm *w)
Progress callback from internal writer.