17 #ifndef vtkXMLPMultiBlockDataWriter_h
18 #define vtkXMLPMultiBlockDataWriter_h
20 #include "vtkIOParallelXMLModule.h"
23 VTK_ABI_NAMESPACE_BEGIN
38 vtkSetMacro(NumberOfPieces,
int);
39 vtkGetMacro(NumberOfPieces,
int);
46 vtkSetMacro(StartPiece,
int);
47 vtkGetMacro(StartPiece,
int);
112 int ParallelWriteNonCompositeData(
147 vtkInternal* XMLPMultiBlockDataWriterInternal;
150 VTK_ABI_NAMESPACE_END
vtkMultiProcessController * Controller
parallel writer for vtkHierarchicalBoxDataSet.
Wrapper around std::string to keep symbols short.
writer for vtkMultiBlockDataSet.
Represents an XML element and those nested inside.
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
See the vtkAlgorithm for a description of what these do.
int StartPiece
Piece information.
virtual void RemoveWrittenFiles(const char *SubDirectory)
Utility function to remove any already written files in case writer failed.
virtual void FillDataTypes(vtkCompositeDataSet *)
Determine the data types for each of the leaf nodes.
int NumberOfPieces
Piece information.
static vtkXMLMultiBlockDataWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void MakeDirectory(const char *name)
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
vtkStdString CreatePieceFileName(int Piece)
Create a filename for the given index.
virtual void SetWriteMetaFile(int flag)
Get/Set whether this instance will write the meta-file.
int WriteComposite(vtkCompositeDataSet *compositeData, vtkXMLDataElement *parent, int &writerIdx) override
Internal method called recursively to create the xml tree for the children of compositeData as well a...
general representation of visualization data
Multiprocessing communication superclass.