38#ifndef vtkRandomGraphSource_h
39#define vtkRandomGraphSource_h
41#include "vtkInfovisCoreModule.h"
58 vtkGetMacro(NumberOfVertices,
int);
67 vtkGetMacro(NumberOfEdges,
int);
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);
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
a simple class to control print indentation
a graph with random edges
char * EdgeWeightArrayName
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
char * EdgePedigreeIdArrayName
static vtkRandomGraphSource * New()
char * VertexPedigreeIdArrayName
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Creates directed or undirected output based on Directed flag.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.