16#ifndef vtkBoostRandomSparseArraySource_h
17#define vtkBoostRandomSparseArraySource_h
21#include "vtkInfovisBoostGraphAlgorithmsModule.h"
23VTK_ABI_NAMESPACE_BEGIN
47 vtkGetMacro(ElementProbabilitySeed, vtkTypeUInt32);
48 vtkSetMacro(ElementProbabilitySeed, vtkTypeUInt32);
56 vtkGetMacro(ElementProbability,
double);
57 vtkSetMacro(ElementProbability,
double);
64 vtkGetMacro(ElementValueSeed, vtkTypeUInt32);
65 vtkSetMacro(ElementValueSeed, vtkTypeUInt32);
72 vtkGetMacro(MinValue,
double);
73 vtkSetMacro(MinValue,
double);
80 vtkGetMacro(MaxValue,
double);
81 vtkSetMacro(MaxValue,
double);
96 vtkTypeUInt32 ElementProbabilitySeed;
97 double ElementProbability;
99 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