VTK
9.4.20250202
|
GeometryUnlimitedEntry is a cache data for cursors requiring coordinates. More...
#include <vtkHyperTreeGridGeometryUnlimitedEntry.h>
Public Member Functions | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Display info about the entry. | |
vtkHyperTreeGridGeometryUnlimitedEntry () | |
Constructor. | |
vtkHyperTreeGridGeometryUnlimitedEntry (vtkIdType index, const double *origin) | |
Constructor assume construction from a real level. | |
~vtkHyperTreeGridGeometryUnlimitedEntry ()=default | |
Destructor. | |
void | Dump (ostream &os) |
Dump information. | |
vtkHyperTree * | Initialize (vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false) |
Initialize cursor at root of given tree index in grid. | |
void | Initialize (vtkIdType index, vtkIdType lastIndex, const double *origin) |
Initialize cursor from explicit required data. | |
void | Copy (const vtkHyperTreeGridGeometryUnlimitedEntry *entry) |
Copy function. | |
vtkIdType | GetVertexId () const |
Return the index of the current vertex in the tree. | |
vtkIdType | GetGlobalNodeIndex (const vtkHyperTree *tree) const |
Return the global index (relative to the grid) of the current vertex in the tree. | |
void | SetGlobalIndexStart (vtkHyperTree *tree, vtkIdType index) |
Set the global index for the root cell of the HyperTree. | |
void | SetGlobalIndexFromLocal (vtkHyperTree *tree, vtkIdType index) |
Set the global index for the current cell of the HyperTree. | |
void | SetMask (const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, bool state) |
Set the blanking mask is empty or not. | |
bool | IsMasked (const vtkHyperTreeGrid *grid, const vtkHyperTree *tree) const |
Determine whether blanking mask is empty or not. | |
bool | IsLeaf (const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, unsigned int level) const |
Is the cursor pointing to a leaf? Unlimited cursors allow to go deeper than a real leaf. | |
bool | IsRealLeaf (const vtkHyperTree *tree) const |
Is the cursor pointing to a real leaf of the underlying tree ? | |
bool | IsVirtualLeaf (const vtkHyperTree *tree) const |
Is the cursor pointing below a real leaf of the underlying tree ? | |
bool | IsTerminalNode (const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, unsigned int level) const |
Is the cursor pointing to a coarse with all children leaves ? | |
bool | IsRoot () const |
Is the cursor at tree root? | |
void | ToChild (const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, unsigned int level, const double *sizeChild, unsigned char ichild) |
Move the cursor to child ‘child’ of the current vertex. | |
double * | GetOrigin () |
Getter for origin coordinates of the current cell. | |
const double * | GetOrigin () const |
void | GetBounds (const double *sizeChild, double bounds[6]) const |
Getter for bounding box of the current cell. | |
void | GetPoint (const double *sizeChild, double point[3]) const |
Getter for center of the current cell. | |
GeometryUnlimitedEntry is a cache data for cursors requiring coordinates.
Definition at line 34 of file vtkHyperTreeGridGeometryUnlimitedEntry.h.
vtkHyperTreeGridGeometryUnlimitedEntry::vtkHyperTreeGridGeometryUnlimitedEntry | ( | ) |
Constructor.
vtkHyperTreeGridGeometryUnlimitedEntry::vtkHyperTreeGridGeometryUnlimitedEntry | ( | vtkIdType | index, |
const double * | origin | ||
) |
Constructor assume construction from a real level.
|
default |
Destructor.
void vtkHyperTreeGridGeometryUnlimitedEntry::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Display info about the entry.
void vtkHyperTreeGridGeometryUnlimitedEntry::Dump | ( | ostream & | os | ) |
Dump information.
vtkHyperTree * vtkHyperTreeGridGeometryUnlimitedEntry::Initialize | ( | vtkHyperTreeGrid * | grid, |
vtkIdType | treeIndex, | ||
bool | create = false |
||
) |
Initialize cursor at root of given tree index in grid.
|
inline |
Initialize cursor from explicit required data.
Definition at line 71 of file vtkHyperTreeGridGeometryUnlimitedEntry.h.
|
inline |
Copy function.
Definition at line 84 of file vtkHyperTreeGridGeometryUnlimitedEntry.h.
|
inline |
Return the index of the current vertex in the tree.
Definition at line 92 of file vtkHyperTreeGridGeometryUnlimitedEntry.h.
vtkIdType vtkHyperTreeGridGeometryUnlimitedEntry::GetGlobalNodeIndex | ( | const vtkHyperTree * | tree | ) | const |
Return the global index (relative to the grid) of the current vertex in the tree.
void vtkHyperTreeGridGeometryUnlimitedEntry::SetGlobalIndexStart | ( | vtkHyperTree * | tree, |
vtkIdType | index | ||
) |
Set the global index for the root cell of the HyperTree.
void vtkHyperTreeGridGeometryUnlimitedEntry::SetGlobalIndexFromLocal | ( | vtkHyperTree * | tree, |
vtkIdType | index | ||
) |
Set the global index for the current cell of the HyperTree.
void vtkHyperTreeGridGeometryUnlimitedEntry::SetMask | ( | const vtkHyperTreeGrid * | grid, |
const vtkHyperTree * | tree, | ||
bool | state | ||
) |
Set the blanking mask is empty or not.
bool vtkHyperTreeGridGeometryUnlimitedEntry::IsMasked | ( | const vtkHyperTreeGrid * | grid, |
const vtkHyperTree * | tree | ||
) | const |
Determine whether blanking mask is empty or not.
bool vtkHyperTreeGridGeometryUnlimitedEntry::IsLeaf | ( | const vtkHyperTreeGrid * | grid, |
const vtkHyperTree * | tree, | ||
unsigned int | level | ||
) | const |
Is the cursor pointing to a leaf? Unlimited cursors allow to go deeper than a real leaf.
bool vtkHyperTreeGridGeometryUnlimitedEntry::IsRealLeaf | ( | const vtkHyperTree * | tree | ) | const |
Is the cursor pointing to a real leaf of the underlying tree ?
bool vtkHyperTreeGridGeometryUnlimitedEntry::IsVirtualLeaf | ( | const vtkHyperTree * | tree | ) | const |
Is the cursor pointing below a real leaf of the underlying tree ?
bool vtkHyperTreeGridGeometryUnlimitedEntry::IsTerminalNode | ( | const vtkHyperTreeGrid * | grid, |
const vtkHyperTree * | tree, | ||
unsigned int | level | ||
) | const |
Is the cursor pointing to a coarse with all children leaves ?
|
inline |
Is the cursor at tree root?
Definition at line 158 of file vtkHyperTreeGridGeometryUnlimitedEntry.h.
void vtkHyperTreeGridGeometryUnlimitedEntry::ToChild | ( | const vtkHyperTreeGrid * | grid, |
const vtkHyperTree * | tree, | ||
unsigned int | level, | ||
const double * | sizeChild, | ||
unsigned char | ichild | ||
) |
Move the cursor to child ‘child’ of the current vertex.
|
inline |
Getter for origin coordinates of the current cell.
Definition at line 174 of file vtkHyperTreeGridGeometryUnlimitedEntry.h.
|
inline |
Definition at line 175 of file vtkHyperTreeGridGeometryUnlimitedEntry.h.
|
inline |
Getter for bounding box of the current cell.
Definition at line 180 of file vtkHyperTreeGridGeometryUnlimitedEntry.h.
|
inline |
Getter for center of the current cell.
Definition at line 194 of file vtkHyperTreeGridGeometryUnlimitedEntry.h.