 |
VTK
9.0.1
|
Go to the documentation of this file.
38 #ifndef vtkHyperTreeGridNonOrientedSuperCursor_h
39 #define vtkHyperTreeGridNonOrientedSuperCursor_h
41 #include "vtkCommonDataModelModule.h"
121 unsigned int icursor,
unsigned int&
level,
bool& leaf,
vtkIdType&
id);
156 void SetMask(
unsigned int icursor,
bool state);
232 unsigned int icursor);
240 unsigned int icursor);
269 std::vector<vtkHyperTreeGridGeometryLevelEntry>
Entries;
void GetPoint(unsigned int icursor, double point[3])
Objects for traversal a HyperTreeGrid.
bool IsMasked()
Determine whether blanking mask is empty or not.
std::vector< vtkHyperTreeGridGeometryLevelEntry > Entries
unsigned int GetIndiceEntry(unsigned int icursor)
JB.
vtkHyperTreeGrid * GetGrid()
Set the hyper tree grid to which the cursor is pointing.
vtkHyperTree * GetTree(unsigned int icursor)
vtkHyperTreeGrid * Grid
JB Reference sur l'hyper tree grid parcouru actuellement.
unsigned int GetLevel()
Get the level of the tree vertex pointed by the cursor.
void ToParent()
Move the cursor to the parent of the current vertex.
unsigned char GetNumberOfChildren()
Return the number of children for each node (non-vertex leaf) of the tree.
unsigned int GetLevel(unsigned int icursor)
Objects for traversal a HyperTreeGrid.
bool IsMasked(unsigned int icursor)
void SubdivideLeaf()
JB Fait chier normalement on devrait passer par GetEntry.
Hold a reference to a vtkObjectBase instance.
abstract base class for most VTK objects
vtkIdType GetGlobalNodeIndex(unsigned int icursor)
JB Return the global index (relative to the grid) of the neighboor icursor current vertex in the tree...
void SetMask(unsigned int icursor, bool state)
unsigned int FirstCurrentNeighboorReferenceEntry
JB La derniere reference valide pour decrire tous les voisins.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned int NumberOfCursors
const unsigned int * ChildCursorToChildTable
unsigned int IndiceCentralCursor
JB.
bool IsRoot()
Is the cursor at tree root?
void GetBounds(unsigned int icursor, double bounds[6])
~vtkHyperTreeGridNonOrientedSuperCursor() override
Destructor.
bool HasTree()
Return if a Tree pointing exist.
virtual void Initialize(vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false)=0
Initialize cursor at root of given tree index in grid.
void SetMask(bool state)
Set the blanking mask is empty or not.
bool IsLeaf()
Is the cursor pointing to a leaf?
vtkIdType GetGlobalNodeIndex()
Return the global index (relative to the grid) of the current vertex in the tree.
std::vector< unsigned int > FirstNonValidEntryByLevel
unsigned int GetIndicePreviousEntry(unsigned int icursor)
JB La valeur precedente.
virtual vtkHyperTreeGridNonOrientedSuperCursor * Clone()
Create a copy of ‘this’.
Objects for traversal a HyperTreeGrid.
vtkSmartPointer< vtkHyperTreeGridNonOrientedGeometryCursor > CentralCursor
JB.
bool IsLeaf(unsigned int icursor)
a simple class to control print indentation
vtkSmartPointer< vtkHyperTreeGridOrientedGeometryCursor > GetOrientedGeometryCursor(unsigned int icursor)
Return the cursor pointing into i-th neighbor.
vtkIdType GetVertexId()
Return the index of the current vertex in the tree.
void GetBounds(double bounds[6])
JB Coordonnees de la boite englobante.
void SetGlobalIndexFromLocal(vtkIdType index)
JB.
A data object structured as a tree.
const unsigned int * ChildCursorToParentCursorTable
void GetPoint(double point[3])
JB Coordonnees du centre de la maille.
unsigned int CurrentFirstNonValidEntryByLevel
JB Hyper tree grid to which the cursor is attached.
vtkIdType GetVertexId(unsigned int icursor)
unsigned int GetNumberOfCursors()
JB.
vtkHyperTreeGridNonOrientedSuperCursor()
Constructor.
void ToRoot()
Move the cursor to the root vertex.
vtkHyperTree * GetTree()
Set the hyper tree to which the cursor is pointing.
vtkHyperTree * GetInformation(unsigned int icursor, unsigned int &level, bool &leaf, vtkIdType &id)
JB.
bool HasTree(unsigned int icursor)
JB Return if a Tree pointing exist.
vtkSmartPointer< vtkHyperTreeGridNonOrientedGeometryCursor > GetNonOrientedGeometryCursor(unsigned int icursor)
Return the cursor pointing into i-th neighbor.
unsigned char GetDimension()
Return the dimension of the tree.
void ToChild(unsigned char ichild)
Move the cursor to child ‘child’ of the current vertex.
void SetGlobalIndexStart(vtkIdType index)
JB.
std::vector< unsigned int > ReferenceEntries
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.