VTK
9.4.20250114
|
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. | |
vtkHyperTreeGridGeometryUnlimitedLevelEntry (vtkHyperTree *tree=nullptr) | |
Constructor. | |
vtkHyperTreeGridGeometryUnlimitedLevelEntry (vtkHyperTreeGridGeometryUnlimitedLevelEntry const &)=default | |
vtkHyperTreeGridGeometryUnlimitedLevelEntry & | operator= (vtkHyperTreeGridGeometryUnlimitedLevelEntry const &)=default |
~vtkHyperTreeGridGeometryUnlimitedLevelEntry ()=default | |
Destructor. | |
void | Dump (ostream &os) |
Dump information. | |
void | Initialize (vtkHyperTree *tree, unsigned int level, vtkIdType index, const double *origin) |
Initialize cache entry from explicit required data. | |
vtkHyperTree * | Initialize (vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false) |
Initialize cache entry at root of given tree index in grid. | |
void | Reset () |
Reset function. | |
void | Copy (const vtkHyperTreeGridGeometryUnlimitedLevelEntry *entry) |
Copy function. | |
vtkSmartPointer< vtkHyperTreeGridOrientedGeometryCursor > | GetHyperTreeGridOrientedGeometryCursor (vtkHyperTreeGrid *grid) |
Create a vtkHyperTreeGridOrientedCursor from input grid and current entry data. | |
vtkSmartPointer< vtkHyperTreeGridNonOrientedGeometryCursor > | GetHyperTreeGridNonOrientedGeometryCursor (vtkHyperTreeGrid *grid) |
Create a vtkHyperTreeGridNonOrientedCursor from input grid and current entry data. | |
vtkIdType | GetVertexId () const |
Return the index of the current vertex in the tree. | |
vtkIdType | GetGlobalNodeIndex () const |
Return the global index (relative to the grid) of the current vertex in the tree. | |
void | SetGlobalIndexStart (vtkIdType index) |
Set the global index for the root cell of the HyperTree. | |
void | SetGlobalIndexFromLocal (vtkIdType index) |
Set the global index for the current cell of the HyperTree. | |
void | SetMask (const vtkHyperTreeGrid *grid, bool state) |
Set the blanking mask is empty or not. | |
bool | IsMasked (const vtkHyperTreeGrid *grid) const |
Determine whether blanking mask is empty or not. | |
bool | IsLeaf (const vtkHyperTreeGrid *grid) const |
Is the cursor pointing to a leaf? | |
bool | IsRealLeaf (const vtkHyperTreeGrid *grid) const |
Is the cursor pointing to a leaf? | |
bool | IsVirtualLeaf (const vtkHyperTreeGrid *grid) const |
Is the cursor pointing to a virually subdivided leaf? | |
bool | IsTerminalNode (const vtkHyperTreeGrid *grid) const |
Is the cursor pointing to a coarse with all children being leaves ? | |
bool | IsRoot () |
Is the cursor at tree root? | |
void | ToChild (const vtkHyperTreeGrid *grid, unsigned char ichild) |
Move the cursor to child ‘child’ of the current vertex. | |
vtkHyperTree * | GetTree () const |
Get HyperTree from current cache entry. | |
void | GetBounds (double bounds[6]) const |
Getter for bounding box of the current cell. | |
void | GetPoint (double point[3]) const |
Getter for center of the current cell. | |
unsigned int | GetLevel () const |
Get level info from current cache entry. | |
unsigned int | GetLastRealLevel () const |
Get level info from current cache entry. | |
double * | GetOrigin () |
Getter for origin coordinates of the current cell. | |
const double * | GetOrigin () const |
Getter for origin coordinates of the current cell. | |
Cursor cache data with coordinates and level info.
Definition at line 40 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Constructor.
Definition at line 51 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
default |
|
default |
Destructor.
void vtkHyperTreeGridGeometryUnlimitedLevelEntry::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Display info about the entry.
|
default |
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 90 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Copy function.
Definition at line 99 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Create a vtkHyperTreeGridOrientedCursor from input grid and current entry data.
Definition at line 110 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Create a vtkHyperTreeGridNonOrientedCursor from input grid and current entry data.
Definition at line 124 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Return the index of the current vertex in the tree.
Definition at line 137 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 children being leaves ?
|
inline |
Is the cursor at tree root?
Definition at line 198 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 213 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Get level info from current cache entry.
Definition at line 219 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Get level info from current cache entry.
Definition at line 220 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Getter for origin coordinates of the current cell.
Definition at line 227 of file vtkHyperTreeGridGeometryUnlimitedLevelEntry.h.
|
inline |
Getter for origin coordinates of the current cell.
Definition at line 228 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.