40 #ifndef __vtkPBGLBreadthFirstSearch_h
41 #define __vtkPBGLBreadthFirstSearch_h
43 #include "vtkInfovisParallelModule.h"
44 #include "vtkStdString.h"
45 #include "vtkVariant.h"
47 #include "vtkGraphAlgorithm.h"
56 void PrintSelf(ostream& os, vtkIndent indent);
60 void SetOriginSelection(vtkSelection *s);
63 this->SetInputConnection(1, algOutput);
69 void SetOriginVertex(vtkIdType index);
75 void SetOriginVertex(vtkStdString arrayName, vtkVariant value);
81 void SetOriginVertexString(
char* arrayName,
char* value);
86 vtkSetStringMacro(OutputArrayName);
94 vtkSetMacro(OriginFromSelection,
bool);
95 vtkGetMacro(OriginFromSelection,
bool);
96 vtkBooleanMacro(OriginFromSelection,
bool);
103 vtkGetMacro(OutputSelection,
bool);
104 vtkSetMacro(OutputSelection,
bool);
105 vtkBooleanMacro(OutputSelection,
bool);
112 vtkSetStringMacro(OutputSelectionType);
119 virtual int RequestData(
121 vtkInformationVector **,
122 vtkInformationVector *);
124 virtual int FillInputPortInformation(
125 int port, vtkInformation* info);
127 virtual int FillOutputPortInformation(
128 int port, vtkInformation* info);
132 vtkIdType OriginVertexIndex;
133 char* InputArrayName;
134 char* OutputArrayName;
135 vtkVariant OriginValue;
136 bool OutputSelection;
137 bool OriginFromSelection;
138 char* OutputSelectionType;
142 vtkSetStringMacro(InputArrayName);
148 vtkIdType GetVertexIndex(
149 vtkAbstractArray *
abstract,vtkVariant value);
void SetOriginSelectionConnection(vtkAlgorithmOutput *algOutput)
Breadth-first search on a distributed vtkGraph.