VTK  9.3.20240304
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
31 #ifndef vtkHyperTreeGridNonOrientedMooreSuperCursor_h
32 #define vtkHyperTreeGridNonOrientedMooreSuperCursor_h
33 
34 #include "vtkCommonDataModelModule.h" // For export macro
36 
37 VTK_ABI_NAMESPACE_BEGIN
38 class vtkIdList;
39 class vtkHyperTree;
40 class vtkHyperTreeGrid;
41 
42 class VTKCOMMONDATAMODEL_EXPORT vtkHyperTreeGridNonOrientedMooreSuperCursor
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
54  void Initialize(vtkHyperTreeGrid* grid, vtkIdType treeIndex, bool create = false) override;
55 
62  bool GetCornerCursors(unsigned int, unsigned int, vtkIdList*);
63 
64 protected:
69 
74 
75 private:
78  void operator=(const vtkHyperTreeGridNonOrientedMooreSuperCursor&) = delete;
79 };
80 
81 VTK_ABI_NAMESPACE_END
82 #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