23#ifndef vtkPDataSetWriter_h
24#define vtkPDataSetWriter_h
27#include "vtkIOParallelModule.h"
54 vtkGetMacro(NumberOfPieces,
int);
62 vtkSetMacro(GhostLevel,
int);
63 vtkGetMacro(GhostLevel,
int);
73 vtkSetMacro(StartPiece,
int);
74 vtkGetMacro(StartPiece,
int);
75 vtkSetMacro(EndPiece,
int);
76 vtkGetMacro(EndPiece,
int);
116 vtkDataSet* input,
char* root,
char* str,
size_t strSize, ostream* fptr);
write any type of vtk dataset to file
abstract class to specify dataset behavior
topologically and geometrically regular array of data
a simple class to control print indentation
Multiprocessing communication superclass.
Manages writing pieces of a data set.
vtkGetFilePathMacro(FilePattern)
This file pattern uses the file name and piece number to construct a file name for the piece file.
int WriteImageMetaData(vtkImageData *input, char *root, char *str, size_t strSize, ostream *fptr)
int WriteUnstructuredMetaData(vtkDataSet *input, char *root, char *str, size_t strSize, ostream *fptr)
vtkTypeBool UseRelativeFileNames
int Write() override
Write the pvtk file and cooresponding vtk files.
vtkSetFilePathMacro(FilePattern)
This file pattern uses the file name and piece number to construct a file name for the piece file.
vtkMultiProcessController * Controller
void SetNumberOfPieces(int num)
This is how many pieces the whole data set will be divided into.
~vtkPDataSetWriter() override
int WriteRectilinearGridMetaData(vtkRectilinearGrid *input, char *root, char *str, size_t strSize, ostream *fptr)
virtual void SetController(vtkMultiProcessController *)
Controller used to communicate data type of blocks.
std::map< int, std::vector< int > > ExtentsType
static vtkPDataSetWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int WriteStructuredGridMetaData(vtkStructuredGrid *input, char *root, char *str, size_t strSize, ostream *fptr)
a dataset that is topologically regular with variable spacing in the three coordinate directions
topologically regular array of data