Go to the documentation of this file.
29 #ifndef vtkXMLPMultiBlockDataWriter_h
30 #define vtkXMLPMultiBlockDataWriter_h
32 #include "vtkIOParallelXMLModule.h"
49 vtkSetMacro(NumberOfPieces,
int);
50 vtkGetMacro(NumberOfPieces,
int);
57 vtkSetMacro(StartPiece,
int);
58 vtkGetMacro(StartPiece,
int);
126 int currentFileIndex);
134 int currentFileIndex,
int procId,
int dataSetType);
155 vtkInternal* XMLPMultiBlockDataWriterInternal;
int WriteComposite(vtkCompositeDataSet *compositeData, vtkXMLDataElement *parent, int ¤tFileIndex) override
Internal method called recursively to create the xml tree for the children of compositeData as well a...
~vtkXMLPMultiBlockDataWriter() override
int StartPiece
Piece information.
vtkMultiProcessController * Controller
static vtkXMLPMultiBlockDataWriter * New()
abstract superclass for composite (multi-block or AMR) datasets
Multiprocessing communication superclass.
vtkXMLPMultiBlockDataWriter()
a simple class to control print indentation
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
virtual vtkStdString CreatePieceFileName(int currentFileIndex, int procId, int dataSetType)
Return the name of the file given the currentFileIndex (also the current globally numbered piece inde...
Represents an XML element and those nested inside.
writer for vtkMultiBlockDataSet.
virtual void SetController(vtkMultiProcessController *)
Controller used to communicate data type of blocks.
void RemoveWrittenFiles(const char *subDirectory) override
Utility function to remove any already written files in case writer failed.
void FillDataTypes(vtkCompositeDataSet *) override
Determine the data types for each of the leaf nodes.
void SetWriteMetaFile(int flag) override
Set whether this instance will write the meta-file.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Wrapper around std::string to keep symbols short.
general representation of visualization data
int ParallelWriteNonCompositeData(vtkDataObject *dObj, vtkXMLDataElement *parentXML, int currentFileIndex)
Internal method to write a non vtkCompositeDataSet subclass as well as add in the file name to the me...
parallel writer for vtkHierarchicalBoxDataSet.