VTK  9.3.20240327
vtkHyperTreeGridNonOrientedMooreSuperCursor.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
30 #ifndef vtkHyperTreeGridNonOrientedMooreSuperCursor_h
31 #define vtkHyperTreeGridNonOrientedMooreSuperCursor_h
32 
33 #include "vtkCommonDataModelModule.h" // For export macro
35 
36 VTK_ABI_NAMESPACE_BEGIN
37 class vtkIdList;
38 class vtkHyperTree;
39 class vtkHyperTreeGrid;
40 
41 class VTKCOMMONDATAMODEL_EXPORT vtkHyperTreeGridNonOrientedMooreSuperCursor
43 {
44 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
53  void Initialize(vtkHyperTreeGrid* grid, vtkIdType treeIndex, bool create = false) override;
54 
61  bool GetCornerCursors(unsigned int, unsigned int, vtkIdList*);
62 
63 protected:
68 
73 
74 private:
77  void operator=(const vtkHyperTreeGridNonOrientedMooreSuperCursor&) = delete;
78 };
79 
80 VTK_ABI_NAMESPACE_END
81 #endif
void Initialize(vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false) override
Initialize cursor at root of given tree index in grid.
static vtkHyperTreeGridNonOrientedMooreSuperCursor * New()
~vtkHyperTreeGridNonOrientedMooreSuperCursor() override
Destructor.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHyperTreeGridNonOrientedMooreSuperCursor()=default
Constructor.
bool GetCornerCursors(unsigned int, unsigned int, vtkIdList *)
Return the list of cursors pointing to the leaves touching a given corner of the cell.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
A data object structured as a tree.
Definition: vtkHyperTree.h:169
list of point or cell ids
Definition: vtkIdList.h:132
a simple class to control print indentation
Definition: vtkIndent.h:108
int vtkIdType
Definition: vtkType.h:315