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