39 #ifndef __vtkBoostBreadthFirstSearch_h
40 #define __vtkBoostBreadthFirstSearch_h
42 #include "vtkInfovisBoostGraphAlgorithmsModule.h"
43 #include "vtkStdString.h"
44 #include "vtkVariant.h"
46 #include "vtkGraphAlgorithm.h"
55 void PrintSelf(ostream& os, vtkIndent indent);
59 void SetOriginSelection(vtkSelection *s);
62 this->SetInputConnection(1, algOutput);
68 void SetOriginVertex(vtkIdType index);
74 void SetOriginVertex(vtkStdString arrayName, vtkVariant value);
80 void SetOriginVertexString(
char* arrayName,
char* value);
85 vtkSetStringMacro(OutputArrayName);
93 vtkSetMacro(OriginFromSelection,
bool);
94 vtkGetMacro(OriginFromSelection,
bool);
95 vtkBooleanMacro(OriginFromSelection,
bool);
102 vtkGetMacro(OutputSelection,
bool);
103 vtkSetMacro(OutputSelection,
bool);
104 vtkBooleanMacro(OutputSelection,
bool);
111 vtkSetStringMacro(OutputSelectionType);
118 virtual int RequestData(
120 vtkInformationVector **,
121 vtkInformationVector *);
123 virtual int FillInputPortInformation(
124 int port, vtkInformation* info);
126 virtual int FillOutputPortInformation(
127 int port, vtkInformation* info);
131 vtkIdType OriginVertexIndex;
132 char* InputArrayName;
133 char* OutputArrayName;
134 vtkVariant OriginValue;
135 bool OutputSelection;
136 bool OriginFromSelection;
137 char* OutputSelectionType;
141 vtkSetStringMacro(InputArrayName);
147 vtkIdType GetVertexIndex(
148 vtkAbstractArray *
abstract,vtkVariant value);
Boost breadth_first_search on a vtkGraph.
void SetOriginSelectionConnection(vtkAlgorithmOutput *algOutput)