Go to the documentation of this file.
33 #ifndef vtkPointSource_h
34 #define vtkPointSource_h
36 #include "vtkFiltersSourcesModule.h"
39 #define VTK_POINT_UNIFORM 1
40 #define VTK_POINT_SHELL 0
63 vtkSetVector3Macro(Center,
double);
64 vtkGetVectorMacro(Center,
double,3);
74 vtkGetMacro(Radius,
double);
83 vtkSetMacro(Distribution,
int);
88 vtkGetMacro(Distribution,
int);
97 vtkSetMacro(OutputPointsPrecision,
int);
98 vtkGetMacro(OutputPointsPrecision,
int);
Generate a sequence of random numbers.
void SetDistributionToUniform()
static vtkPointSource * New()
~vtkPointSource() override
virtual void SetRandomSequence(vtkRandomSequence *randomSequence)
Set/Get a random sequence generator.
create a random cloud of points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
#define VTK_POINT_UNIFORM
vtkPointSource(vtkIdType numPts=10)
void SetDistributionToShell()
vtkRandomSequence * RandomSequence
int OutputPointsPrecision
Superclass for algorithms that produce only polydata as output.