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 "vtkCommonDataModelModule.h" // For export macro
37 #include "vtkTreeIterator.h"
38 
39 class vtkTreeBFSIteratorInternals;
40 class vtkIntArray;
41 
43 {
44 public:
47  virtual void PrintSelf(ostream& os, vtkIndent indent);
48 
49 protected:
52 
53  virtual void Initialize();
55 
56  vtkTreeBFSIteratorInternals* Internals;
58 
59  //BTX
60  enum ColorType
61  {
64  BLACK
65  };
66  //ETX
67 
68 private:
69  vtkTreeBFSIterator(const vtkTreeBFSIterator &); // Not implemented.
70  void operator=(const vtkTreeBFSIterator &); // Not implemented.
71 };
72 
73 #endif
vtkTreeBFSIterator::Color
vtkIntArray * Color
Definition: vtkTreeBFSIterator.h:57
vtkTreeIterator
Abstract class for iterator over a vtkTree.
Definition: vtkTreeIterator.h:39
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkCommonDataModelModule.h
vtkTreeBFSIterator::~vtkTreeBFSIterator
~vtkTreeBFSIterator()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTreeBFSIterator::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkTreeBFSIterator::NextInternal
virtual vtkIdType NextInternal()
vtkTreeBFSIterator::GRAY
@ GRAY
Definition: vtkTreeBFSIterator.h:63
vtkTreeBFSIterator::Internals
vtkTreeBFSIteratorInternals * Internals
Definition: vtkTreeBFSIterator.h:56
vtkTreeBFSIterator::New
static vtkTreeBFSIterator * New()
vtkTreeBFSIterator::WHITE
@ WHITE
Definition: vtkTreeBFSIterator.h:62
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTreeBFSIterator
breadth first search iterator through a vtkTree
Definition: vtkTreeBFSIterator.h:43
vtkIntArray
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:53
vtkTreeIterator.h
vtkTreeBFSIterator::Initialize
virtual void Initialize()
vtkTreeBFSIterator::vtkTreeBFSIterator
vtkTreeBFSIterator()
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15
vtkTreeBFSIterator::ColorType
ColorType
Definition: vtkTreeBFSIterator.h:61