64 #ifndef vtkHyperTreeGridEntry_h 65 #define vtkHyperTreeGridEntry_h 85 void Dump(ostream& os);
189 unsigned char ichild);
198 #endif // __VTK_WRAP__ 200 #endif // vtkHyperTreeGridEntry_h void Initialize(vtkIdType index)
Initialize cursor at root of given tree index in grid.
vtkHyperTree * Initialize(vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false)
Initialize cursor at root of given tree index in grid.
vtkHyperTreeGridEntry(vtkIdType index)
Constructor.
void ToChild(const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, unsigned int level, unsigned char ichild)
Move the cursor to i-th child of the current cell.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
vtkIdType Index
index of the current cell in the HyperTree.
vtkIdType GetVertexId() const
Return the index of the current vertex in the tree.
a simple class to control print indentation
vtkIdType GetGlobalNodeIndex(const vtkHyperTree *tree) const
Return the global index for the current cell (cf.
void SetGlobalIndexStart(vtkHyperTree *tree, vtkIdType index)
Set the global index for the root cell of the HyperTree.
vtkHyperTreeGridEntry()
Constructor.
void SubdivideLeaf(const vtkHyperTreeGrid *grid, vtkHyperTree *tree, unsigned int level)
Change the current cell's status: if leaf then becomes coarse and all its children are created...
Entries are cache data for cursors.
void PrintSelf(ostream &os, vtkIndent indent)
Display info about the entry.
bool IsRoot() const
Is the cursor at HyperTree root?
void Copy(const vtkHyperTreeGridEntry *entry)
Copy function.
bool IsMasked(const vtkHyperTreeGrid *grid, const vtkHyperTree *tree) const
Determine whether blanking mask is empty or not.
A data object structured as a tree.
void SetMask(const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, bool state)
Set the blanking mask is empty or not.
bool IsTerminalNode(const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, unsigned int level) const
Is the cursor pointing to a coarse with all childrens being leaves?
void Dump(ostream &os)
Dump information.
void SetGlobalIndexFromLocal(vtkHyperTree *tree, vtkIdType index)
Set the global index for the current cell of the HyperTree.
bool IsLeaf(const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, unsigned int level) const
Is the cursor pointing to a leaf?
~vtkHyperTreeGridEntry()=default
Destructor.