38 #ifndef vtkRandomGraphSource_h 39 #define vtkRandomGraphSource_h 41 #include "vtkInfovisCoreModule.h" 45 class vtkPVXMLElement;
58 vtkGetMacro(NumberOfVertices,
int);
59 vtkSetClampMacro(NumberOfVertices,
int, 0,
VTK_INT_MAX);
67 vtkGetMacro(NumberOfEdges,
int);
68 vtkSetClampMacro(NumberOfEdges,
int, 0,
VTK_INT_MAX);
76 vtkGetMacro(EdgeProbability,
double);
77 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
86 vtkGetMacro(IncludeEdgeWeights,
bool);
94 vtkSetStringMacro(EdgeWeightArrayName);
103 vtkGetMacro(Directed,
bool);
113 vtkGetMacro(UseEdgeProbability,
bool);
123 vtkGetMacro(StartWithTree,
bool);
134 vtkGetMacro(AllowSelfLoops,
bool);
144 vtkGetMacro(AllowParallelEdges,
bool);
153 vtkGetMacro(GeneratePedigreeIds,
bool);
161 vtkSetStringMacro(VertexPedigreeIdArrayName);
169 vtkSetStringMacro(EdgePedigreeIdArrayName);
180 vtkGetMacro(Seed,
int);
186 int NumberOfVertices;
188 double EdgeProbability;
190 bool UseEdgeProbability;
192 bool IncludeEdgeWeights;
194 bool AllowParallelEdges;
195 bool GeneratePedigreeIds;
197 char* EdgeWeightArrayName;
198 char* VertexPedigreeIdArrayName;
199 char* EdgePedigreeIdArrayName;
204 vtkInformationVector*) VTK_OVERRIDE;
209 int RequestDataObject(vtkInformation*,
210 vtkInformationVector** inputVector,
211 vtkInformationVector* outputVector) VTK_OVERRIDE;
static vtkGraphAlgorithm * New()
a graph with random edges
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
a simple class to control print indentation
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.