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);
124 int ParallelWriteNonCompositeData(
126 int currentFileIndex);
134 int currentFileIndex,
int procId,
int dataSetType);
155 vtkInternal* XMLPMultiBlockDataWriterInternal;
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.
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.
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
See the vtkAlgorithm for a description of what these do.
static vtkXMLMultiBlockDataWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.