63#ifndef vtkXMLHyperTreeGridWriter_h
64#define vtkXMLHyperTreeGridWriter_h
66#include "vtkIOXMLModule.h"
79class vtkTypeInt64Array;
80class vtkTypeUInt32Array;
107 vtkSetMacro(DataSetMajorVersion,
int);
108 vtkSetMacro(DataSetMinorVersion,
int);
155 std::vector<vtkSmartPointer<vtkBitArray>>
Masks;
158 std::vector<vtkSmartPointer<vtkIdList>>
Ids;
175 } MetaDataForVersion2;
Helper class due to PIMPL excess.
Abstract superclass for all arrays.
dynamic, self-adjusting array of bits
Objects for traversal a HyperTreeGrid.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
A data object structured as a tree.
list of point or cell ids
a simple class to control print indentation
Hold a reference to a vtkObjectBase instance.
Write VTK XML HyperTreeGrid files.
OffsetsManagerGroup * DescriptorOMG
void WriteCellDataAppendedArrayDataHelper(vtkAbstractArray *array, vtkIdType numberOfVertices, OffsetsManager &offsets, vtkHyperTree *tree)
int StartPrimaryElement(vtkIndent)
std::vector< vtkSmartPointer< vtkTypeInt64Array > > NbVerticesByLevels
const char * GetDataSetName() override
OffsetsManagerGroup * MaskOMG
OffsetsManagerGroup * CellDataOMG
OffsetsManagerGroup * TreeIdsOMG
std::vector< vtkSmartPointer< vtkBitArray > > Descriptors
void WritePrimaryElementAttributes(ostream &, vtkIndent) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
std::vector< vtkSmartPointer< vtkBitArray > > Masks
vtkXMLHyperTreeGridWriter()
int WriteTrees_0(vtkIndent)
OffsetsManagerGroup * CoordsOMG
int WriteTrees_2(vtkIndent)
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
int WriteTrees_1(vtkIndent)
~vtkXMLHyperTreeGridWriter() override
int FinishPrimaryElement(vtkIndent)
OffsetsManagerGroup * DepthPerTreeOMG
OffsetsManagerGroup * NbVerticesByLevelOMG
std::vector< vtkSmartPointer< vtkIdList > > Ids
static vtkXMLHyperTreeGridWriter * New()
int GetDataSetMinorVersion() override
int GetDataSetMajorVersion() override
Methods to define the file's major and minor version numbers.
void WriteAppendedArrayDataHelper(vtkAbstractArray *array, OffsetsManager &offsets)
vtkHyperTreeGrid * GetInput()
Get/Set the writer's input.
Superclass for VTK's XML file writers.