VTK  9.1.0
vtkHyperTreeGridNonOrientedMooreSuperCursor.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkHyperTreeGridNonOrientedMooreSuperCursor.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright Nonice for more information.
13
14=========================================================================*/
38#ifndef vtkHyperTreeGridNonOrientedMooreSuperCursor_h
39#define vtkHyperTreeGridNonOrientedMooreSuperCursor_h
40
41#include "vtkCommonDataModelModule.h" // For export macro
43
44class vtkIdList;
45class vtkHyperTree;
47
48class VTKCOMMONDATAMODEL_EXPORT vtkHyperTreeGridNonOrientedMooreSuperCursor
50{
51public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
55
60 void Initialize(vtkHyperTreeGrid* grid, vtkIdType treeIndex, bool create = false) override;
61
68 bool GetCornerCursors(unsigned int, unsigned int, vtkIdList*);
69
70protected:
75
80
81private:
84 void operator=(const vtkHyperTreeGridNonOrientedMooreSuperCursor&) = delete;
85};
86
87#endif
static vtkHyperTreeGridNonOrientedMooreSuperCursor * New()
void Initialize(vtkHyperTreeGrid *grid, vtkIdType treeIndex, bool create=false) override
Initialize cursor at root of given tree index in grid.
~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:177
list of point or cell ids
Definition: vtkIdList.h:140
a simple class to control print indentation
Definition: vtkIndent.h:113
int vtkIdType
Definition: vtkType.h:332