VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
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
48
class
VTK_FILTERING_EXPORT
vtkTreeDFSIterator
:
public
vtkTreeIterator
49
{
50
public
:
51
static
vtkTreeDFSIterator
*
New
();
52
vtkTypeMacro(
vtkTreeDFSIterator
,
vtkTreeIterator
);
53
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
55
//BTX
56
enum
ModeType
57
{
58
DISCOVER
,
59
FINISH
60
};
61
//ETX
62
64
69
void
SetMode(
int
mode
);
70
vtkGetMacro(Mode,
int
);
72
73
protected
:
74
vtkTreeDFSIterator
();
75
~
vtkTreeDFSIterator
();
76
77
virtual
void
Initialize
();
78
virtual
vtkIdType
NextInternal
();
79
80
int
Mode
;
81
vtkIdType
CurRoot
;
82
vtkTreeDFSIteratorInternals*
Internals
;
83
vtkIntArray
*
Color
;
84
85
//BTX
86
enum
ColorType
87
{
88
WHITE
,
89
GRAY
,
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
Generated on Tue Jan 8 2013 05:45:26 for VTK by
1.8.1.2