 |
VTK
9.1.0
|
Go to the documentation of this file.
136 #ifndef vtkPointSource_h
137 #define vtkPointSource_h
139 #include "vtkFiltersSourcesModule.h"
142 #define VTK_POINT_UNIFORM 1
143 #define VTK_POINT_SHELL 0
166 vtkSetVector3Macro(Center,
double);
167 vtkGetVectorMacro(Center,
double, 3);
177 vtkGetMacro(Radius,
double);
186 vtkSetMacro(Distribution,
int);
189 vtkGetMacro(Distribution,
int);
198 vtkSetMacro(OutputPointsPrecision,
int);
199 vtkGetMacro(OutputPointsPrecision,
int);
Generate a sequence of random numbers.
void SetDistributionToUniform()
Specify the distribution to use.
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()
Specify the distribution to use.
vtkRandomSequence * RandomSequence
int OutputPointsPrecision
Superclass for algorithms that produce only polydata as output.