32 #ifndef vtkXMLHyperTreeGridReader_h
33 #define vtkXMLHyperTreeGridReader_h
35 #include "vtkIOXMLModule.h"
41 VTK_ABI_NAMESPACE_BEGIN
68 vtkSetMacro(FixedLevel,
unsigned int);
69 vtkGetMacro(FixedLevel,
unsigned int);
81 void SetCoordinatesBoundingBox(
82 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
84 void SetIndicesBoundingBox(
unsigned int imin,
unsigned int imax,
unsigned int jmin,
85 unsigned int jmax,
unsigned int kmin,
unsigned int kmax);
87 void ClearAndAddSelectedHT(
unsigned int idg,
unsigned int fixedLevel = UINT_MAX);
88 void AddSelectedHT(
unsigned int idg,
unsigned int fixedLevel = UINT_MAX);
96 void SetupUpdateExtent(
int piece,
int numberOfPieces);
118 unsigned int GetFixedLevelOfThisHT(
unsigned int numberOfLevels,
vtkIdType treeIndx)
const;
122 void DestroyPieces();
124 void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces);
130 void SetupOutputTotals();
133 void SetupNextPiece();
142 void SetupPieces(
int numPieces);
180 bool Verbose =
false;
182 bool FixedHTs =
false;
193 double CoordinatesBoundingBox[6];
195 unsigned int IndicesBoundingBox[6];
213 VTK_ABI_NAMESPACE_END
Read VTK XML HyperTreeGrid files.
virtual const char * GetDataSetName()=0
Get the name of the data set being read.
virtual void SetupEmptyOutput()=0
Setup the output with no data available.
Represents an XML element and those nested inside.
std::map< unsigned int, unsigned int > IdsSelected
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
dynamic, self-adjusting array of vtkIdType
virtual void ReadXMLData()
Pipeline execution methods to be defined by subclass.
Objects for traversal a HyperTreeGrid.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
a simple class to control print indentation
virtual void CopyOutputInformation(vtkInformation *outInfo, int port)
vtkIdType UpdateNumberOfPieces
virtual int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
Read the primary element from the file.
dynamic, self-adjusting array of bits
A data object structured as a tree.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAlgorithm * New()
virtual void SetupOutputInformation(vtkInformation *outInfo)
Setup the output's information.
Superclass for VTK's XML format readers.
virtual void SetupOutputData()
Setup the output's data with allocation.