VTK
vtkTreeBFSIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: $RCSfile: vtkTreeBFSIterator.h,v $
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 
33 #ifndef __vtkTreeBFSIterator_h
34 #define __vtkTreeBFSIterator_h
35 
36 #include "vtkTreeIterator.h"
37 
38 class vtkTreeBFSIteratorInternals;
39 class vtkIntArray;
40 
42 {
43 public:
44  static vtkTreeBFSIterator* New();
46  virtual void PrintSelf(ostream& os, vtkIndent indent);
47 
48 protected:
51 
52  virtual void Initialize();
53  virtual vtkIdType NextInternal();
54 
55  vtkTreeBFSIteratorInternals* Internals;
57 
58  //BTX
59  enum ColorType
60  {
63  BLACK
64  };
65  //ETX
66 
67 private:
68  vtkTreeBFSIterator(const vtkTreeBFSIterator &); // Not implemented.
69  void operator=(const vtkTreeBFSIterator &); // Not implemented.
70 };
71 
72 #endif