VTK
9.1.0
|
Cursor cache data with coordinates and level info. More...
#include <vtkHyperTreeGridGeometryLevelEntry.h>
Public Member Functions | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Display info about the entry. More... | |
vtkHyperTreeGridGeometryLevelEntry () | |
Constructor. More... | |
~vtkHyperTreeGridGeometryLevelEntry ()=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 vtkHyperTreeGridGeometryLevelEntry *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... | |
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 () |
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... | |
double * | GetOrigin () |
Getter for origin coordinates of the current cell. More... | |
const double * | GetOrigin () const |
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... | |
Cursor cache data with coordinates and level info.
Definition at line 52 of file vtkHyperTreeGridGeometryLevelEntry.h.
|
inline |
Constructor.
Definition at line 63 of file vtkHyperTreeGridGeometryLevelEntry.h.
|
default |
Destructor.
void vtkHyperTreeGridGeometryLevelEntry::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Display info about the entry.
void vtkHyperTreeGridGeometryLevelEntry::Dump | ( | ostream & | os | ) |
Dump information.
|
inline |
Initialize cache entry from explicit required data.
Definition at line 87 of file vtkHyperTreeGridGeometryLevelEntry.h.
vtkHyperTree * vtkHyperTreeGridGeometryLevelEntry::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 106 of file vtkHyperTreeGridGeometryLevelEntry.h.
|
inline |
Copy function.
Definition at line 115 of file vtkHyperTreeGridGeometryLevelEntry.h.
|
inline |
Create a vtkHyperTreeGridOrientedCursor from input grid and current entry data.
Definition at line 124 of file vtkHyperTreeGridGeometryLevelEntry.h.
|
inline |
Create a vtkHyperTreeGridNonOrientedCursor from input grid and current entry data.
Definition at line 138 of file vtkHyperTreeGridGeometryLevelEntry.h.
|
inline |
Return the index of the current vertex in the tree.
Definition at line 151 of file vtkHyperTreeGridGeometryLevelEntry.h.
vtkIdType vtkHyperTreeGridGeometryLevelEntry::GetGlobalNodeIndex | ( | ) | const |
Return the global index (relative to the grid) of the current vertex in the tree.
void vtkHyperTreeGridGeometryLevelEntry::SetGlobalIndexStart | ( | vtkIdType | index | ) |
Set the global index for the root cell of the HyperTree.
void vtkHyperTreeGridGeometryLevelEntry::SetGlobalIndexFromLocal | ( | vtkIdType | index | ) |
Set the global index for the current cell of the HyperTree.
void vtkHyperTreeGridGeometryLevelEntry::SetMask | ( | const vtkHyperTreeGrid * | grid, |
bool | state | ||
) |
Set the blanking mask is empty or not.
bool vtkHyperTreeGridGeometryLevelEntry::IsMasked | ( | const vtkHyperTreeGrid * | grid | ) | const |
Determine whether blanking mask is empty or not.
bool vtkHyperTreeGridGeometryLevelEntry::IsLeaf | ( | const vtkHyperTreeGrid * | grid | ) | const |
Is the cursor pointing to a leaf?
void vtkHyperTreeGridGeometryLevelEntry::SubdivideLeaf | ( | const vtkHyperTreeGrid * | grid | ) |
Change the current cell's status: if leaf then becomes coarse and all its children are created, cf.
HyperTree.
bool vtkHyperTreeGridGeometryLevelEntry::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 209 of file vtkHyperTreeGridGeometryLevelEntry.h.
void vtkHyperTreeGridGeometryLevelEntry::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 224 of file vtkHyperTreeGridGeometryLevelEntry.h.
|
inline |
Get level info from current cache entry.
Definition at line 229 of file vtkHyperTreeGridGeometryLevelEntry.h.
|
inline |
Getter for origin coordinates of the current cell.
Definition at line 234 of file vtkHyperTreeGridGeometryLevelEntry.h.
|
inline |
Definition at line 235 of file vtkHyperTreeGridGeometryLevelEntry.h.
void vtkHyperTreeGridGeometryLevelEntry::GetBounds | ( | double | bounds[6] | ) | const |
Getter for bounding box of the current cell.
void vtkHyperTreeGridGeometryLevelEntry::GetPoint | ( | double | point[3] | ) | const |
Getter for center of the current cell.