11 #ifndef vtkXMLUnstructuredDataWriter_h
12 #define vtkXMLUnstructuredDataWriter_h
14 #include "vtkIOXMLModule.h"
19 VTK_ABI_NAMESPACE_BEGIN
38 vtkSetMacro(NumberOfPieces,
int);
39 vtkGetMacro(NumberOfPieces,
int);
47 vtkSetMacro(WritePiece,
int);
48 vtkGetMacro(WritePiece,
int);
55 vtkSetMacro(GhostLevel,
int);
56 vtkGetMacro(GhostLevel,
int);
69 virtual void SetInputUpdateExtent(
int piece,
int numPieces,
int ghostLevel);
71 virtual int WriteHeader();
72 virtual int WriteAPiece();
73 virtual int WriteFooter();
75 virtual void AllocatePositionArrays();
76 virtual void DeletePositionArrays();
78 virtual int WriteInlineMode(
vtkIndent indent);
79 virtual void WriteInlinePieceAttributes();
80 virtual void WriteInlinePiece(
vtkIndent indent);
82 virtual void WriteAppendedPieceAttributes(
int index);
84 virtual void WriteAppendedPieceData(
int index);
89 void WriteCellsInline(
98 void WriteCellsAppended(
107 void WriteCellsAppendedData(
117 void WriteCellsAppendedDataWorker(
129 virtual vtkIdType GetNumberOfInputPoints();
130 virtual vtkIdType GetNumberOfInputCells() = 0;
131 void CalculateDataFractions(
float* fractions);
132 void CalculateCellFractions(
float* fractions,
vtkIdType typesSize);
166 VTK_ABI_NAMESPACE_END
virtual const char * GetDataSetName()=0
vtkTypeInt64 * NumberOfPointsPositions
Superclass for VTK XML unstructured data writers.
OffsetsManagerGroup * PointsOM
concrete class for storing a set of points
dynamic, self-adjusting array of vtkIdType
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
OffsetsManagerArray * CellDataOM
Superclass for VTK's XML file writers.
a simple class to control print indentation
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
vtkSmartPointer< vtkDataArray > CellOffsets
vtkSmartPointer< vtkDataArray > CellPoints
OffsetsManagerArray * PointDataOM
object to represent cell connectivity
vtkIdTypeArray * FaceOffsets
Efficient cell iterator for vtkDataSet topologies.