Go to the documentation of this file.
33 #ifndef vtkBoostRandomSparseArraySource_h
34 #define vtkBoostRandomSparseArraySource_h
36 #include "vtkInfovisBoostGraphAlgorithmsModule.h"
62 vtkGetMacro(ElementProbabilitySeed, vtkTypeUInt32);
63 vtkSetMacro(ElementProbabilitySeed, vtkTypeUInt32);
71 vtkGetMacro(ElementProbability,
double);
72 vtkSetMacro(ElementProbability,
double);
79 vtkGetMacro(ElementValueSeed, vtkTypeUInt32);
80 vtkSetMacro(ElementValueSeed, vtkTypeUInt32);
87 vtkGetMacro(MinValue,
double);
88 vtkSetMacro(MinValue,
double);
95 vtkGetMacro(MaxValue,
double);
96 vtkSetMacro(MaxValue,
double);
114 vtkTypeUInt32 ElementProbabilitySeed;
115 double ElementProbability;
117 vtkTypeUInt32 ElementValueSeed;
static vtkBoostRandomSparseArraySource * New()
vtkArrayExtents GetExtents()
Returns the extents (dimensionality and size) of the output array.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
generates a sparse N-way array containing random values.
~vtkBoostRandomSparseArraySource()
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce vtkArrayDatas as output.
vtkBoostRandomSparseArraySource()
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray.
void SetExtents(const vtkArrayExtents &)
Sets the extents (dimensionality and size) of the output array.