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);
82 void SetCoordinatesBoundingBox(
83 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
85 void SetIndicesBoundingBox(
unsigned int imin,
unsigned int imax,
unsigned int jmin,
86 unsigned int jmax,
unsigned int kmin,
unsigned int kmax);
88 void ClearAndAddSelectedHT(
unsigned int idg,
unsigned int fixedLevel = UINT_MAX);
89 void AddSelectedHT(
unsigned int idg,
unsigned int fixedLevel = UINT_MAX);
97 void SetupUpdateExtent(
int piece,
int numberOfPieces);
119 unsigned int GetFixedLevelOfThisHT(
unsigned int numberOfLevels,
vtkIdType treeIndx)
const;
123 void DestroyPieces();
125 void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces);
131 void SetupOutputTotals();
134 void SetupNextPiece();
143 void SetupPieces(
int numPieces);
181 bool Verbose =
false;
183 bool FixedHTs =
false;
194 double CoordinatesBoundingBox[6];
196 unsigned int IndicesBoundingBox[6];
214 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 SetupOutputInformation(vtkInformation *vtkNotUsed(outInfo))
Setup the output's information.
vtkIdType UpdateNumberOfPieces
virtual int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
Read the primary element from the file.
dynamic, self-adjusting array of bits
virtual void CopyOutputInformation(vtkInformation *vtkNotUsed(outInfo), int vtkNotUsed(port))
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()
Superclass for VTK's XML format readers.
virtual void SetupOutputData()
Setup the output's data with allocation.