41 #ifndef vtkXMLHyperTreeGridReader_h 42 #define vtkXMLHyperTreeGridReader_h 44 #include "vtkIOXMLModule.h" 76 vtkSetMacro(FixedLevel,
unsigned int);
77 vtkGetMacro(FixedLevel,
unsigned int);
90 void SetCoordinatesBoundingBox(
91 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
93 void SetIndicesBoundingBox(
unsigned int imin,
unsigned int imax,
unsigned int jmin,
94 unsigned int jmax,
unsigned int kmin,
unsigned int kmax);
96 void ClearAndAddSelectedHT(
unsigned int idg,
unsigned int fixedLevel = UINT_MAX);
97 void AddSelectedHT(
unsigned int idg,
unsigned int fixedLevel = UINT_MAX);
105 void SetupUpdateExtent(
int piece,
int numberOfPieces);
124 bool IsSelectedHT(
const vtkHyperTreeGrid* grid,
unsigned int treeIndx)
const;
127 vtkIdType GetFixedLevelOfThisHT(
vtkIdType numberOfLevels,
unsigned int treeIndx)
const;
131 void DestroyPieces();
133 void GetOutputUpdateExtent(
int& piece,
int& numberOfPieces);
139 void SetupOutputTotals();
142 void SetupNextPiece();
151 void SetupPieces(
int numPieces);
181 unsigned int FixedLevel = UINT_MAX;
183 bool Verbose =
false;
185 bool FixedHTs =
false;
196 double CoordinatesBoundingBox[6];
198 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))
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()