 |
VTK
9.0.1
|
Go to the documentation of this file.
34 #ifndef vtkAdjacentVertexIterator_h
35 #define vtkAdjacentVertexIterator_h
37 #include "vtkCommonDataModelModule.h"
79 bool HasNext() {
return this->Current != this->End; }
bool HasNext()
Whether this iterator has more edges.
abstract base class for most VTK objects
vtkIdType Next()
Returns the next edge in the graph.
vtkAdjacentVertexIterator()
void Initialize(vtkGraph *g, vtkIdType v)
Initialize the iterator with a graph and vertex.
virtual void SetGraph(vtkGraph *graph)
Protected method for setting the graph used by Initialize().
~vtkAdjacentVertexIterator() override
Representation of a single graph edge.
a simple class to control print indentation
static vtkAdjacentVertexIterator * New()
const vtkOutEdgeType * End
Iterates through adjacent vertices in a graph.
const vtkOutEdgeType * Current
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Base class for graph data types.