 |
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);
91 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
94 unsigned int jmax,
unsigned int kmin,
unsigned int kmax);
97 void AddSelectedHT(
unsigned int idg,
unsigned int fixedLevel = UINT_MAX);
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
vtkIdType GetNumberOfPieces()
void SetupPieces(int numPieces)
void CalculateHTs(const vtkHyperTreeGrid *grid)
vtkHyperTreeGrid * GetOutput()
Get the reader's output.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
void SubdivideFromDescriptor_0(vtkHyperTreeGridNonOrientedCursor *treeCursor, unsigned int level, int numChildren, vtkBitArray *desc, vtkIdTypeArray *posByLevel)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ReadTrees_1(vtkXMLDataElement *elem)
static vtkXMLHyperTreeGridReader * New()
void SetCoordinatesBoundingBox(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
Set/Get the selected HyperTrees (HTs) to read : by default, all Hts, or by set coordinates bounding b...
Objects for traversal a HyperTreeGrid.
void ReadTrees_0(vtkXMLDataElement *elem)
void AddSelectedHT(unsigned int idg, unsigned int fixedLevel=UINT_MAX)
~vtkXMLHyperTreeGridReader() override
void GetOutputUpdateExtent(int &piece, int &numberOfPieces)
const char * GetDataSetName() override
void ReadXMLData() override
a simple class to control print indentation
void SetupOutputData() override
A data object structured as a tree.
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Represents an XML element and those nested inside.
void SetIndicesBoundingBox(unsigned int imin, unsigned int imax, unsigned int jmin, unsigned int jmax, unsigned int kmin, unsigned int kmax)
void ReadGrid(vtkXMLDataElement *elem)
void CopyOutputInformation(vtkInformation *outInfo, int port) override
vtkXMLHyperTreeGridReader()
void SetupUpdateExtent(int piece, int numberOfPieces)
dynamic, self-adjusting array of vtkIdType
void SetupEmptyOutput() override
vtkIdType GetFixedLevelOfThisHT(vtkIdType numberOfLevels, unsigned int treeIndx) const
void ClearAndAddSelectedHT(unsigned int idg, unsigned int fixedLevel=UINT_MAX)
Read VTK XML HyperTreeGrid files.
@ COORDINATES_BOUNDING_BOX
vtkIdType GetNumberOfPoints()
dynamic, self-adjusting array of bits
bool IsSelectedHT(const vtkHyperTreeGrid *grid, unsigned int treeIndx) const
Superclass for VTK's XML format readers.
vtkHyperTreeGrid * GetOutput(int idx)
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
void SetupOutputInformation(vtkInformation *outInfo) override