VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkEdgeListIterator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkEdgeListIterator.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
-------------------------------------------------------------------------*/
43
#ifndef __vtkEdgeListIterator_h
44
#define __vtkEdgeListIterator_h
45
46
#include "
vtkObject.h
"
47
48
class
vtkGraph;
49
class
vtkGraphEdge
;
50
//BTX
51
struct
vtkEdgeType;
52
struct
vtkOutEdgeType;
53
//ETX
54
class
VTK_FILTERING_EXPORT
vtkEdgeListIterator
:
public
vtkObject
55
{
56
public
:
57
static
vtkEdgeListIterator
*
New
();
58
vtkTypeMacro(
vtkEdgeListIterator
,
vtkObject
);
59
void
PrintSelf
(ostream& os,
vtkIndent
indent);
60
61
vtkGetObjectMacro(Graph, vtkGraph);
62
virtual
void
SetGraph(vtkGraph *graph);
63
64
//BTX
66
67
vtkEdgeType Next();
68
//ETX
70
75
vtkGraphEdge
*NextGraphEdge();
76
78
bool
HasNext();
79
80
protected
:
81
vtkEdgeListIterator
();
82
~
vtkEdgeListIterator
();
83
84
void
Increment();
85
86
vtkGraph *
Graph
;
87
const
vtkOutEdgeType *
Current
;
88
const
vtkOutEdgeType *
End
;
89
vtkIdType
Vertex
;
90
bool
Directed
;
91
vtkGraphEdge
*
GraphEdge
;
92
93
private
:
94
vtkEdgeListIterator
(
const
vtkEdgeListIterator
&);
// Not implemented.
95
void
operator=(
const
vtkEdgeListIterator
&);
// Not implemented.
96
};
97
98
#endif
Generated on Sun Sep 15 2013 03:44:21 for VTK by
1.8.4