 |
VTK
9.0.1
|
Go to the documentation of this file.
37 #ifndef vtkHyperTreeGridLevelEntry_h
38 #define vtkHyperTreeGridLevelEntry_h
60 void Dump(ostream& os);
107 this->
Tree =
nullptr;
243 #endif // __VTK_WRAP__
245 #endif // vtkHyperTreeGridLevelEntry_h
vtkHyperTreeGridLevelEntry(vtkHyperTree *tree, unsigned int level, vtkIdType index)
Constructor.
vtkIdType Index
index of the current cell in the HyperTree.
bool IsLeaf(const vtkHyperTreeGrid *grid) const
Is the cursor pointing to a leaf?
~vtkHyperTreeGridLevelEntry()=default
Destructor.
vtkHyperTree * Tree
pointer to the HyperTree containing the current cell.
Hold a reference to a vtkObjectBase instance.
vtkHyperTreeGridLevelEntry()
Constructor.
Objects for traversal a HyperTreeGrid.
void SetGlobalIndexStart(vtkIdType index)
Set the global index for the root cell of the HyperTree.
LevelEntry is a cache data for cursors requiring level info.
unsigned int Level
level of the current cell in the HyperTree.
vtkIdType GetGlobalNodeIndex() const
Return the global index (relative to the grid) of the current vertex in the tree.
vtkIdType GetVertexId() const
Return the index of the current vertex in the tree.
vtkHyperTreeGridLevelEntry(vtkHyperTreeGridLevelEntry *entry)
Constructor.
void Copy(const vtkHyperTreeGridLevelEntry *entry)
Copy function.
void Initialize(vtkHyperTree *tree, unsigned int level, vtkIdType index)
Initialize cursor from explicit required data.
void SubdivideLeaf(const vtkHyperTreeGrid *grid)
Change the current cell's status: if leaf then becomes coarse and all its children are created,...
a simple class to control print indentation
bool IsMasked(const vtkHyperTreeGrid *grid) const
Determine whether blanking mask is empty or not.
void SetMask(const vtkHyperTreeGrid *grid, bool state)
Set the blanking mask is empty or not.
unsigned int GetLevel() const
Get level info from current cache entry.
A data object structured as a tree.
bool IsTerminalNode(const vtkHyperTreeGrid *grid) const
Is the cursor pointing to a coarse with all childrens being leaves ?
vtkSmartPointer< vtkHyperTreeGridNonOrientedCursor > GetHyperTreeGridNonOrientedCursor(vtkHyperTreeGrid *grid)
Create a vtkHyperTreeGridNonOrientedCursor from input grid and current entry data.
void PrintSelf(ostream &os, vtkIndent indent)
Display info about the entry.
void SetGlobalIndexFromLocal(vtkIdType index)
Set the global index for the current cell of the HyperTree.
void ToChild(const vtkHyperTreeGrid *grid, unsigned char ichild)
Move the cursor to child ‘child’ of the current vertex.
void Dump(ostream &os)
Dump information.
vtkHyperTree * GetTree() const
Get HyperTree from current cache entry.
bool IsRoot() const
Is the cursor at tree root?
void Reset()
Reset function.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.