29 #ifndef vtkHyperTreeGridNonOrientedSuperCursor_h
30 #define vtkHyperTreeGridNonOrientedSuperCursor_h
32 #include "vtkCommonDataModelModule.h"
40 VTK_ABI_NAMESPACE_BEGIN
81 bool HasTree(
unsigned int icursor);
95 vtkIdType GetVertexId(
unsigned int icursor);
108 vtkIdType GetGlobalNodeIndex(
unsigned int icursor);
114 unsigned int icursor,
unsigned int&
level,
bool& leaf,
vtkIdType&
id);
120 unsigned char GetDimension();
126 unsigned char GetNumberOfChildren();
146 double* GetOrigin(
unsigned int icursor);
157 void SetMask(
bool state);
158 void SetMask(
unsigned int icursor,
bool state);
164 bool IsMasked(
unsigned int icursor);
172 void GetBounds(
unsigned int icursor,
double bounds[6]);
187 bool IsLeaf(
unsigned int icursor);
192 void SubdivideLeaf();
202 unsigned int GetLevel();
203 unsigned int GetLevel(
unsigned int icursor);
212 void ToChild(
unsigned char ichild);
244 unsigned int icursor);
252 unsigned int icursor);
281 std::vector<vtkHyperTreeGridGeometryLevelEntry>
Entries;
293 unsigned int GetIndiceEntry(
unsigned int icursor);
298 unsigned int GetIndicePreviousEntry(
unsigned int icursor);
327 VTK_ABI_NAMESPACE_END
void GetBounds(T a, double bds[6])
vtkHyperTreeGrid * Grid
The pointer to the HyperTreeGrid instance during the crossing.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
unsigned int IndiceCentralCursor
Index central cursor.
std::vector< vtkHyperTreeGridGeometryLevelEntry > Entries
Hold a reference to a vtkObjectBase instance.
Objects for traversal a HyperTreeGrid.
const unsigned int * ChildCursorToParentCursorTable
unsigned int FirstCurrentNeighboorReferenceEntry
The last valid reference describing neighbors.
vtkSmartPointer< vtkHyperTreeGridNonOrientedGeometryCursor > CentralCursor
Describes the central cursor necessary an instance of vtkHyperTreeGridNonOrientedGeometryCursor.
unsigned int NumberOfCursors
std::vector< unsigned int > FirstNonValidEntryByLevel
a simple class to control print indentation
unsigned int GetIndiceCentralCursor() const
Get the indice of central cursor, the current cell.
unsigned int GetNumberOfCursors() const
Get the number of cursors to describe neighboring cells and the current cell.
void GetPoint(int i, int j, int k, double pnt[3])
A data object structured as a tree.
Objects for traversal a HyperTreeGrid.
unsigned int CurrentFirstNonValidEntryByLevel
Hyper tree grid to which the cursor is attached.
const unsigned int * ChildCursorToChildTable
std::vector< unsigned int > ReferenceEntries
Objects for traversal a HyperTreeGrid.