43 #ifndef vtkPointSource_h
44 #define vtkPointSource_h
46 #include "vtkFiltersSourcesModule.h"
49 #define VTK_POINT_SHELL 0
50 #define VTK_POINT_UNIFORM 1
51 #define VTK_POINT_EXPONENTIAL 2
79 vtkSetVector3Macro(Center,
double);
80 vtkGetVectorMacro(Center,
double, 3);
90 vtkGetMacro(Radius,
double);
105 vtkGetMacro(Distribution,
int);
116 vtkSetMacro(Lambda,
double);
117 vtkGetMacro(Lambda,
double);
126 vtkSetMacro(OutputPointsPrecision,
int);
127 vtkGetMacro(OutputPointsPrecision,
int);
vtkRandomSequence * RandomSequence
void SetDistributionToShell()
Specify the point distribution to use.
void SetDistributionToExponential()
Specify the point distribution to use.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Generate a sequence of random numbers.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
#define VTK_POINT_UNIFORM
void SetDistributionToUniform()
Specify the point distribution to use.
#define VTK_POINT_EXPONENTIAL
int OutputPointsPrecision
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.