VTK
vtkTreeDFSIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTreeDFSIterator.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 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
40 #ifndef __vtkTreeDFSIterator_h
41 #define __vtkTreeDFSIterator_h
42 
43 #include "vtkTreeIterator.h"
44 
45 class vtkTreeDFSIteratorInternals;
46 class vtkIntArray;
47 
49 {
50 public:
51  static vtkTreeDFSIterator* New();
53  virtual void PrintSelf(ostream& os, vtkIndent indent);
54 
55  //BTX
56  enum ModeType
57  {
59  FINISH
60  };
61  //ETX
62 
64 
69  void SetMode(int mode);
70  vtkGetMacro(Mode, int);
72 
73 protected:
76 
77  virtual void Initialize();
78  virtual vtkIdType NextInternal();
79 
80  int Mode;
82  vtkTreeDFSIteratorInternals* Internals;
84 
85  //BTX
86  enum ColorType
87  {
90  BLACK
91  };
92  //ETX
93 
94 private:
95  vtkTreeDFSIterator(const vtkTreeDFSIterator &); // Not implemented.
96  void operator=(const vtkTreeDFSIterator &); // Not implemented.
97 };
98 
99 
100 #endif
101