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);
84 virtual void SetWriteSummaryFile(
int flag);
85 vtkGetMacro(WriteSummaryFile,
int);
86 vtkBooleanMacro(WriteSummaryFile,
int);
123 virtual void WritePData(
vtkIndent indent) = 0;
129 virtual int WritePiece(
int index) = 0;
135 virtual int WritePieceInternal() = 0;
148 virtual void PrepareSummaryFile();
153 virtual void WritePPieceAttributes(
int index);
159 char* CreatePieceFileName(
int index,
const char* path =
nullptr);
160 void SplitFileName();
166 static void ProgressCallbackFunction(
vtkObject*,
unsigned long,
void*,
void*);
172 vtkGetMacro(ContinuingExecution,
bool);
177 vtkGetMacro(CurrentPiece,
int);
216 virtual void SetupPieceFileNameExtension();
231 bool ContinuingExecution;
abstract base class for most VTK objects
int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Write data in a parallel XML format.
supports function callbacks
Superclass for all sources, filters, and sinks in VTK.
char * PieceFileNameExtension
Superclass for VTK's XML file writers.
a simple class to control print indentation
virtual int WriteInternal()
vtkMultiProcessController * Controller
unsigned char * PieceWrittenFlags
Flags used to keep track of which pieces were written out.
vtkCallbackCommand * InternalProgressObserver
The observer to report progress from the internal writer.
Multiprocessing communication superclass.