44 #ifndef vtkXMLHyperTreeGridReader_h
45 #define vtkXMLHyperTreeGridReader_h
47 #include "vtkIOXMLModule.h"
79 vtkSetMacro(FixedLevel,
unsigned int);
80 vtkGetMacro(FixedLevel,
unsigned int);
93 void SetCoordinatesBoundingBox(
94 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
96 void SetIndicesBoundingBox(
unsigned int imin,
unsigned int imax,
unsigned int jmin,
97 unsigned int jmax,
unsigned int kmin,
unsigned int kmax);
99 void ClearAndAddSelectedHT(
unsigned int idg,
unsigned int fixedLevel = UINT_MAX);
100 void AddSelectedHT(
unsigned int idg,
unsigned int fixedLevel = UINT_MAX);
108 void SetupUpdateExtent(
int piece,
int numberOfPieces);
130 unsigned int GetFixedLevelOfThisHT(
unsigned int numberOfLevels,
vtkIdType treeIndx)
const;
134 void DestroyPieces();
136 void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces);
142 void SetupOutputTotals();
145 void SetupNextPiece();
154 void SetupPieces(
int numPieces);
192 bool Verbose =
false;
194 bool FixedHTs =
false;
205 double CoordinatesBoundingBox[6];
207 unsigned int IndicesBoundingBox[6];
Read VTK XML HyperTreeGrid files.
virtual const char * GetDataSetName()=0
virtual void SetupEmptyOutput()=0
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()
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))
vtkIdType UpdateNumberOfPieces
virtual int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
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()