VTK
vtkTreeBFSIterator.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTreeBFSIterator.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 notice for more information.
13
14=========================================================================*/
15
34#ifndef vtkTreeBFSIterator_h
35#define vtkTreeBFSIterator_h
36
37#include "vtkCommonDataModelModule.h" // For export macro
38#include "vtkTreeIterator.h"
39
40class vtkTreeBFSIteratorInternals;
41class vtkIntArray;
42
43class VTKCOMMONDATAMODEL_EXPORT vtkTreeBFSIterator : public vtkTreeIterator
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
49
50protected:
52 ~vtkTreeBFSIterator() VTK_OVERRIDE;
53
54 void Initialize() VTK_OVERRIDE;
55 vtkIdType NextInternal() VTK_OVERRIDE;
56
57 vtkTreeBFSIteratorInternals* Internals;
59
61 {
64 BLACK
65 };
66
67private:
68 vtkTreeBFSIterator(const vtkTreeBFSIterator &) VTK_DELETE_FUNCTION;
69 void operator=(const vtkTreeBFSIterator &) VTK_DELETE_FUNCTION;
70};
71
72#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:46
breadth first search iterator through a vtkTree
static vtkTreeBFSIterator * New()
~vtkTreeBFSIterator() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Abstract class for iterator over a vtkTree.
@ Color
Definition: vtkX3D.h:46
int vtkIdType
Definition: vtkType.h:287