VTK  9.3.0
vtkTreeBFSIterator.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
3
22#ifndef vtkTreeBFSIterator_h
23#define vtkTreeBFSIterator_h
24
25#include "vtkCommonDataModelModule.h" // For export macro
26#include "vtkTreeIterator.h"
27
28VTK_ABI_NAMESPACE_BEGIN
29class vtkTreeBFSIteratorInternals;
30class vtkIntArray;
31
32class VTKCOMMONDATAMODEL_EXPORT vtkTreeBFSIterator : public vtkTreeIterator
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
39protected:
42
43 void Initialize() override;
45
46 vtkTreeBFSIteratorInternals* Internals;
48
50 {
53 BLACK
54 };
55
56private:
58 void operator=(const vtkTreeBFSIterator&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
a simple class to control print indentation
Definition vtkIndent.h:29
dynamic, self-adjusting array of int
Definition vtkIntArray.h:35
breadth first search iterator through a vtkTree
static vtkTreeBFSIterator * New()
void Initialize() override
vtkTreeBFSIteratorInternals * Internals
~vtkTreeBFSIterator() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType NextInternal() override
Abstract class for iterator over a vtkTree.
int vtkIdType
Definition vtkType.h:315