32 #ifndef __vtkBoostRandomSparseArraySource_h
33 #define __vtkBoostRandomSparseArraySource_h
35 #include "vtkInfovisBoostGraphAlgorithmsModule.h"
37 #include "vtkArrayExtents.h"
44 void PrintSelf(ostream& os, vtkIndent indent);
48 void SetExtents(
const vtkArrayExtents&);
52 vtkArrayExtents GetExtents();
59 vtkGetMacro(ElementProbabilitySeed, vtkTypeUInt32);
60 vtkSetMacro(ElementProbabilitySeed, vtkTypeUInt32);
66 vtkGetMacro(ElementProbability,
double);
67 vtkSetMacro(ElementProbability,
double);
72 vtkGetMacro(ElementValueSeed, vtkTypeUInt32);
73 vtkSetMacro(ElementValueSeed, vtkTypeUInt32);
78 vtkGetMacro(MinValue,
double);
79 vtkSetMacro(MinValue,
double);
84 vtkGetMacro(MaxValue,
double);
85 vtkSetMacro(MaxValue,
double);
95 vtkInformationVector**,
96 vtkInformationVector*);
102 vtkArrayExtents Extents;
104 vtkTypeUInt32 ElementProbabilitySeed;
105 double ElementProbability;
107 vtkTypeUInt32 ElementValueSeed;
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
generates a sparse N-way array containing random values.
Superclass for algorithms that produce vtkArrayDatas as output.
static vtkArrayDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)