|
VTK
9.0.1
|
GeometryEntry is a cache data for cursors requiring coordinates. More...
#include <vtkHyperTreeGridGeometryEntry.h>
Public Member Functions | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| Display info about the entry. More... | |
| vtkHyperTreeGridGeometryEntry () | |
| Constructor. More... | |
| vtkHyperTreeGridGeometryEntry (vtkIdType index, const double *origin) | |
| Constructor. More... | |
| ~vtkHyperTreeGridGeometryEntry ()=default | |
| Destructor. More... | |
| void | Dump (ostream &os) |
| Dump information. More... | |
| vtkHyperTree * | Initialize (vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false) |
| Initialize cursor at root of given tree index in grid. More... | |
| void | Initialize (vtkIdType index, const double *origin) |
| Initialize cursor from explicit required data. More... | |
| void | Copy (const vtkHyperTreeGridGeometryEntry *entry) |
| Copy function. More... | |
| vtkIdType | GetVertexId () const |
| Return the index of the current vertex in the tree. More... | |
| vtkIdType | GetGlobalNodeIndex (const vtkHyperTree *tree) const |
| Return the global index (relative to the grid) of the current vertex in the tree. More... | |
| void | SetGlobalIndexStart (vtkHyperTree *tree, vtkIdType index) |
| Set the global index for the root cell of the HyperTree. More... | |
| void | SetGlobalIndexFromLocal (vtkHyperTree *tree, vtkIdType index) |
| Set the global index for the current cell of the HyperTree. More... | |
| void | SetMask (const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, bool state) |
| Set the blanking mask is empty or not. More... | |
| bool | IsMasked (const vtkHyperTreeGrid *grid, const vtkHyperTree *tree) const |
| Determine whether blanking mask is empty or not. More... | |
| bool | IsLeaf (const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, unsigned int level) const |
| Is the cursor pointing to a leaf? More... | |
| void | SubdivideLeaf (const vtkHyperTreeGrid *grid, vtkHyperTree *tree, unsigned int level) |
| 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 vtkHyperTree *tree, unsigned int level) const |
| Is the cursor pointing to a coarse with all childrens leaves ? More... | |
| bool | IsRoot () const |
| Is the cursor at tree root? More... | |
| 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. More... | |
| double * | GetOrigin () |
| Getter for origin coordinates of the current cell. More... | |
| const double * | GetOrigin () const |
| void | GetBounds (const double *sizeChild, double bounds[6]) const |
| Getter for bounding box of the current cell. More... | |
| void | GetPoint (const double *sizeChild, double point[3]) const |
| Getter for center of the current cell. More... | |
GeometryEntry is a cache data for cursors requiring coordinates.
JB cf. vtkHyperTreeGridEntry
Definition at line 48 of file vtkHyperTreeGridGeometryEntry.h.
| vtkHyperTreeGridGeometryEntry::vtkHyperTreeGridGeometryEntry | ( | ) |
Constructor.
|
inline |
Constructor.
Definition at line 64 of file vtkHyperTreeGridGeometryEntry.h.
|
default |
Destructor.
| void vtkHyperTreeGridGeometryEntry::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
Display info about the entry.
| void vtkHyperTreeGridGeometryEntry::Dump | ( | ostream & | os | ) |
Dump information.
| vtkHyperTree* vtkHyperTreeGridGeometryEntry::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 91 of file vtkHyperTreeGridGeometryEntry.h.
|
inline |
Copy function.
Definition at line 103 of file vtkHyperTreeGridGeometryEntry.h.
|
inline |
Return the index of the current vertex in the tree.
Definition at line 115 of file vtkHyperTreeGridGeometryEntry.h.
| vtkIdType vtkHyperTreeGridGeometryEntry::GetGlobalNodeIndex | ( | const vtkHyperTree * | tree | ) | const |
Return the global index (relative to the grid) of the current vertex in the tree.
| void vtkHyperTreeGridGeometryEntry::SetGlobalIndexStart | ( | vtkHyperTree * | tree, |
| vtkIdType | index | ||
| ) |
Set the global index for the root cell of the HyperTree.
| void vtkHyperTreeGridGeometryEntry::SetGlobalIndexFromLocal | ( | vtkHyperTree * | tree, |
| vtkIdType | index | ||
| ) |
Set the global index for the current cell of the HyperTree.
| void vtkHyperTreeGridGeometryEntry::SetMask | ( | const vtkHyperTreeGrid * | grid, |
| const vtkHyperTree * | tree, | ||
| bool | state | ||
| ) |
Set the blanking mask is empty or not.
| bool vtkHyperTreeGridGeometryEntry::IsMasked | ( | const vtkHyperTreeGrid * | grid, |
| const vtkHyperTree * | tree | ||
| ) | const |
Determine whether blanking mask is empty or not.
| bool vtkHyperTreeGridGeometryEntry::IsLeaf | ( | const vtkHyperTreeGrid * | grid, |
| const vtkHyperTree * | tree, | ||
| unsigned int | level | ||
| ) | const |
Is the cursor pointing to a leaf?
| void vtkHyperTreeGridGeometryEntry::SubdivideLeaf | ( | const vtkHyperTreeGrid * | grid, |
| vtkHyperTree * | tree, | ||
| unsigned int | level | ||
| ) |
Change the current cell's status: if leaf then becomes coarse and all its children are created, cf.
HyperTree.
| bool vtkHyperTreeGridGeometryEntry::IsTerminalNode | ( | const vtkHyperTreeGrid * | grid, |
| const vtkHyperTree * | tree, | ||
| unsigned int | level | ||
| ) | const |
Is the cursor pointing to a coarse with all childrens leaves ?
|
inline |
Is the cursor at tree root?
Definition at line 174 of file vtkHyperTreeGridGeometryEntry.h.
| void vtkHyperTreeGridGeometryEntry::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 190 of file vtkHyperTreeGridGeometryEntry.h.
|
inline |
Definition at line 191 of file vtkHyperTreeGridGeometryEntry.h.
|
inline |
Getter for bounding box of the current cell.
Definition at line 196 of file vtkHyperTreeGridGeometryEntry.h.
|
inline |
Getter for center of the current cell.
Definition at line 210 of file vtkHyperTreeGridGeometryEntry.h.
1.8.17