VTK
9.1.0
|
JB. More...
#include <vtkHyperTreeGridGeometryEntry.h>
Public Member Functions | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Display info about the entry. | |
vtkHyperTreeGridGeometryEntry () | |
Constructor. | |
vtkHyperTreeGridGeometryEntry (vtkIdType index, const double *origin) | |
Constructor. | |
~vtkHyperTreeGridGeometryEntry ()=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, const double *origin) |
Initialize cursor from explicit required data. | |
void | Copy (const vtkHyperTreeGridGeometryEntry *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? | |
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. | |
bool | IsTerminalNode (const vtkHyperTreeGrid *grid, const vtkHyperTree *tree, unsigned int level) const |
Is the cursor pointing to a coarse with all childrens 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. | |
JB.
GeometryEntry is a cache data for cursors requiring coordinates
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.