|
VTK
9.0.1
|
LevelEntry is a cache data for cursors requiring level info. More...
#include <vtkHyperTreeGridLevelEntry.h>
Public Member Functions | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| Display info about the entry. More... | |
| void | Dump (ostream &os) |
| Dump information. More... | |
| vtkHyperTreeGridLevelEntry () | |
| Constructor. More... | |
| vtkHyperTreeGridLevelEntry (vtkHyperTreeGridLevelEntry *entry) | |
| Constructor. More... | |
| vtkHyperTreeGridLevelEntry (vtkHyperTree *tree, unsigned int level, vtkIdType index) | |
| Constructor. More... | |
| vtkHyperTreeGridLevelEntry (vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false) | |
| Constructor. More... | |
| ~vtkHyperTreeGridLevelEntry ()=default | |
| Destructor. More... | |
| void | Reset () |
| Reset function. More... | |
| void | Initialize (vtkHyperTree *tree, unsigned int level, vtkIdType index) |
| Initialize cursor from explicit required data. More... | |
| vtkHyperTree * | Initialize (vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false) |
| Initialize cursor at root of given tree index in grid. More... | |
| void | Copy (const vtkHyperTreeGridLevelEntry *entry) |
| Copy function. More... | |
| vtkSmartPointer< vtkHyperTreeGridNonOrientedCursor > | GetHyperTreeGridNonOrientedCursor (vtkHyperTreeGrid *grid) |
| Create a vtkHyperTreeGridNonOrientedCursor from input grid and current entry data. More... | |
| vtkIdType | GetVertexId () const |
| Return the index of the current vertex in the tree. More... | |
| vtkIdType | GetGlobalNodeIndex () const |
| Return the global index (relative to the grid) of the current vertex in the tree. More... | |
| void | SetGlobalIndexStart (vtkIdType index) |
| Set the global index for the root cell of the HyperTree. More... | |
| void | SetGlobalIndexFromLocal (vtkIdType index) |
| Set the global index for the current cell of the HyperTree. More... | |
| void | SetMask (const vtkHyperTreeGrid *grid, bool state) |
| Set the blanking mask is empty or not. More... | |
| bool | IsMasked (const vtkHyperTreeGrid *grid) const |
| Determine whether blanking mask is empty or not. More... | |
| bool | IsLeaf (const vtkHyperTreeGrid *grid) const |
| Is the cursor pointing to a leaf? More... | |
| void | SubdivideLeaf (const vtkHyperTreeGrid *grid) |
| Change the current cell's status: if leaf then becomes coarse and all its children are created, cf. More... | |
| bool | IsTerminalNode (const vtkHyperTreeGrid *grid) const |
| Is the cursor pointing to a coarse with all childrens being leaves ? More... | |
| bool | IsRoot () const |
| Is the cursor at tree root? More... | |
| void | ToChild (const vtkHyperTreeGrid *grid, unsigned char ichild) |
| Move the cursor to child ‘child’ of the current vertex. More... | |
| vtkHyperTree * | GetTree () const |
| Get HyperTree from current cache entry. More... | |
| unsigned int | GetLevel () const |
| Get level info from current cache entry. More... | |
Protected Attributes | |
| vtkHyperTree * | Tree |
| pointer to the HyperTree containing the current cell. More... | |
| unsigned int | Level |
| level of the current cell in the HyperTree. More... | |
| vtkIdType | Index |
| index of the current cell in the HyperTree. More... | |
LevelEntry is a cache data for cursors requiring level info.
Definition at line 49 of file vtkHyperTreeGridLevelEntry.h.
|
inline |
Constructor.
Definition at line 65 of file vtkHyperTreeGridLevelEntry.h.
|
inline |
Constructor.
Definition at line 75 of file vtkHyperTreeGridLevelEntry.h.
|
inline |
Constructor.
Definition at line 85 of file vtkHyperTreeGridLevelEntry.h.
| vtkHyperTreeGridLevelEntry::vtkHyperTreeGridLevelEntry | ( | vtkHyperTreeGrid * | grid, |
| vtkIdType | treeIndex, | ||
| bool | create = false |
||
| ) |
Constructor.
|
default |
Destructor.
| void vtkHyperTreeGridLevelEntry::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
Display info about the entry.
| void vtkHyperTreeGridLevelEntry::Dump | ( | ostream & | os | ) |
Dump information.
|
inline |
Reset function.
Definition at line 105 of file vtkHyperTreeGridLevelEntry.h.
|
inline |
Initialize cursor from explicit required data.
Definition at line 115 of file vtkHyperTreeGridLevelEntry.h.
| vtkHyperTree* vtkHyperTreeGridLevelEntry::Initialize | ( | vtkHyperTreeGrid * | grid, |
| vtkIdType | treeIndex, | ||
| bool | create = false |
||
| ) |
Initialize cursor at root of given tree index in grid.
|
inline |
Copy function.
Definition at line 130 of file vtkHyperTreeGridLevelEntry.h.
| vtkSmartPointer<vtkHyperTreeGridNonOrientedCursor> vtkHyperTreeGridLevelEntry::GetHyperTreeGridNonOrientedCursor | ( | vtkHyperTreeGrid * | grid | ) |
Create a vtkHyperTreeGridNonOrientedCursor from input grid and current entry data.
|
inline |
Return the index of the current vertex in the tree.
Definition at line 147 of file vtkHyperTreeGridLevelEntry.h.
| vtkIdType vtkHyperTreeGridLevelEntry::GetGlobalNodeIndex | ( | ) | const |
Return the global index (relative to the grid) of the current vertex in the tree.
| void vtkHyperTreeGridLevelEntry::SetGlobalIndexStart | ( | vtkIdType | index | ) |
Set the global index for the root cell of the HyperTree.
| void vtkHyperTreeGridLevelEntry::SetGlobalIndexFromLocal | ( | vtkIdType | index | ) |
Set the global index for the current cell of the HyperTree.
| void vtkHyperTreeGridLevelEntry::SetMask | ( | const vtkHyperTreeGrid * | grid, |
| bool | state | ||
| ) |
Set the blanking mask is empty or not.
| bool vtkHyperTreeGridLevelEntry::IsMasked | ( | const vtkHyperTreeGrid * | grid | ) | const |
Determine whether blanking mask is empty or not.
| bool vtkHyperTreeGridLevelEntry::IsLeaf | ( | const vtkHyperTreeGrid * | grid | ) | const |
Is the cursor pointing to a leaf?
| void vtkHyperTreeGridLevelEntry::SubdivideLeaf | ( | const vtkHyperTreeGrid * | grid | ) |
Change the current cell's status: if leaf then becomes coarse and all its children are created, cf.
HyperTree.
| bool vtkHyperTreeGridLevelEntry::IsTerminalNode | ( | const vtkHyperTreeGrid * | grid | ) | const |
Is the cursor pointing to a coarse with all childrens being leaves ?
|
inline |
Is the cursor at tree root?
Definition at line 204 of file vtkHyperTreeGridLevelEntry.h.
| void vtkHyperTreeGridLevelEntry::ToChild | ( | const vtkHyperTreeGrid * | grid, |
| unsigned char | ichild | ||
| ) |
Move the cursor to child ‘child’ of the current vertex.
|
inline |
Get HyperTree from current cache entry.
Definition at line 219 of file vtkHyperTreeGridLevelEntry.h.
|
inline |
Get level info from current cache entry.
Definition at line 224 of file vtkHyperTreeGridLevelEntry.h.
|
protected |
pointer to the HyperTree containing the current cell.
Definition at line 230 of file vtkHyperTreeGridLevelEntry.h.
|
protected |
level of the current cell in the HyperTree.
Definition at line 235 of file vtkHyperTreeGridLevelEntry.h.
|
protected |
index of the current cell in the HyperTree.
Definition at line 240 of file vtkHyperTreeGridLevelEntry.h.
1.8.17