29 #ifndef vtkXMLPMultiBlockDataWriter_h
30 #define vtkXMLPMultiBlockDataWriter_h
32 #include "vtkIOParallelXMLModule.h"
50 vtkGetMacro(NumberOfPieces,
int);
58 vtkGetMacro(StartPiece,
int);
124 int ParallelWriteNonCompositeData(
126 int currentFileIndex);
134 int currentFileIndex,
int procId,
int dataSetType);
155 vtkInternal* Internal;
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.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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()
abstract superclass for composite (multi-block or AMR) datasets
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
See the vtkAlgorithm for a desciption of what these do.
a simple class to control print indentation
virtual int WriteComposite(vtkCompositeDataSet *compositeData, vtkXMLDataElement *parent, int &writerIdx)
Internal method called recursively to create the xml tree for the children of compositeData as well a...
vtkStdString CreatePieceFileName(int Piece)
Create a filename for the given index.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void SetWriteMetaFile(int flag)
Get/Set whether this instance will write the meta-file.
general representation of visualization data
Multiprocessing communication superclass.