VTK  9.3.20240416
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
25 #ifndef vtkHyperTreeGridNonOrientedMooreSuperCursorLight_h
26 #define vtkHyperTreeGridNonOrientedMooreSuperCursorLight_h
27 
28 #include "vtkCommonDataModelModule.h" // For export macro
29 
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class vtkIdList;
34 class vtkHyperTree;
35 class vtkHyperTreeGrid;
36 
37 class VTKCOMMONDATAMODEL_EXPORT vtkHyperTreeGridNonOrientedMooreSuperCursorLight
39 {
40 public:
41  vtkTypeMacro(
43  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
50  void Initialize(vtkHyperTreeGrid* grid, vtkIdType treeIndex, bool create = false) override;
51 
58  bool GetCornerCursors(unsigned int, unsigned int, vtkIdList*);
59 
60 protected:
65 
70 
71 private:
74  void operator=(const vtkHyperTreeGridNonOrientedMooreSuperCursorLight&) = delete;
75 };
76 
77 VTK_ABI_NAMESPACE_END
78 #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:133
a simple class to control print indentation
Definition: vtkIndent.h:108
int vtkIdType
Definition: vtkType.h:315