32 #ifndef vtkRandomGraphSource_h 33 #define vtkRandomGraphSource_h 35 #include "vtkInfovisCoreModule.h" 39 class vtkPVXMLElement;
52 vtkGetMacro(NumberOfVertices,
int);
53 vtkSetClampMacro(NumberOfVertices,
int, 0,
VTK_INT_MAX);
61 vtkGetMacro(NumberOfEdges,
int);
62 vtkSetClampMacro(NumberOfEdges,
int, 0,
VTK_INT_MAX);
70 vtkGetMacro(EdgeProbability,
double);
71 vtkSetClampMacro(EdgeProbability,
double, 0.0, 1.0);
80 vtkGetMacro(IncludeEdgeWeights,
bool);
88 vtkSetStringMacro(EdgeWeightArrayName);
97 vtkGetMacro(Directed,
bool);
107 vtkGetMacro(UseEdgeProbability,
bool);
117 vtkGetMacro(StartWithTree,
bool);
128 vtkGetMacro(AllowSelfLoops,
bool);
138 vtkGetMacro(AllowParallelEdges,
bool);
147 vtkGetMacro(GeneratePedigreeIds,
bool);
155 vtkSetStringMacro(VertexPedigreeIdArrayName);
163 vtkSetStringMacro(EdgePedigreeIdArrayName);
174 vtkGetMacro(Seed,
int);
180 int NumberOfVertices;
182 double EdgeProbability;
184 bool UseEdgeProbability;
186 bool IncludeEdgeWeights;
188 bool AllowParallelEdges;
189 bool GeneratePedigreeIds;
191 char* EdgeWeightArrayName;
192 char* VertexPedigreeIdArrayName;
193 char* EdgePedigreeIdArrayName;
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.