31 #ifndef vtkPointSource_h
32 #define vtkPointSource_h
34 #include "vtkFiltersSourcesModule.h"
37 #define VTK_POINT_SHELL 0
38 #define VTK_POINT_UNIFORM 1
39 #define VTK_POINT_EXPONENTIAL 2
41 VTK_ABI_NAMESPACE_BEGIN
68 vtkSetVector3Macro(Center,
double);
69 vtkGetVectorMacro(Center,
double, 3);
79 vtkGetMacro(Radius,
double);
94 vtkGetMacro(Distribution,
int);
105 vtkSetMacro(Lambda,
double);
106 vtkGetMacro(Lambda,
double);
115 vtkSetMacro(OutputPointsPrecision,
int);
116 vtkGetMacro(OutputPointsPrecision,
int);
150 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