30#ifndef vtkBoostRandomSparseArraySource_h
31#define vtkBoostRandomSparseArraySource_h
35#include "vtkInfovisBoostGraphAlgorithmsModule.h"
60 vtkGetMacro(ElementProbabilitySeed, vtkTypeUInt32);
61 vtkSetMacro(ElementProbabilitySeed, vtkTypeUInt32);
69 vtkGetMacro(ElementProbability,
double);
70 vtkSetMacro(ElementProbability,
double);
77 vtkGetMacro(ElementValueSeed, vtkTypeUInt32);
78 vtkSetMacro(ElementValueSeed, vtkTypeUInt32);
85 vtkGetMacro(MinValue,
double);
86 vtkSetMacro(MinValue,
double);
93 vtkGetMacro(MaxValue,
double);
94 vtkSetMacro(MaxValue,
double);
109 vtkTypeUInt32 ElementProbabilitySeed;
110 double ElementProbability;
112 vtkTypeUInt32 ElementValueSeed;
Superclass for algorithms that produce vtkArrayDatas as output.
Stores the number of dimensions and valid coordinate ranges along each dimension for vtkArray.
generates a sparse N-way array containing random values.
static vtkBoostRandomSparseArraySource * New()
vtkBoostRandomSparseArraySource()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetExtents(const vtkArrayExtents &)
Sets the extents (dimensionality and size) of the output array.
~vtkBoostRandomSparseArraySource() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkArrayExtents GetExtents()
Returns the extents (dimensionality and size) of the output array.
a simple class to control print indentation