VTK  9.3.0
vtkHyperTreeGridNonOrientedMooreSuperCursorLight.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
26 #ifndef vtkHyperTreeGridNonOrientedMooreSuperCursorLight_h
27 #define vtkHyperTreeGridNonOrientedMooreSuperCursorLight_h
28 
29 #include "vtkCommonDataModelModule.h" // For export macro
30 
32 
33 VTK_ABI_NAMESPACE_BEGIN
34 class vtkIdList;
35 class vtkHyperTree;
36 class vtkHyperTreeGrid;
37 
38 class VTKCOMMONDATAMODEL_EXPORT vtkHyperTreeGridNonOrientedMooreSuperCursorLight
40 {
41 public:
42  vtkTypeMacro(
44  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
51  void Initialize(vtkHyperTreeGrid* grid, vtkIdType treeIndex, bool create = false) override;
52 
59  bool GetCornerCursors(unsigned int, unsigned int, vtkIdList*);
60 
61 protected:
66  ;
67 
72 
73 private:
76  void operator=(const vtkHyperTreeGridNonOrientedMooreSuperCursorLight&) = delete;
77 };
78 
79 VTK_ABI_NAMESPACE_END
80 #endif
void Initialize(vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false) override
Initialize cursor at root of given tree index in grid.
~vtkHyperTreeGridNonOrientedMooreSuperCursorLight() override
Destructor.
vtkHyperTreeGridNonOrientedMooreSuperCursorLight()=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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkHyperTreeGridNonOrientedMooreSuperCursorLight * New()
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:32
a simple class to control print indentation
Definition: vtkIndent.h:38
int vtkIdType
Definition: vtkType.h:315