40 #ifndef vtkPointSource_h
41 #define vtkPointSource_h
43 #include "vtkFiltersSourcesModule.h"
46 #define VTK_POINT_SHELL 0
47 #define VTK_POINT_UNIFORM 1
48 #define VTK_POINT_EXPONENTIAL 2
50 VTK_ABI_NAMESPACE_BEGIN
77 vtkSetVector3Macro(Center,
double);
78 vtkGetVectorMacro(Center,
double, 3);
88 vtkGetMacro(Radius,
double);
103 vtkGetMacro(Distribution,
int);
114 vtkSetMacro(Lambda,
double);
115 vtkGetMacro(Lambda,
double);
124 vtkSetMacro(OutputPointsPrecision,
int);
125 vtkGetMacro(OutputPointsPrecision,
int);
159 VTK_ABI_NAMESPACE_END
a simple class to control print indentation
create a random cloud of points
vtkRandomSequence * RandomSequence
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
void SetDistributionToShell()
Specify the point distribution to use.
void SetDistributionToExponential()
Specify the point distribution to use.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetDistributionToUniform()
Specify the point distribution to use.
vtkPointSource(vtkIdType numPts=10)
~vtkPointSource() override
static vtkPointSource * New()
Standard methods for instantiation, type information, and printing.
virtual void SetRandomSequence(vtkRandomSequence *randomSequence)
Set/Get a random sequence generator.
int OutputPointsPrecision
Superclass for algorithms that produce only polydata as output.
Generate a sequence of random numbers.
#define VTK_POINT_UNIFORM
#define VTK_POINT_EXPONENTIAL