 |
VTK
9.0.1
|
Go to the documentation of this file.
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];
std::map< unsigned int, unsigned int > IdsSelected
virtual int ReadPrimaryElement(vtkXMLDataElement *ePrimary)
Objects for traversal a HyperTreeGrid.
virtual void SetupOutputData()
virtual void ReadXMLData()
virtual void SetupEmptyOutput()=0
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A data object structured as a tree.
virtual const char * GetDataSetName()=0
Represents an XML element and those nested inside.
static vtkAlgorithm * New()
dynamic, self-adjusting array of vtkIdType
Read VTK XML HyperTreeGrid files.
virtual void SetupOutputInformation(vtkInformation *vtkNotUsed(outInfo))
@ COORDINATES_BOUNDING_BOX
dynamic, self-adjusting array of bits
virtual void CopyOutputInformation(vtkInformation *vtkNotUsed(outInfo), int vtkNotUsed(port))
Superclass for VTK's XML format readers.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.