VTK
9.2.20230322
|
Cursor cache data with coordinates and level info. More...
#include <vtkHyperTreeGridGeometryUnlimitedLevelEntry.h>
Public Member Functions | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Display info about the entry. More... | |
vtkHyperTreeGridGeometryUnlimitedLevelEntry (vtkHyperTree *tree=nullptr) | |
Constructor. More... | |
~vtkHyperTreeGridGeometryUnlimitedLevelEntry ()=default | |
Destructor. More... | |
void | Dump (ostream &os) |
Dump information. More... | |
void | Initialize (vtkHyperTree *tree, unsigned int level, vtkIdType index, const double *origin) |
Initialize cache entry from explicit required data. More... | |
vtkHyperTree * | Initialize (vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false) |
Initialize cache entry at root of given tree index in grid. More... | |
void | Reset () |
Reset function. More... | |
void | Copy (const vtkHyperTreeGridGeometryUnlimitedLevelEntry *entry) |
Copy function. More... | |
vtkSmartPointer< vtkHyperTreeGridOrientedGeometryCursor > | GetHyperTreeGridOrientedGeometryCursor (vtkHyperTreeGrid *grid) |
Create a vtkHyperTreeGridOrientedCursor from input grid and current entry data. More... | |
vtkSmartPointer< vtkHyperTreeGridNonOrientedGeometryCursor > | GetHyperTreeGridNonOrientedGeometryCursor (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... | |
bool | IsRealLeaf (const vtkHyperTreeGrid *grid) const |
Is the cursor pointing to a leaf? More... | |
bool | IsVirtualLeaf (const vtkHyperTreeGrid *grid) const |
Is the cursor pointing to a virually subdivided leaf? More... | |
bool | IsTerminalNode (const vtkHyperTreeGrid *grid) const |
Is the cursor pointing to a coarse with all childrens being leaves ? More... | |
bool | IsRoot () |
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... | |
void | GetBounds (double bounds[6]) const |
Getter for bounding box of the current cell. More... | |
void | GetPoint (double point[3]) const |
Getter for center of the current cell. More... | |
unsigned int | GetLevel () const |
Get level info from current cache entry. More... | |
unsigned int | GetLastRealLevel () const |
Get level info from current cache entry. More... | |
double * | GetOrigin () |
Getter for origin coordinates of the current cell. More... | |
const double * | GetOrigin () const |
Getter for origin coordinates of the current cell. More... | |
Cursor cache data with coordinates and level info.
Definition at line 52 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Constructor.
Definition at line 63 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
default |
Destructor.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Display info about the entry.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::Dump | ( | ostream & | os | ) |
Dump information.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::Initialize | ( | vtkHyperTree * | tree, |
unsigned int | level, | ||
vtkIdType | index, | ||
const double * | origin | ||
) |
Initialize cache entry from explicit required data.
vtkHyperTree* vtkHyperTreeGridGeometryUnlimitedLevelEntry::Initialize | ( | vtkHyperTreeGrid * | grid, |
vtkIdType | treeIndex, | ||
bool | create = false |
||
) |
Initialize cache entry at root of given tree index in grid.
|
inline |
Reset function.
Definition at line 97 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Copy function.
Definition at line 106 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Create a vtkHyperTreeGridOrientedCursor from input grid and current entry data.
Definition at line 117 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Create a vtkHyperTreeGridNonOrientedCursor from input grid and current entry data.
Definition at line 131 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Return the index of the current vertex in the tree.
Definition at line 144 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
vtkIdType vtkHyperTreeGridGeometryUnlimitedLevelEntry::GetGlobalNodeIndex | ( | ) | const |
Return the global index (relative to the grid) of the current vertex in the tree.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::SetGlobalIndexStart | ( | vtkIdType | index | ) |
Set the global index for the root cell of the HyperTree.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::SetGlobalIndexFromLocal | ( | vtkIdType | index | ) |
Set the global index for the current cell of the HyperTree.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::SetMask | ( | const vtkHyperTreeGrid * | grid, |
bool | state | ||
) |
Set the blanking mask is empty or not.
bool vtkHyperTreeGridGeometryUnlimitedLevelEntry::IsMasked | ( | const vtkHyperTreeGrid * | grid | ) | const |
Determine whether blanking mask is empty or not.
bool vtkHyperTreeGridGeometryUnlimitedLevelEntry::IsLeaf | ( | const vtkHyperTreeGrid * | grid | ) | const |
Is the cursor pointing to a leaf?
bool vtkHyperTreeGridGeometryUnlimitedLevelEntry::IsRealLeaf | ( | const vtkHyperTreeGrid * | grid | ) | const |
Is the cursor pointing to a leaf?
bool vtkHyperTreeGridGeometryUnlimitedLevelEntry::IsVirtualLeaf | ( | const vtkHyperTreeGrid * | grid | ) | const |
Is the cursor pointing to a virually subdivided leaf?
bool vtkHyperTreeGridGeometryUnlimitedLevelEntry::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 205 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::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 220 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Get level info from current cache entry.
Definition at line 226 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Get level info from current cache entry.
Definition at line 227 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Getter for origin coordinates of the current cell.
Definition at line 234 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Getter for origin coordinates of the current cell.
Definition at line 235 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::GetBounds | ( | double | bounds[6] | ) | const |
Getter for bounding box of the current cell.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::GetPoint | ( | double | point[3] | ) | const |
Getter for center of the current cell.