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. | |
vtkHyperTreeGridGeometryLevelEntry () | |
Constructor. | |
~vtkHyperTreeGridGeometryLevelEntry ()=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 vtkHyperTreeGridGeometryLevelEntry *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? | |
void | SubdivideLeaf (const vtkHyperTreeGrid *grid) |
Change the current cell's status: if leaf then becomes coarse and all its children are created, cf. | |
bool | IsTerminalNode (const vtkHyperTreeGrid *grid) const |
Is the cursor pointing to a coarse with all childrens 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. | |
unsigned int | GetLevel () const |
Get level info from current cache entry. | |
double * | GetOrigin () |
Getter for origin coordinates of the current cell. | |
const double * | GetOrigin () const |
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. | |
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.