41 #ifndef __vtkBoostBreadthFirstSearchTree_h
42 #define __vtkBoostBreadthFirstSearchTree_h
44 #include "vtkInfovisBoostGraphAlgorithmsModule.h"
45 #include "vtkStdString.h"
46 #include "vtkVariant.h"
55 void PrintSelf(ostream& os, vtkIndent indent);
59 void SetOriginVertex(vtkIdType index);
65 void SetOriginVertex(vtkStdString arrayName, vtkVariant value);
70 vtkSetMacro(CreateGraphVertexIdArray,
bool);
71 vtkGetMacro(CreateGraphVertexIdArray,
bool);
72 vtkBooleanMacro(CreateGraphVertexIdArray,
bool);
77 vtkSetMacro(ReverseEdges,
bool);
78 vtkGetMacro(ReverseEdges,
bool);
79 vtkBooleanMacro(ReverseEdges,
bool);
88 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
92 vtkIdType OriginVertexIndex;
94 vtkVariant OriginValue;
96 bool CreateGraphVertexIdArray;
101 vtkSetStringMacro(ArrayName);
107 vtkIdType GetVertexIndex(
108 vtkAbstractArray *
abstract,vtkVariant value);
Superclass for algorithms that produce only Tree as output.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent)
Contructs a BFS tree from a graph.
static vtkTreeAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)